Compare commits

...

6 commits

Author SHA1 Message Date
jdegenstein
72e89b7b1d
Merge pull request #1097 from jdegenstein/deprecate_arcs
Some checks failed
benchmarks / benchmarks (macos-14, 3.12) (push) Has been cancelled
benchmarks / benchmarks (macos-15-intel, 3.12) (push) Has been cancelled
benchmarks / benchmarks (ubuntu-latest, 3.12) (push) Has been cancelled
benchmarks / benchmarks (windows-latest, 3.12) (push) Has been cancelled
Upload coverage reports to Codecov / run (push) Has been cancelled
pylint / lint (3.10) (push) Has been cancelled
Run type checker / typecheck (3.10) (push) Has been cancelled
Run type checker / typecheck (3.13) (push) Has been cancelled
Wheel building and publishing / Build wheel on ubuntu-latest (push) Has been cancelled
tests / tests (macos-14, 3.10) (push) Has been cancelled
tests / tests (macos-14, 3.13) (push) Has been cancelled
tests / tests (macos-15-intel, 3.10) (push) Has been cancelled
tests / tests (macos-15-intel, 3.13) (push) Has been cancelled
tests / tests (ubuntu-latest, 3.10) (push) Has been cancelled
tests / tests (ubuntu-latest, 3.13) (push) Has been cancelled
tests / tests (windows-latest, 3.10) (push) Has been cancelled
tests / tests (windows-latest, 3.13) (push) Has been cancelled
Wheel building and publishing / upload_pypi (push) Has been cancelled
Deprecate some Arcs (e.g. ArcArcTangentArc)
2025-10-21 12:40:50 -05:00
jdegenstein
b509ef5761
Merge branch 'dev' into deprecate_arcs 2025-10-21 12:31:27 -05:00
jdegenstein
86624f576d
Merge pull request #1111 from jdegenstein/rtd_tab_title
.readthedocs.yaml -> fix tab title version on dev version builds
2025-10-21 10:12:43 -05:00
jdegenstein
96ce15a1e1
.readthedocs.yaml -> fix tab title version on dev version builds 2025-10-21 09:49:24 -05:00
jdegenstein
8490b516bb
Merge branch 'gumyr:dev' into deprecate_arcs 2025-09-30 11:02:06 -05:00
jdegenstein
25de6af76b
objects_curve.py -> add deprecations to unreleased arc type objects 2025-09-23 13:20:58 -05:00
2 changed files with 28 additions and 5 deletions

View file

@ -10,6 +10,10 @@ build:
python: "3.10"
apt_packages:
- graphviz
jobs:
post_checkout:
# necessary to ensure that the development builds get a correct version tag
- git fetch --unshallow || true
# Build from the docs/ directory with Sphinx
sphinx:
@ -21,8 +25,3 @@ python:
path: .
extra_requirements:
- docs
# Explicitly set the version of Python and its requirements
# python:
# install:
# - requirements: docs/requirements.txt

View file

@ -29,6 +29,7 @@ license:
from __future__ import annotations
import copy as copy_module
import warnings
import numpy as np
import sympy # type: ignore
from collections.abc import Iterable
@ -1362,6 +1363,12 @@ class PointArcTangentLine(BaseEdgeObject):
mode (Mode, optional): combination mode. Defaults to Mode.ADD
"""
warnings.warn(
"The 'PointArcTangentLine' object is deprecated and will be removed in a future version.",
DeprecationWarning,
stacklevel=2,
)
_applies_to = [BuildLine._tag]
def __init__(
@ -1441,6 +1448,12 @@ class PointArcTangentArc(BaseEdgeObject):
RuntimeError: No tangent arc found
"""
warnings.warn(
"The 'PointArcTangentArc' object is deprecated and will be removed in a future version.",
DeprecationWarning,
stacklevel=2,
)
_applies_to = [BuildLine._tag]
def __init__(
@ -1584,6 +1597,11 @@ class ArcArcTangentLine(BaseEdgeObject):
Defaults to Keep.INSIDE
mode (Mode, optional): combination mode. Defaults to Mode.ADD
"""
warnings.warn(
"The 'ArcArcTangentLine' object is deprecated and will be removed in a future version.",
DeprecationWarning,
stacklevel=2,
)
_applies_to = [BuildLine._tag]
@ -1685,6 +1703,12 @@ class ArcArcTangentArc(BaseEdgeObject):
mode (Mode, optional): combination mode. Defaults to Mode.ADD
"""
warnings.warn(
"The 'ArcArcTangentArc' object is deprecated and will be removed in a future version.",
DeprecationWarning,
stacklevel=2,
)
_applies_to = [BuildLine._tag]
def __init__(