Skip to content

Commit 11ca091

Browse files
fix: update security dependencies for Python 3.10+ (#112)
* chore(deps): bump virtualenv from 20.36.1 to 21.7.13 Bumps [virtualenv](https://github.com/pypa/virtualenv) from 20.36.1 to 21.7.13. - [Release notes](https://github.com/pypa/virtualenv/releases) - [Changelog](https://github.com/pypa/virtualenv/blob/main/docs/changelog.rst) - [Commits](pypa/virtualenv@20.36.1...21.7.13) --- updated-dependencies: - dependency-name: virtualenv dependency-version: 21.7.13 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> * fix: update SDK security dependencies Require Python 3.10 so the universal lock uses patched releases for every supported interpreter. Update the setup action to install the patched Hatch and virtualenv toolchain, and document the support boundary. Assisted-by: Codex:GPT-6 * fix: cap artifact metadata at 2.4 Keep built distributions readable by the locked Twine metadata parser. Assisted-by: Codex:GPT-6 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: jdalton <john.david.dalton@gmail.com>
1 parent 929a1b5 commit 11ca091

4 files changed

Lines changed: 155 additions & 575 deletions

File tree

‎.github/actions/setup-hatch/action.yml‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,4 @@ runs:
99
- shell: bash
1010
run: |
1111
python -m pip install --upgrade pip
12-
pip install "virtualenv<20.36"
13-
pip install hatchling==1.27.0 hatch==1.14.0
12+
python -m pip install "hatch==1.18.1" "hatchling==1.32.0" "virtualenv==21.7.13"

‎README.rst‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
socketdev
33
#########
44

5+
Supported Python versions
6+
-------------------------
7+
8+
This SDK supports Python 3.10 and newer.
9+
510
Purpose
611
-------
712

‎pyproject.toml‎

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
[build-system]
2-
# 1.27.0 is the newest hatchling that supports Python 3.9, which this
3-
# package's requires-python still includes.
42
requires = ["hatchling==1.32.0"]
53
build-backend = "hatchling.build"
64

75
[project]
86
name = "socketdev"
97
dynamic = ["version"]
10-
requires-python = ">= 3.9"
8+
requires-python = ">= 3.10"
119
dependencies = [
12-
'requests>=2.32.5,<3',
10+
'requests>=2.33.0,<3',
1311
'typing-extensions>=4.12.2,<5'
1412
]
1513
readme = "README.rst"
@@ -37,17 +35,21 @@ path = "socketdev/version.py"
3735

3836
[tool.hatch.build.targets.wheel]
3937
packages = ["socketdev"]
38+
core-metadata-version = "2.4"
39+
40+
[tool.hatch.build.targets.sdist]
41+
core-metadata-version = "2.4"
4042

4143
# modern, faster linter and language server. install with `pip install -e ".[dev]"`
4244
[project.optional-dependencies]
4345
dev = [
4446
"ruff>=0.3.0",
45-
"hatch>=1.14.0",
47+
"hatch>=1.18.1",
4648
"hatchling>=1.27.0",
4749
"twine>=4.0.0"
4850
]
4951
test = [
50-
"pytest>=7.0.0",
52+
"pytest>=9.0.3",
5153
"pytest-cov>=4.0.0"
5254
]
5355

0 commit comments

Comments
 (0)