Merge branch 'release/4.5.4' into master

This commit is contained in:
Roman Mogylatov 2020-12-10 18:28:37 -05:00
commit 47278030ce
3 changed files with 120 additions and 114 deletions

View File

@ -3,120 +3,120 @@ dist: xenial
language: python language: python
jobs: jobs:
include: include:
- python: 3.8 - python: 3.8
env: TOXENV=coveralls DEPENDENCY_INJECTOR_DEBUG_MODE=1 env: TOXENV=coveralls DEPENDENCY_INJECTOR_DEBUG_MODE=1
install: install:
- pip install tox - pip install tox
- pip install cython - pip install cython
- make cythonize - make cythonize
script: tox script: tox
- python: 3.6 - python: 3.6
env: TOXENV=pylint env: TOXENV=pylint
install: pip install tox install: pip install tox
script: tox script: tox
- python: 3.6 - python: 3.6
env: TOXENV=flake8 env: TOXENV=flake8
install: pip install tox install: pip install tox
script: tox script: tox
- python: 3.6 - python: 3.6
env: TOXENV=pydocstyle env: TOXENV=pydocstyle
install: pip install tox install: pip install tox
script: tox script: tox
- python: 3.6 - python: 3.6
env: TOXENV=mypy env: TOXENV=mypy
install: pip install tox install: pip install tox
script: tox script: tox
- python: 2.7 - python: 2.7
env: TOXENV=py27 env: TOXENV=py27
install: pip install tox install: pip install tox
script: tox script: tox
- python: 3.4 - python: 3.4
env: TOXENV=py34 env: TOXENV=py34
install: pip install tox install: pip install tox
script: tox script: tox
- python: 3.5 - python: 3.5
env: TOXENV=py35 env: TOXENV=py35
install: pip install tox install: pip install tox
script: tox script: tox
- python: 3.6 - python: 3.6
env: TOXENV=py36 env: TOXENV=py36
install: pip install tox install: pip install tox
script: tox script: tox
- python: 3.7 - python: 3.7
env: TOXENV=py37 env: TOXENV=py37
install: pip install tox install: pip install tox
script: tox script: tox
- python: 3.8 - python: 3.8
env: TOXENV=py38 env: TOXENV=py38
install: pip install tox install: pip install tox
script: tox script: tox
- python: 3.9 - python: 3.9
env: TOXENV=py39 env: TOXENV=py39
install: pip install tox install: pip install tox
script: tox script: tox
- python: pypy - python: pypy
env: TOXENV=pypy env: TOXENV=pypy
install: pip install tox install: pip install tox
script: tox script: tox
- python: pypy3 - python: pypy3
env: TOXENV=pypy3 env: TOXENV=pypy3
install: pip install tox install: pip install tox
script: tox script: tox
- python: 3.8 - python: 3.8
if: tag IS present if: tag IS present
env: TWINE_USERNAME=__token__ env: TWINE_USERNAME=__token__
install: pip install pip --upgrade install: pip install pip --upgrade
script: python setup.py sdist script: python setup.py sdist
after_success: after_success:
- python3 -m pip install twine - python3 -m pip install twine
- python3 -m twine upload dist/* - python3 -m twine upload dist/*
- services: docker - services: docker
if: tag IS present if: tag IS present
env: TWINE_USERNAME=__token__ env: TWINE_USERNAME=__token__
install: python3 -m pip install cibuildwheel==1.6.3 install: python3 -m pip install cibuildwheel==1.6.3
script: python3 -m cibuildwheel --output-dir wheelhouse script: python3 -m cibuildwheel --output-dir wheelhouse
after_success: after_success:
- python3 -m pip install twine - python3 -m pip install --upgrade --upgrade-strategy eager twine
- python3 -m twine upload wheelhouse/*.whl - python3 -m twine upload wheelhouse/*.whl
- os: osx - os: osx
if: tag IS present if: tag IS present
language: shell language: shell
osx_image: xcode10.2 osx_image: xcode10.2
env: TWINE_USERNAME=__token__ env: TWINE_USERNAME=__token__
install: python3 -m pip install cibuildwheel==1.6.3 install: python3 -m pip install cibuildwheel==1.6.3
script: python3 -m cibuildwheel --output-dir wheelhouse script: python3 -m cibuildwheel --output-dir wheelhouse
after_success: after_success:
- python3 -m pip install twine - python3 -m pip install --upgrade --upgrade-strategy eager twine
- python3 -m twine upload wheelhouse/*.whl - python3 -m twine upload wheelhouse/*.whl
- os: windows - os: windows
if: tag IS present if: tag IS present
language: shell language: shell
env: TWINE_USERNAME=__token__ env: TWINE_USERNAME=__token__
before_install: before_install:
- choco install python --version 3.8.6 - choco install python --version 3.8.6
- export PATH="/c/Python38:/c/Python38/Scripts:$PATH" - export PATH="/c/Python38:/c/Python38/Scripts:$PATH"
- ln -s /c/Python38/python.exe /c/Python38/python3.exe - ln -s /c/Python38/python.exe /c/Python38/python3.exe
install: install:
- python3 -m pip install certifi cibuildwheel==1.6.3 - python3 -m pip install certifi cibuildwheel==1.6.3
- export SSL_CERT_FILE=`python3 -c "import certifi;print(certifi.where())"` - export SSL_CERT_FILE=`python3 -c "import certifi;print(certifi.where())"`
- echo $SSL_CERT_FILE - echo $SSL_CERT_FILE
script: python -m cibuildwheel --output-dir wheelhouse script: python -m cibuildwheel --output-dir wheelhouse
after_success: after_success:
- python -m pip install twine - python -m pip install --upgrade --upgrade-strategy eager twine
- python -m twine upload wheelhouse/*.whl - python -m twine upload wheelhouse/*.whl
- python: 3.8 - python: 3.8
if: branch = master if: branch = master
install: install:
- pip install -r requirements-doc.txt - pip install -r requirements-doc.txt
- pip install awscli - pip install awscli
- pip install -e . - pip install -e .
script: (cd docs && make clean html) script: (cd docs && make clean html)
after_success: after_success:
- aws s3 sync docs/_build/html s3://python-dependency-injector-docs --delete - aws s3 sync docs/_build/html s3://python-dependency-injector-docs --delete
- aws cloudfront create-invalidation --distribution-id ${AWS_CLOUDFRONT_DISTRIBUTION_ID} --path "/*" > /dev/null - aws cloudfront create-invalidation --distribution-id ${AWS_CLOUDFRONT_DISTRIBUTION_ID} --path "/*" > /dev/null
- echo "Cache invalidation triggered" - echo "Cache invalidation triggered"
echo "Result: OK" echo "Result: OK"
- python -m twine upload wheelhouse/*.whl - python -m twine upload wheelhouse/*.whl
notifications: notifications:
slack: slack:
rooms: rooms:

View File

@ -7,6 +7,12 @@ that were made in every particular version.
From version 0.7.6 *Dependency Injector* framework strictly From version 0.7.6 *Dependency Injector* framework strictly
follows `Semantic versioning`_ follows `Semantic versioning`_
4.5.4
-----
- Fix manylinux wheels uploading issue.
See issue `#333 <https://github.com/ets-labs/python-dependency-injector/issues/333>`_ for details.
Thanks to `Richard Jones <https://github.com/RichardDRJ>`_ for reporting the issue.
4.5.3 4.5.3
----- -----
- Fix ``4.5.2`` degradation bug in wiring ``@inject`` with not working ``FastAPI.Depends`` directive. - Fix ``4.5.2`` degradation bug in wiring ``@inject`` with not working ``FastAPI.Depends`` directive.

View File

@ -1,6 +1,6 @@
"""Top-level package.""" """Top-level package."""
__version__ = '4.5.3' __version__ = '4.5.4'
"""Version number. """Version number.
:type: str :type: str