Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f3b3b1b

Browse files
committedFeb 25, 2025·
Merge branch 'release/4.46.0' into master
2 parents be7abb3 + 9b66d4b commit f3b3b1b

File tree

84 files changed

+1462
-724
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+1462
-724
lines changed
 

‎.github/workflows/publishing.yml

Lines changed: 14 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010

1111
tests:
1212
name: Run tests
13-
runs-on: ubuntu-22.04
13+
runs-on: ubuntu-24.04
1414
steps:
1515
- uses: actions/checkout@v3
1616
- uses: actions/setup-python@v4
@@ -23,7 +23,7 @@ jobs:
2323

2424
linters:
2525
name: Run linters
26-
runs-on: ubuntu-22.04
26+
runs-on: ubuntu-24.04
2727
strategy:
2828
matrix:
2929
toxenv: [flake8, pydocstyle, mypy, pylint]
@@ -40,7 +40,7 @@ jobs:
4040
build-sdist:
4141
name: Build source tarball
4242
needs: [tests, linters]
43-
runs-on: ubuntu-22.04
43+
runs-on: ubuntu-24.04
4444
steps:
4545
- uses: actions/checkout@v3
4646
- uses: actions/setup-python@v4
@@ -49,8 +49,9 @@ jobs:
4949
- run: |
5050
python -m pip install --upgrade build
5151
python -m build --sdist
52-
- uses: actions/upload-artifact@v3
52+
- uses: actions/upload-artifact@v4
5353
with:
54+
name: cibw-sdist
5455
path: ./dist/*
5556

5657
build-wheels:
@@ -59,45 +60,28 @@ jobs:
5960
runs-on: ${{ matrix.os }}
6061
strategy:
6162
matrix:
62-
os: [ubuntu-22.04, windows-2019, macos-14]
63+
os: [ubuntu-24.04, ubuntu-24.04-arm, windows-2019, macos-14]
6364
env:
6465
CIBW_SKIP: cp27-*
6566
steps:
6667
- uses: actions/checkout@v3
6768
- name: Build wheels
6869
uses: pypa/cibuildwheel@v2.20.0
69-
- uses: actions/upload-artifact@v3
70-
with:
71-
path: ./wheelhouse/*.whl
72-
73-
build-wheels-linux-aarch64:
74-
name: Build wheels (ubuntu-22.04-aarch64)
75-
needs: [tests, linters]
76-
runs-on: ubuntu-22.04
77-
env:
78-
CIBW_SKIP: cp27-*
79-
steps:
80-
- uses: actions/checkout@v3
81-
- name: Set up QEMU
82-
if: runner.os == 'Linux'
83-
uses: docker/setup-qemu-action@v2
84-
- name: Build wheels
85-
uses: pypa/cibuildwheel@v2.20.0
86-
env:
87-
CIBW_ARCHS_LINUX: aarch64
88-
- uses: actions/upload-artifact@v3
70+
- uses: actions/upload-artifact@v4
8971
with:
72+
name: cibw-wheels-x86-${{ matrix.os }}-${{ strategy.job-index }}
9073
path: ./wheelhouse/*.whl
9174

9275
publish:
9376
name: Publish on PyPI
94-
needs: [build-sdist, build-wheels, build-wheels-linux-aarch64]
95-
runs-on: ubuntu-22.04
77+
needs: [build-sdist, build-wheels]
78+
runs-on: ubuntu-24.04
9679
steps:
97-
- uses: actions/download-artifact@v3
80+
- uses: actions/download-artifact@v4
9881
with:
99-
name: artifact
82+
pattern: cibw-*
10083
path: dist
84+
merge-multiple: true
10185
- uses: pypa/gh-action-pypi-publish@release/v1
10286
with:
10387
user: __token__
@@ -109,7 +93,7 @@ jobs:
10993
publish-docs:
11094
name: Publish docs
11195
needs: [publish]
112-
runs-on: ubuntu-22.04
96+
runs-on: ubuntu-24.04
11397
steps:
11498
- uses: actions/checkout@v3
11599
- uses: actions/setup-python@v4

‎docs/main/changelog.rst

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,40 @@ that were made in every particular version.
77
From version 0.7.6 *Dependency Injector* framework strictly
88
follows `Semantic versioning`_
99

10+
4.46.0
11+
------
12+
13+
- Add option to disable env var interpolation in configs (`#861 <https://github.com/ets-labs/python-dependency-injector/pull/861>`_)
14+
- Fix ``Closing`` dependency resolution (`#852 <https://github.com/ets-labs/python-dependency-injector/pull/852>`_)
15+
- Add support for ``inspect.iscoroutinefunction()`` in ``Coroutine`` provider (`#830 <https://github.com/ets-labs/python-dependency-injector/pull/830>`_)
16+
- Fix broken wiring of sync inject-decorated methods (`#673 <https://github.com/ets-labs/python-dependency-injector/pull/673>`_)
17+
- Add support for ``typing.Annotated`` (`#721 <https://github.com/ets-labs/python-dependency-injector/pull/721>`_, `#853 <https://github.com/ets-labs/python-dependency-injector/pull/853>`_)
18+
- Documentation updates for movie-lister example (`#747 <https://github.com/ets-labs/python-dependency-injector/pull/747>`_)
19+
- Fix type propagation in ``Provider.provider`` (`#744 <https://github.com/ets-labs/python-dependency-injector/pull/744>`_)
20+
21+
Many thanks for the contributions to:
22+
- `ZipFile <https://github.com/ZipFile>`_
23+
- `Yegor Statkevich <https://github.com/jazzthief>`_
24+
- `Federico Tomasi <https://github.com/federinik>`_
25+
- `Martin Lafrance <https://github.com/martlaf>`_
26+
- `Philip Bjorge <https://github.com/philipbjorge>`_
27+
- `Ilya Kazakov <https://github.com/mrKazzila>`_
28+
29+
4.45.0
30+
--------
31+
- Add Starlette lifespan handler implementation (`#683 <https://github.com/ets-labs/python-dependency-injector/pull/683>`_).
32+
- Raise exception in ``ThreadLocalSingleton`` instead of hiding it in finally (`#845 <https://github.com/ets-labs/python-dependency-injector/pull/845>`_).
33+
- Improve debuggability of ``deepcopy`` errors (`#839 <https://github.com/ets-labs/python-dependency-injector/pull/839>`_).
34+
- Update examples (`#838 <https://github.com/ets-labs/python-dependency-injector/pull/838>`_).
35+
- Upgrade testing dependencies (`#837 <https://github.com/ets-labs/python-dependency-injector/pull/837>`_).
36+
- Add minor fixes to the documentation (`#709 <https://github.com/ets-labs/python-dependency-injector/pull/709>`_).
37+
- Remove ``six`` from the dependencies (`3ba4704 <https://github.com/ets-labs/python-dependency-injector/commit/3ba4704bc1cb00310749fd2eda0c8221167c313c>`_).
38+
39+
Many thanks for the contributions to:
40+
- `ZipFile <https://github.com/ZipFile>`_
41+
- `František Trebuňa <https://github.com/gortibaldik>`_
42+
- `JC (Jonathan Chen) <https://github.com/dijonkitchen>`_
43+
1044
4.44.0
1145
--------
1246
- Implement support for Pydantic 2. PR: `#832 <https://github.com/ets-labs/python-dependency-injector/pull/832>`_.

0 commit comments

Comments
 (0)
Please sign in to comment.