-
-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for Python 3.13 and drop support for Python 3.10 (#784)
* Update to python 3.13 + updated pyproject.toml format * Update foramtting (safe fixes) * Update foramtting (less safe fixes) * Updated changelog
- Loading branch information
Showing
20 changed files
with
86 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,49 @@ | ||
[tool.poetry] | ||
[project] | ||
name = "vpype" | ||
version = "1.15.0a0" | ||
description = "The Swiss Army knife of vector graphics for pen plotters" | ||
authors = ["Antoine Beyeler <[email protected]>"] | ||
authors = [ | ||
{ name = "Antoine Beyeler", email = "[email protected]>" } | ||
] | ||
license = "MIT" | ||
readme = "README.md" | ||
homepage = "https://github.com/abey79/vpype" | ||
documentation = "https://vpype.readthedocs.io/en/latest/" | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Environment :: Console", | ||
"Topic :: Artistic Software", | ||
"Topic :: Multimedia :: Graphics", | ||
requires-python = ">=3.11, <3.14" | ||
dynamic = ["classifiers"] | ||
|
||
dependencies = [ | ||
"asteval>=0.9.26", | ||
"cachetools>=4.2.2", | ||
"click>=8.0.1,<8.2.0", | ||
"multiprocess>=0.70.11", | ||
"numpy>=1.25,<3", | ||
"pnoise>=0.2.0", | ||
"pyphen>=0.14,<0.16", | ||
"scipy>=1.6", | ||
"Shapely>=1.8.2", | ||
"svgelements>=1.6.10", | ||
"svgwrite~=1.4", | ||
"tomli>=2.0.0", | ||
] | ||
|
||
[project.optional-dependencies] | ||
all = [ | ||
"matplotlib>=3.3.2", | ||
"glcontext>=2.3.2", # 2.3.2 needed to fix #200 | ||
"moderngl>=5.6.2,!=5.7.1,!=5.7.2", # see moderngl/moderngl#525 | ||
"Pillow>=9.0.1", | ||
"PySide6>=6.4.0.1,!=6.6.2", | ||
] | ||
|
||
|
||
[project.urls] | ||
documentation = "https://vpype.readthedocs.io/en/latest/" | ||
repository = "https://github.com/abey79/vpype" | ||
|
||
[project.scripts] | ||
vpype = "vpype_cli.cli:cli" | ||
|
||
|
||
[tool.poetry] | ||
packages = [ | ||
{ include = "vpype" }, | ||
{ include = "vpype_cli" }, | ||
|
@@ -29,31 +60,14 @@ include = [ | |
"vpype_viewer/qtviewer/resources/*", | ||
] | ||
|
||
[tool.poetry.scripts] | ||
vpype = "vpype_cli.cli:cli" | ||
# Poetry autofills license and Python version related items. | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Environment :: Console", | ||
"Topic :: Artistic Software", | ||
"Topic :: Multimedia :: Graphics", | ||
] | ||
|
||
[tool.poetry.dependencies] | ||
python = ">=3.10, <3.13" | ||
|
||
asteval = ">=0.9.26" | ||
cachetools = ">=4.2.2" | ||
click = ">=8.0.1,<8.2.0" | ||
multiprocess = ">=0.70.11" | ||
numpy = ">=1.25,<3" | ||
pnoise = ">=0.2.0" | ||
pyphen = ">=0.14,<0.16" | ||
scipy = ">=1.6" | ||
Shapely = ">=1.8.2" | ||
svgelements = ">=1.6.10" | ||
svgwrite = "~1.4" | ||
tomli = ">=2.0.0" | ||
|
||
# additional dependencies for the viewer and the `show` command | ||
matplotlib = { version = ">=3.3.2", optional = true } | ||
glcontext = { version = ">=2.3.2", optional = true } # 2.3.2 needed to fix #200 | ||
moderngl = { version = ">=5.6.2,!=5.7.1,!=5.7.2", optional = true } # see moderngl/moderngl#525 | ||
Pillow = { version = ">=9.0.1", optional = true } | ||
PySide6 = { version = ">=6.4.0.1,!=6.6.2", optional = true } | ||
|
||
[tool.poetry.group.dev.dependencies] | ||
coverage = {extras = ["toml"], version = ">=5.4"} | ||
|
@@ -83,9 +97,6 @@ sphinx-click = ">=4.3.0" | |
sphinx-copybutton = ">=0.5.0" | ||
|
||
|
||
[tool.poetry.extras] | ||
all = ["matplotlib", "glcontext", "moderngl", "Pillow", "PySide6"] | ||
|
||
[build-system] | ||
requires = ["poetry-core>=1.0.8"] | ||
build-backend = "poetry.core.masonry.api" | ||
|
@@ -129,13 +140,10 @@ exclude_lines = [ | |
'@(abc\.)?abstractmethod', | ||
] | ||
|
||
[tool.black] | ||
line-length = 95 | ||
target-version = ["py39", "py310", "py311"] | ||
|
||
[tool.ruff] | ||
line-length = 95 | ||
target-version = "py39" | ||
target-version = "py311" | ||
exclude = ["examples", "scripts"] | ||
|
||
[tool.ruff.lint] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.