Merge branch 'release/3.19.1' into master

This commit is contained in:
Roman Mogylatov 2020-07-01 23:20:42 -04:00
commit ec3be85cf7
5 changed files with 112 additions and 45 deletions

View File

@ -1,11 +1,7 @@
sudo: false os: linux
install: dist: xenial
- pip install tox language: python
script: jobs:
- tox
language:
- python
matrix:
include: include:
- python: 3.6 - python: 3.6
env: TOXENV=coveralls DEPENDENCY_INJECTOR_DEBUG_MODE=1 env: TOXENV=coveralls DEPENDENCY_INJECTOR_DEBUG_MODE=1
@ -13,31 +9,89 @@ matrix:
- pip install tox - pip install tox
- pip install cython - pip install cython
- make cythonize - make cythonize
script: tox
- python: 3.6 - python: 3.6
env: TOXENV=pylint env: TOXENV=pylint
install: pip install tox
script: tox
- python: 3.6 - python: 3.6
env: TOXENV=flake8 env: TOXENV=flake8
install: pip install tox
script: tox
- python: 3.6 - python: 3.6
env: TOXENV=pydocstyle env: TOXENV=pydocstyle
install: pip install tox
script: tox
- python: 2.7 - python: 2.7
env: TOXENV=py27 env: TOXENV=py27
install: pip install tox
script: tox
- python: 3.4 - python: 3.4
env: TOXENV=py34 env: TOXENV=py34
install: pip install tox
script: tox
- python: 3.5 - python: 3.5
env: TOXENV=py35 env: TOXENV=py35
install: pip install tox
script: tox
- python: 3.6 - python: 3.6
env: TOXENV=py36 env: TOXENV=py36
install: pip install tox
script: tox
- python: 3.7 - python: 3.7
env: TOXENV=py37 env: TOXENV=py37
sudo: required install: pip install tox
dist: xenial script: tox
- python: 3.8 - python: 3.8
env: TOXENV=py38 env: TOXENV=py38
sudo: required install: pip install tox
dist: xenial script: tox
- python: pypy - python: pypy
env: TOXENV=pypy env: TOXENV=pypy
install: pip install tox
script: tox
- python: pypy3 - python: pypy3
env: TOXENV=pypy3 env: TOXENV=pypy3
install: pip install tox
script: tox
- python: 3.8
if: tag IS present
env: TWINE_USERNAME=__token__
install: pip install pip --upgrade
script: python setup.py sdist
after_success:
- python3 -m pip install twine
- python3 -m twine upload dist/*
- services: docker
if: tag IS present
env: TWINE_USERNAME=__token__
install: python3 -m pip install cibuildwheel==1.5.1
script: python3 -m cibuildwheel --output-dir wheelhouse
after_success:
- python3 -m pip install twine
- python3 -m twine upload wheelhouse/*.whl
- os: osx
if: tag IS present
language: shell
env: TWINE_USERNAME=__token__
install: python3 -m pip install cibuildwheel==1.5.1
script: python3 -m cibuildwheel --output-dir wheelhouse
after_success:
- python3 -m pip install twine
- python3 -m twine upload wheelhouse/*.whl
- os: windows
if: tag IS present
language: shell
env: TWINE_USERNAME=__token__
before_install:
- choco install python --version 3.8.0
- export PATH="/c/Python38:/c/Python38/Scripts:$PATH"
install: python -m pip install cibuildwheel==1.5.1
script: python -m cibuildwheel --output-dir wheelhouse
after_success:
- python -m pip install twine
- python -m twine upload wheelhouse/*.whl
notifications: notifications:
slack: ets-labs:g9OU0r5PXjA5ueeoQw01dVvV slack:
rooms:
secure: CdWDgKnfYW7vvvoH3nS3yg3TcNZiYLRUyEp6ukQ4rQiiuR4+ltuvyGyFJWgP8r7VVJ9yHkB0jebCKWLUMsAEt1my33B6eMDEVefovpkdh2eJjGswmm80brt0EJULpgwPOtB1U47Mwca8L5jDW4KSv9RypUFRgn8eHDoWw6LKf5g=

View File

@ -67,7 +67,13 @@ check:
pydocstyle src/dependency_injector/ pydocstyle src/dependency_injector/
pydocstyle examples/ pydocstyle examples/
publish: cythonize test-publish: cythonize
# Create distributions
python setup.py sdist
# Upload distributions to PyPI
twine upload --repository testpypi dist/dependency-injector-$(VERSION)*
publish:
# Merge release to master branch # Merge release to master branch
git checkout master git checkout master
git merge --no-ff release/$(VERSION) -m "Merge branch 'release/$(VERSION)' into master" git merge --no-ff release/$(VERSION) -m "Merge branch 'release/$(VERSION)' into master"
@ -75,5 +81,3 @@ publish: cythonize
# Create and upload tag # Create and upload tag
git tag -a $(VERSION) -m 'version $(VERSION)' git tag -a $(VERSION) -m 'version $(VERSION)'
git push --tags git push --tags
# Create and upload build
python setup.py sdist upload

View File

@ -7,6 +7,14 @@ 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`_
3.19.1
------
- Start distributing wheels for Linux, MacOS, and Windows (thanks to
`Travis CI <https://travis-ci.org/>`_ and
`cibuildwheel <https://github.com/joerick/cibuildwheel>`_).
- Start using ``twine`` for publishing package on PyPI.
- Fix Travis CI configuration file warnings.
3.19.0 3.19.0
------ ------
- Add ``Selector`` provider. - Add ``Selector`` provider.

View File

@ -5,3 +5,4 @@ coverage
flake8 flake8
pydocstyle pydocstyle
sphinx_autobuild sphinx_autobuild
pip

View File

@ -1,6 +1,6 @@
"""Dependency injector top-level package.""" """Dependency injector top-level package."""
__version__ = '3.19.0' __version__ = '3.19.1'
"""Version number that follows semantic versioning. """Version number that follows semantic versioning.
:type: str :type: str