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

add py312 support #785

Closed
wants to merge 1 commit into from
Closed
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
18 changes: 9 additions & 9 deletions .github/workflows/tests-and-linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ on: [push, pull_request, workflow_dispatch]

jobs:

tests-on-legacy-versions:
name: Run tests on legacy versions
tests-on-pypy:
name: Run tests on pypy versions
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [2.7, 3.5, 3.6, 3.7, pypy2.7, pypy3.9]
python-version: [pypy3.9, pypy3.10]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
Expand All @@ -18,14 +18,14 @@ jobs:
- run: pip install tox
- run: tox
env:
TOXENV: ${{ matrix.python-version }}
TOXENV: pypy

test-on-different-versions:
name: Run tests
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9, "3.10", 3.11]
python-version: [3.8, 3.9, "3.10", 3.11, 3.12]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
Expand All @@ -40,15 +40,15 @@ jobs:
name: Run tests with coverage
runs-on: ubuntu-latest
env:
DEPENDENCY_INJECTOR_DEBUG_MODE: 1
# DEPENDENCY_INJECTOR_DEBUG_MODE: 1
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.11
- run: pip install tox cython
python-version: 3.12
- run: pip install tox "cython<3"
- run: make cythonize
- run: tox
env:
Expand All @@ -64,7 +64,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.11
python-version: 3.12
- run: pip install tox
- run: tox
env:
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ target/

# Virtualenv
venv*/
.venv
.python-version

# SQLite
*.db
Expand Down
3 changes: 2 additions & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cython==0.29.32
cython<3
pytest
pytest-asyncio
tox
Expand All @@ -12,6 +12,7 @@ pyyaml
httpx
fastapi
pydantic
pydantic-settings
numpy
scipy
boto3
Expand Down
5 changes: 3 additions & 2 deletions requirements-ext.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
flask
aiohttp
flask<2.2
werkzeug<=2.2.2
aiohttp>=3.9.3
427 changes: 213 additions & 214 deletions src/dependency_injector/_cwiring.c

Large diffs are not rendered by default.

Loading