-
Notifications
You must be signed in to change notification settings - Fork 35
Bump dependencies and add Python 3.14 support #418
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| Bumped Python dependencies (click, coverage, netconan, pylint, ruff, cffi, pymdown-extensions) and CI action pins (actions/checkout, docker/setup-buildx-action, pypa/gh-action-pypi-publish). | ||
| Added Python 3.14 to the supported version range and split `numpy` by Python version (2.2.x on Python 3.10, >=2.3 on 3.11+) so the same lock resolves cleanly across the full supported range. | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Bumped `lxml` (>=6.1.0), `urllib3` (>=2.7.0), `requests` (>=2.33.0), and `pygments` (>=2.20.0) to address open Dependabot advisories (XXE in iterparse, sensitive-header forwarding on proxied redirects, decompression-bomb safeguard bypass, insecure temp file reuse, ReDoS). |
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,19 +17,20 @@ classifiers = [ | |
| "Programming Language :: Python :: 3.11", | ||
| "Programming Language :: Python :: 3.12", | ||
| "Programming Language :: Python :: 3.13", | ||
| "Programming Language :: Python :: 3.14", | ||
| ] | ||
| include = [ | ||
| "LICENSE", | ||
| "README.md", | ||
| ] | ||
|
|
||
| [tool.poetry.dependencies] | ||
| python = ">=3.10,<3.14" | ||
| python = ">=3.10,<3.15" | ||
| click = ">=7.1, <9.0" | ||
| pydantic = ">=1.10.4,<3" | ||
| icalendar = "^5.0.0" | ||
| bs4 = "^0.0.2" | ||
| lxml = ">=4.6.2,<7" | ||
| lxml = ">=6.1.0,<7" | ||
| geopy = "^2.1.0" | ||
| timezonefinder = ">=6.0.1,<9.0.0" | ||
| backoff = "^2.2.1" | ||
|
|
@@ -38,6 +39,13 @@ openai = { version = ">=1.2.4", optional = true } | |
| openpyxl = { version = "^3.1.5", optional = true } | ||
| pandas = { version = "^2.2.3", optional = true } | ||
| python-dateutil = "^2.9.0" | ||
| requests = ">=2.33.0,<3" | ||
| urllib3 = ">=2.7.0,<3" | ||
| # Floor `numpy` per Python version so 3.11+ (including 3.14) pulls modern wheels while 3.10 stays on the 2.2 line. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. numpy wasn't a direct dependency before - why did it need to be added now?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wheel building. |
||
| numpy = [ | ||
| { version = ">=1.22.4,<2.3", python = "<3.11" }, | ||
| { version = ">=2.3,<3", python = ">=3.11" }, | ||
| ] | ||
|
|
||
| [tool.poetry.extras] | ||
| xlsx = [ | ||
|
|
@@ -59,12 +67,13 @@ ruff = "*" | |
| types-python-dateutil = "^2.8.3" | ||
| types-pytz = "^2025.2.0" | ||
| types-toml = "^0.10.1" | ||
| netconan = "^0.12.3" | ||
| netconan = "^0.15.0" | ||
| toml = "0.10.2" | ||
| towncrier = "^25.8.0" | ||
| types-chardet = "^5.0.4" | ||
| pandas-stubs = "^2.3.2" | ||
| coverage = "^7.6.12" | ||
| pygments = ">=2.20.0,<3" | ||
|
|
||
| [tool.poetry.group.docs.dependencies] | ||
| # Rendering docs to HTML | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see the described changes to CI actions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also it would be nice to distinguish between package install/deployment dependencies and development-only dependencies here. In Nautobot core we separate the latter into a
.housekeepingchange entry since they don't directly impact end users, but YMMV.