Skip to content

Commit abf2a25

Browse files
committed
Merge branch 'release/4.43.0' into master
2 parents 13a7ef6 + 3777a94 commit abf2a25

17 files changed

+204514
-144766
lines changed

.github/workflows/publishing.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ jobs:
1515
- uses: actions/checkout@v3
1616
- uses: actions/setup-python@v4
1717
with:
18-
python-version: 3.12
18+
python-version: 3.13
1919
- run: pip install tox
2020
- run: tox
2121
env:
22-
TOXENV: 3.12
22+
TOXENV: 3.13
2323

2424
linters:
2525
name: Run linters
@@ -31,7 +31,7 @@ jobs:
3131
- uses: actions/checkout@v3
3232
- uses: actions/setup-python@v4
3333
with:
34-
python-version: 3.12
34+
python-version: 3.13
3535
- run: pip install tox
3636
- run: tox
3737
env:
@@ -45,7 +45,7 @@ jobs:
4545
- uses: actions/checkout@v3
4646
- uses: actions/setup-python@v4
4747
with:
48-
python-version: 3.12
48+
python-version: 3.13
4949
- run: |
5050
python -m pip install --upgrade pip setuptools
5151
python setup.py sdist
@@ -61,7 +61,7 @@ jobs:
6161
matrix:
6262
os: [ubuntu-22.04, windows-2019, macos-14]
6363
env:
64-
CIBW_SKIP: cp27-* cp313-*
64+
CIBW_SKIP: cp27-*
6565
steps:
6666
- uses: actions/checkout@v3
6767
- name: Build wheels
@@ -75,7 +75,7 @@ jobs:
7575
needs: [tests, linters]
7676
runs-on: ubuntu-22.04
7777
env:
78-
CIBW_SKIP: cp27-* cp313-*
78+
CIBW_SKIP: cp27-*
7979
steps:
8080
- uses: actions/checkout@v3
8181
- name: Set up QEMU
@@ -114,7 +114,7 @@ jobs:
114114
- uses: actions/checkout@v3
115115
- uses: actions/setup-python@v4
116116
with:
117-
python-version: 3.12
117+
python-version: 3.13
118118
- run: pip install awscli
119119
- run: pip install -r requirements-doc.txt
120120
- run: pip install -e .

.github/workflows/tests-and-linters.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
runs-on: ubuntu-latest
2626
strategy:
2727
matrix:
28-
python-version: [3.8, 3.9, "3.10", 3.11, 3.12]
28+
python-version: [3.8, 3.9, "3.10", 3.11, 3.12, 3.13]
2929
steps:
3030
- uses: actions/checkout@v3
3131
- uses: actions/setup-python@v4
@@ -40,18 +40,18 @@ jobs:
4040
name: Run tests with coverage
4141
runs-on: ubuntu-latest
4242
env:
43-
# Cython's version <3 issue with tracing: "error: no member named 'use_tracing' in 'struct _PyCFrame'"
44-
# DEPENDENCY_INJECTOR_DEBUG_MODE: 1
43+
DEPENDENCY_INJECTOR_DEBUG_MODE: 1
44+
PIP_VERBOSE: 1
4545
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
4646
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4747
steps:
4848
- uses: actions/checkout@v3
4949
- uses: actions/setup-python@v4
5050
with:
5151
python-version: 3.12
52-
- run: pip install tox cython==0.29.37
52+
- run: pip install tox 'cython>=3,<4'
5353
- run: make cythonize
54-
- run: tox
54+
- run: tox -vv
5555
env:
5656
TOXENV: coveralls
5757

@@ -65,7 +65,7 @@ jobs:
6565
- uses: actions/checkout@v3
6666
- uses: actions/setup-python@v4
6767
with:
68-
python-version: 3.12
68+
python-version: 3.13
6969
- run: pip install tox
7070
- run: tox
7171
env:

CONTRIBUTORS.rst

+1
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,4 @@ Dependency Injector Contributors
2121
+ Thiago Hiromi (thiromi)
2222
+ Felipe Rubio (krouw)
2323
+ Anton Petrov (anton-petrov)
24+
+ ZipFile (ZipFile)

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ VERSION := $(shell python setup.py --version)
22

33
CYTHON_SRC := $(shell find src/dependency_injector -name '*.pyx')
44

5-
CYTHON_DIRECTIVES = -Xlanguage_level=2
5+
CYTHON_DIRECTIVES = -Xlanguage_level=3
66

77
ifdef DEPENDENCY_INJECTOR_DEBUG_MODE
88
CYTHON_DIRECTIVES += -Xprofile=True

docs/main/changelog.rst

+6
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ that were made in every particular version.
77
From version 0.7.6 *Dependency Injector* framework strictly
88
follows `Semantic versioning`_
99

10+
4.43.0
11+
--------
12+
- Add support for Python 3.13.
13+
- Migrate to Cython 3 (version 3.0.11). Many thanks to `ZipFile <https://github.com/ZipFile>`_ for
14+
this contribution `#813 <https://github.com/ets-labs/python-dependency-injector/pull/813>`_.
15+
1016
4.42.0
1117
--------
1218
- Promote release ``4.42.0b1`` to a production release.

requirements-dev.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
cython==0.29.37
1+
cython==3.0.11
2+
setuptools
23
pytest
34
pytest-asyncio
45
tox

requirements-ext.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
flask==2.1.3
22
werkzeug==2.2.2
3-
aiohttp==3.9.0b1
3+
aiohttp

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ def _open(filename):
111111
"Programming Language :: Python :: 3.10",
112112
"Programming Language :: Python :: 3.11",
113113
"Programming Language :: Python :: 3.12",
114+
"Programming Language :: Python :: 3.13",
114115
"Programming Language :: Python :: Implementation :: CPython",
115116
"Programming Language :: Python :: Implementation :: PyPy",
116117
"Framework :: AsyncIO",

src/dependency_injector/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Top-level package."""
22

3-
__version__ = "4.42.0"
3+
__version__ = "4.43.0"
44
"""Version number.
55
66
:type: str

0 commit comments

Comments
 (0)