Skip to content
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

Support py3.12 #36

Merged
merged 2 commits into from
Aug 1, 2024
Merged
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/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11.3"]
python-version: ["3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- uses: eifinger/setup-rye@v4
Expand All @@ -25,7 +25,6 @@ jobs:
enable-cache: true
cache-prefix: ${{ matrix.python-version }}
- name: Pin python-version ${{ matrix.python-version }}
if: steps.setup-rye.outputs.cache-hit != 'true'
run: rye pin ${{ matrix.python-version }}
- name: Install dependencies
if: steps.setup-rye.outputs.cache-hit != 'true'
Expand Down
25 changes: 13 additions & 12 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ authors = [
license = "MIT"
repository = "http://github.com/eifinger/pywaze"
dependencies = [
"httpx>=0.24.1",
"httpx>=0.27.0",
]
readme = "README.md"
requires-python = ">= 3.8"
requires-python = ">= 3.11"
classifiers = [
"License :: OSI Approved :: MIT License",
]
Expand All @@ -22,17 +22,18 @@ build-backend = "hatchling.build"

[tool.rye]
managed = true
universal = true
dev-dependencies = [
"pytest>=7.4.4",
"codespell>=2.2.6",
"mypy>=1.8.0",
"pre-commit>=3.5.0",
"yamllint>=1.33.0",
"ruff>=0.1.13",
"pre-commit-hooks>=4.5.0",
"respx>=0.20.2",
"pytest-cov>=4.1.0",
"pytest-asyncio>=0.23.3",
"pytest>=8.3.2",
"codespell>=2.3.0",
"mypy>=1.11.1",
"pre-commit>=3.8.0",
"yamllint>=1.35.1",
"ruff>=0.5.5",
"pre-commit-hooks>=4.6.0",
"respx>=0.21.1",
"pytest-cov>=5.0.0",
"pytest-asyncio>=0.23.8",
]

[tool.ruff]
Expand Down
68 changes: 52 additions & 16 deletions requirements-dev.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,41 +5,77 @@
# pre: false
# features: []
# all-features: false
# with-sources: false
# generate-hashes: false
# universal: true

-e file:.
anyio==3.7.1
# via httpx
certifi==2023.7.22
# via httpcore
# via httpx
cfgv==3.3.1
codespell==2.2.6
# via pre-commit
codespell==2.3.0
colorama==0.4.6 ; sys_platform == 'win32'
# via pytest
coverage==7.2.7
# via pytest-cov
distlib==0.3.7
# via virtualenv
filelock==3.12.2
# via virtualenv
h11==0.14.0
httpcore==0.17.3
httpx==0.24.1
# via httpcore
httpcore==1.0.5
# via httpx
httpx==0.27.0
# via pywaze
# via respx
identify==2.5.26
# via pre-commit
idna==3.4
# via anyio
# via httpx
iniconfig==2.0.0
mypy==1.8.0
# via pytest
mypy==1.11.1
mypy-extensions==1.0.0
# via mypy
nodeenv==1.8.0
# via pre-commit
packaging==23.1
# via pytest
pathspec==0.11.2
# via yamllint
platformdirs==3.10.0
pluggy==1.2.0
pre-commit==3.6.0
pre-commit-hooks==4.5.0
pytest==7.4.4
pytest-asyncio==0.23.3
pytest-cov==4.1.0
# via virtualenv
pluggy==1.5.0
# via pytest
pre-commit==3.8.0
pre-commit-hooks==4.6.0
pytest==8.3.2
# via pytest-asyncio
# via pytest-cov
pytest-asyncio==0.23.8
pytest-cov==5.0.0
pyyaml==6.0.1
respx==0.20.2
# via pre-commit
# via yamllint
respx==0.21.1
ruamel-yaml==0.17.32
ruamel-yaml-clib==0.2.7
ruff==0.1.13
# via pre-commit-hooks
ruamel-yaml-clib==0.2.7 ; python_version < '3.12' and platform_python_implementation == 'CPython'
# via ruamel-yaml
ruff==0.5.5
setuptools==68.0.0
# via nodeenv
sniffio==1.3.0
# via anyio
# via httpx
typing-extensions==4.7.1
# via mypy
virtualenv==20.24.2
yamllint==1.33.0
# The following packages are considered to be unsafe in a requirements file:
setuptools==68.0.0
# via pre-commit
yamllint==1.35.1
17 changes: 15 additions & 2 deletions requirements.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,25 @@
# pre: false
# features: []
# all-features: false
# with-sources: false
# generate-hashes: false
# universal: true

-e file:.
anyio==3.7.1
# via httpx
certifi==2023.7.22
# via httpcore
# via httpx
h11==0.14.0
httpcore==0.17.3
httpx==0.24.1
# via httpcore
httpcore==1.0.5
# via httpx
httpx==0.27.0
# via pywaze
idna==3.4
# via anyio
# via httpx
sniffio==1.3.0
# via anyio
# via httpx