Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/actions/setup-hatch/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@ runs:
- shell: bash
run: |
python -m pip install --upgrade pip
pip install "virtualenv<20.36"
pip install hatchling==1.27.0 hatch==1.14.0
python -m pip install "hatch==1.18.1" "hatchling==1.32.0" "virtualenv==21.7.13"
5 changes: 5 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
socketdev
#########

Supported Python versions
-------------------------

This SDK supports Python 3.10 and newer.

Purpose
-------

Expand Down
14 changes: 8 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
[build-system]
# 1.27.0 is the newest hatchling that supports Python 3.9, which this
# package's requires-python still includes.
requires = ["hatchling==1.32.0"]
build-backend = "hatchling.build"

[project]
name = "socketdev"
dynamic = ["version"]
requires-python = ">= 3.9"
requires-python = ">= 3.10"
dependencies = [
'requests>=2.32.5,<3',
'requests>=2.33.0,<3',
'typing-extensions>=4.12.2,<5'
]
readme = "README.rst"
Expand Down Expand Up @@ -37,17 +35,21 @@ path = "socketdev/version.py"

[tool.hatch.build.targets.wheel]
packages = ["socketdev"]
core-metadata-version = "2.4"

[tool.hatch.build.targets.sdist]
core-metadata-version = "2.4"

# modern, faster linter and language server. install with `pip install -e ".[dev]"`
[project.optional-dependencies]
dev = [
"ruff>=0.3.0",
"hatch>=1.14.0",
"hatch>=1.18.1",
"hatchling>=1.27.0",
"twine>=4.0.0"
]
test = [
"pytest>=7.0.0",
"pytest>=9.0.3",
"pytest-cov>=4.0.0"
]

Expand Down
Loading
Loading