Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-poetry for openSUSE:Factory checked in at 2022-03-20 20:54:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-poetry (Old) and /work/SRC/openSUSE:Factory/.python-poetry.new.25692 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-poetry" Sun Mar 20 20:54:41 2022 rev:15 rq:962670 version:1.1.13 Changes: -------- --- /work/SRC/openSUSE:Factory/python-poetry/python-poetry.changes 2021-12-21 18:40:36.149872272 +0100 +++ /work/SRC/openSUSE:Factory/.python-poetry.new.25692/python-poetry.changes 2022-03-20 20:54:53.054469108 +0100 @@ -1,0 +2,13 @@ +Fri Mar 18 11:07:48 UTC 2022 - Ben Greiner <c...@bnavigator.de> + +- Update to 1.1.13 + * Fixed an issue where envs in MSYS2 always reported as broken + (#4942) + * Fixed an issue where conda envs in windows are always reported + as broken(#5008) + * Fixed an issue where Poetry doesn't find its own venv on poetry + self update (#5048) +- Refresh use-new-name-of-MockFixture.patch +- Drop poetry-3544-py310.patch + +------------------------------------------------------------------- Old: ---- poetry-1.1.12.tar.gz poetry-3544-py310.patch New: ---- poetry-1.1.13.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-poetry.spec ++++++ --- /var/tmp/diff_new_pack.UqZxTY/_old 2022-03-20 20:54:53.714470058 +0100 +++ /var/tmp/diff_new_pack.UqZxTY/_new 2022-03-20 20:54:53.722470070 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-poetry # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-poetry -Version: 1.1.12 +Version: 1.1.13 Release: 0 Summary: Python dependency management and packaging License: MIT @@ -33,8 +33,6 @@ Patch1: use-new-name-of-MockFixture.patch # PATCH-FIX-UPSTREAM https://github.com/python-poetry/poetry/pull/4749 -- make compatible with packaging >= 21 Patch2: poetry-4749-1.1.patch -# PATCH-FIX-UPSTREAM poetry-3544-py310.patch -- gh#python-poetry/poetry#3544 -- python310 fixes -Patch3: https://github.com/python-poetry/poetry/pull/3544.patch#/poetry-3544-py310.patch BuildRequires: %{python_module CacheControl >= 0.12.9} BuildRequires: %{python_module cachy >= 0.3.0} BuildRequires: %{python_module cleo >= 0.8.1} ++++++ poetry-1.1.12.tar.gz -> poetry-1.1.13.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poetry-1.1.12/.github/workflows/main.yml new/poetry-1.1.13/.github/workflows/main.yml --- old/poetry-1.1.12/.github/workflows/main.yml 2021-11-28 06:58:12.000000000 +0100 +++ new/poetry-1.1.13/.github/workflows/main.yml 2022-02-10 22:18:00.000000000 +0100 @@ -22,12 +22,12 @@ strategy: matrix: os: [Ubuntu, MacOS, Windows] - python-version: [2.7, 3.5, 3.6, 3.7, 3.8] + python-version: ["2.7", "3.5","3.6", "3.7", "3.8", "3.9", "3.10"] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 + uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poetry-1.1.12/.github/workflows/release.yml new/poetry-1.1.13/.github/workflows/release.yml --- old/poetry-1.1.12/.github/workflows/release.yml 2021-11-28 06:58:12.000000000 +0100 +++ new/poetry-1.1.13/.github/workflows/release.yml 2022-02-10 22:18:00.000000000 +0100 @@ -4,6 +4,14 @@ push: tags: - '*.*.*' + pull_request: + paths: + - '!**' + - '.github/workflows/release.yml' + - 'pyproject.toml' + - 'poetry.lock' + - 'sonnet' + - 'make-nix-release.sh' jobs: @@ -15,20 +23,24 @@ - name: Get tag id: tag run: | - echo ::set-output name=tag::${GITHUB_REF#refs/tags/} + if [[ ${GITHUB_REF} == refs/tags/* ]]; then + echo ::set-output name=tag::${GITHUB_REF#refs/tags/} + else + echo ::set-output name=tag::${GITHUB_SHA::7} + fi - name: Building release run: | make linux_release - name: Upload release file - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v2 with: name: poetry-${{ steps.tag.outputs.tag }}-linux.tar.gz - path: releases/poetry-${{ steps.tag.outputs.tag }}-linux.tar.gz + path: releases/poetry-*-linux.tar.gz - name: Upload checksum file - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v2 with: name: poetry-${{ steps.tag.outputs.tag }}-linux.sha256sum - path: releases/poetry-${{ steps.tag.outputs.tag }}-linux.sha256sum + path: releases/poetry-*-linux.sha256sum MacOS: runs-on: macos-latest @@ -38,7 +50,11 @@ - name: Get tag id: tag run: | - echo ::set-output name=tag::${GITHUB_REF#refs/tags/} + if [[ ${GITHUB_REF} == refs/tags/* ]]; then + echo ::set-output name=tag::${GITHUB_REF#refs/tags/} + else + echo ::set-output name=tag::${GITHUB_SHA::7} + fi - name: Set up Python 3.8 uses: actions/setup-python@v2 with: @@ -59,26 +75,28 @@ curl -L https://github.com/sdispater/python-binaries/releases/download/3.7.6/python-3.7.6.macos.tar.xz -o python-3.7.6.tar.xz curl -L https://github.com/sdispater/python-binaries/releases/download/3.8.3/python-3.8.3.macos.tar.xz -o python-3.8.3.tar.xz curl -L https://github.com/sdispater/python-binaries/releases/download/3.9.5/python-3.9.5.macos.tar.xz -o python-3.9.5.tar.xz + curl -L https://github.com/sdispater/python-binaries/releases/download/3.10.2/python-3.10.2.macos.tar.xz -o python-3.10.2.tar.xz tar -zxf python-2.7.18.tar.xz tar -zxf python-3.5.9.tar.xz tar -zxf python-3.6.8.tar.xz tar -zxf python-3.7.6.tar.xz tar -zxf python-3.8.3.tar.xz tar -zxf python-3.9.5.tar.xz + tar -zxf python-3.10.2.tar.xz - name: Build specific release run: | source $HOME/.poetry/env - poetry run python sonnet make release --ansi -P "2.7:python-2.7.18/bin/python" -P "3.5:python-3.5.9/bin/python" -P "3.6:python-3.6.8/bin/python" -P "3.7:python-3.7.6/bin/python" -P "3.8:python-3.8.3/bin/python" -P "3.9:python-3.9.5/bin/python" + poetry run python sonnet make release --ansi -P "2.7:python-2.7.18/bin/python" -P "3.5:python-3.5.9/bin/python" -P "3.6:python-3.6.8/bin/python" -P "3.7:python-3.7.6/bin/python" -P "3.8:python-3.8.3/bin/python" -P "3.9:python-3.9.5/bin/python" -P "3.10:python-3.10.2/bin/python" - name: Upload release file - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v2 with: name: poetry-${{ steps.tag.outputs.tag }}-darwin.tar.gz - path: releases/poetry-${{ steps.tag.outputs.tag }}-darwin.tar.gz + path: releases/poetry-*-darwin.tar.gz - name: Upload checksum file - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v2 with: name: poetry-${{ steps.tag.outputs.tag }}-darwin.sha256sum - path: releases/poetry-${{ steps.tag.outputs.tag }}-darwin.sha256sum + path: releases/poetry-*-darwin.sha256sum Windows: runs-on: windows-latest @@ -89,7 +107,11 @@ id: tag shell: bash run: | - echo ::set-output name=tag::${GITHUB_REF#refs/tags/} + if [[ ${GITHUB_REF} == refs/tags/* ]]; then + echo ::set-output name=tag::${GITHUB_REF#refs/tags/} + else + echo ::set-output name=tag::${GITHUB_SHA::7} + fi - name: Set up Python 3.8 uses: actions/setup-python@v2 with: @@ -110,12 +132,14 @@ Invoke-WebRequest https://github.com/sdispater/python-binaries/releases/download/3.7.6/python-3.7.6.windows.tar.xz -O python-3.7.6.tar.xz Invoke-WebRequest https://github.com/sdispater/python-binaries/releases/download/3.8.3/python-3.8.3.windows.tar.xz -O python-3.8.3.tar.xz Invoke-WebRequest https://github.com/sdispater/python-binaries/releases/download/3.9.5/python-3.9.5.windows.tar.xz -O python-3.9.5.tar.xz + Invoke-WebRequest https://github.com/sdispater/python-binaries/releases/download/3.10.2/python-3.10.2.windows.tar.xz -O python-3.10.2.tar.xz 7z x python-2.7.17.tar.xz 7z x python-3.5.4.tar.xz 7z x python-3.6.8.tar.xz 7z x python-3.7.6.tar.xz 7z x python-3.8.3.tar.xz 7z x python-3.9.5.tar.xz + 7z x python-3.10.2.tar.xz 7z x python-2.7.17.tar 7z x python-3.4.4.tar 7z x python-3.5.4.tar @@ -123,24 +147,26 @@ 7z x python-3.7.6.tar 7z x python-3.8.3.tar 7z x python-3.9.5.tar + 7z x python-3.10.2.tar - name: Build specific release run: | $env:Path += ";$env:Userprofile\.poetry\bin" - poetry run python sonnet make release --ansi -P "2.7:python-2.7.17\python.exe" -P "3.5:python-3.5.4\python.exe" -P "3.6:python-3.6.8\python.exe" -P "3.7:python-3.7.6\python.exe" -P "3.8:python-3.8.3\python.exe" -P "3.9:python-3.9.5\python.exe" + poetry run python sonnet make release --ansi -P "2.7:python-2.7.17\python.exe" -P "3.5:python-3.5.4\python.exe" -P "3.6:python-3.6.8\python.exe" -P "3.7:python-3.7.6\python.exe" -P "3.8:python-3.8.3\python.exe" -P "3.9:python-3.9.5\python.exe" -P "3.10:python-3.10.2\python.exe" - name: Upload release file - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v2 with: name: poetry-${{ steps.tag.outputs.tag }}-win32.tar.gz - path: releases/poetry-${{ steps.tag.outputs.tag }}-win32.tar.gz + path: releases/poetry-*-win32.tar.gz - name: Upload checksum file - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v2 with: name: poetry-${{ steps.tag.outputs.tag }}-win32.sha256sum - path: releases/poetry-${{ steps.tag.outputs.tag }}-win32.sha256sum + path: releases/poetry-*-win32.sha256sum Release: needs: [Linux, MacOS, Windows] runs-on: ubuntu-latest + if: startsWith(github.ref, 'refs/tags/') steps: - name: Checkout code diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poetry-1.1.12/CHANGELOG.md new/poetry-1.1.13/CHANGELOG.md --- old/poetry-1.1.12/CHANGELOG.md 2021-11-28 06:58:12.000000000 +0100 +++ new/poetry-1.1.13/CHANGELOG.md 2022-02-10 22:18:00.000000000 +0100 @@ -1,5 +1,13 @@ # Change Log +## [1.1.13] - 2022-02-09 + +## Fixed + +- Fixed an issue where envs in MSYS2 always reported as broken ([#4942](9https://github.com/python-poetry/poetry/pull/4942)) +- Fixed an issue where conda envs in windows are always reported as broken([#5008](https://github.com/python-poetry/poetry/pull/5008)) +- Fixed an issue where Poetry doesn't find its own venv on `poetry self update` ([#5048](https://github.com/python-poetry/poetry/pull/5048)) + ## [1.1.12] - 2021-11-27 ### Fixed @@ -1169,7 +1177,8 @@ -[Unreleased]: https://github.com/python-poetry/poetry/compare/1.1.12...1.1 +[Unreleased]: https://github.com/python-poetry/poetry/compare/1.1.13...1.1 +[1.1.13]: https://github.com/python-poetry/poetry/releases/tag/1.1.13 [1.1.12]: https://github.com/python-poetry/poetry/releases/tag/1.1.12 [1.1.11]: https://github.com/python-poetry/poetry/releases/tag/1.1.11 [1.1.10]: https://github.com/python-poetry/poetry/releases/tag/1.1.10 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poetry-1.1.12/Makefile new/poetry-1.1.13/Makefile --- old/poetry-1.1.12/Makefile 2021-11-28 06:58:12.000000000 +0100 +++ new/poetry-1.1.13/Makefile 2022-02-10 22:18:00.000000000 +0100 @@ -48,15 +48,22 @@ linux_release: docker pull quay.io/pypa/manylinux2010_x86_64:2021-02-06-3d322a5 + docker pull quay.io/pypa/manylinux2010_x86_64:2022-02-05-4cb577c docker run --rm -i -v `pwd`:/io \ + -e VENDOR_ONLY=1 \ -e PYTHON=/opt/python/cp38-cp38/bin/python \ -e PYTHON27=/opt/python/cp27-cp27m/bin/python \ -e PYTHON35=/opt/python/cp35-cp35m/bin/python \ + quay.io/pypa/manylinux2010_x86_64:2021-02-06-3d322a5 sh -c "cd /io && ./make-nix-release.sh" + docker run --rm -i -v `pwd`:/io \ + -e VENDOR_REUSE=1 \ + -e PYTHON=/opt/python/cp38-cp38/bin/python \ -e PYTHON36=/opt/python/cp36-cp36m/bin/python \ -e PYTHON37=/opt/python/cp37-cp37m/bin/python \ -e PYTHON38=/opt/python/cp38-cp38/bin/python \ -e PYTHON39=/opt/python/cp39-cp39/bin/python \ - quay.io/pypa/manylinux2010_x86_64:2021-02-06-3d322a5 sh -c "cd /io && ./make-nix-release.sh" + -e PYTHON310=/opt/python/cp310-cp310/bin/python \ + quay.io/pypa/manylinux2010_x86_64:2022-02-05-4cb577c sh -c "cd /io && ./make-nix-release.sh" # run tests against all supported python versions tox: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poetry-1.1.12/docs/managing-environments.md new/poetry-1.1.13/docs/managing-environments.md --- old/poetry-1.1.12/docs/managing-environments.md 2021-11-28 06:58:12.000000000 +0100 +++ new/poetry-1.1.13/docs/managing-environments.md 2022-02-10 22:18:00.000000000 +0100 @@ -26,20 +26,6 @@ to find one that is and use it. If it's unable to do so then you will be prompted to activate one explicitly, see [Switching environments](#switching-between-environments). -{{% note %}} -To easily switch between Python versions, it is recommended to -use [pyenv](https://github.com/pyenv/pyenv) or similar tools. - -For instance, if your project is Python 2.7 only, a standard workflow -would be: - -```bash -pyenv install 2.7.15 -pyenv local 2.7.15 # Activate Python 2.7 for the current project -poetry install -``` -{{% /note %}} - ## Switching between environments Sometimes this might not be feasible for your system, especially Windows where `pyenv` diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poetry-1.1.12/make-nix-release.sh new/poetry-1.1.13/make-nix-release.sh --- old/poetry-1.1.12/make-nix-release.sh 2021-11-28 06:58:12.000000000 +0100 +++ new/poetry-1.1.13/make-nix-release.sh 2022-02-10 22:18:00.000000000 +0100 @@ -14,6 +14,7 @@ $PYTHON get-poetry.py -y POETRY="$PYTHON $HOME/.poetry/bin/poetry" RUNTIMES[5]="${PYTHON39:+-P "3.9:$PYTHON39"}" + RUNTIMES[6]="${PYTHON310:+-P "3.10:$PYTHON310"}" else $PYTHON -m pip install poetry -U POETRY="$PYTHON -m poetry" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poetry-1.1.12/poetry/__version__.py new/poetry-1.1.13/poetry/__version__.py --- old/poetry-1.1.12/poetry/__version__.py 2021-11-28 06:58:12.000000000 +0100 +++ new/poetry-1.1.13/poetry/__version__.py 2022-02-10 22:18:00.000000000 +0100 @@ -1 +1 @@ -__version__ = "1.1.12" +__version__ = "1.1.13" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poetry-1.1.12/poetry/console/commands/self/update.py new/poetry-1.1.13/poetry/console/commands/self/update.py --- old/poetry-1.1.12/poetry/console/commands/self/update.py 2021-11-28 06:58:12.000000000 +0100 +++ new/poetry-1.1.13/poetry/console/commands/self/update.py 2022-02-10 22:18:00.000000000 +0100 @@ -323,7 +323,7 @@ from poetry.repositories.installed_repository import InstalledRepository from poetry.utils.env import EnvManager - env = EnvManager.get_system_env() + env = EnvManager.get_system_env(naive=True) installed = InstalledRepository.load(env) root = ProjectPackage("poetry-updater", "0.0.0") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poetry-1.1.12/poetry/mixology/incompatibility.py new/poetry-1.1.13/poetry/mixology/incompatibility.py --- old/poetry-1.1.12/poetry/mixology/incompatibility.py 2021-11-28 06:58:12.000000000 +0100 +++ new/poetry-1.1.13/poetry/mixology/incompatibility.py 2022-02-10 22:18:00.000000000 +0100 @@ -241,12 +241,12 @@ buffer = [str(self)] if this_line is not None: - buffer.append(" " + this_line) + buffer.append(" " + str(this_line)) buffer.append(" and {}".format(str(other))) if other_line is not None: - buffer.append(" " + other_line) + buffer.append(" " + str(other_line)) return "\n".join(buffer) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poetry-1.1.12/poetry/utils/env.py new/poetry-1.1.13/poetry/utils/env.py --- old/poetry-1.1.12/poetry/utils/env.py 2021-11-28 06:58:12.000000000 +0100 +++ new/poetry-1.1.13/poetry/utils/env.py 2022-02-10 22:18:00.000000000 +0100 @@ -923,9 +923,15 @@ def __init__(self, path, base=None): # type: (Path, Optional[Path]) -> None self._is_windows = sys.platform == "win32" + self._is_mingw = sysconfig.get_platform().startswith("mingw") + self._is_conda = bool(os.environ.get("CONDA_DEFAULT_ENV")) + + if not self._is_windows or self._is_mingw: + bin_dir = "bin" + else: + bin_dir = "Scripts" self._path = path - bin_dir = "bin" if not self._is_windows else "Scripts" self._bin_dir = self._path / bin_dir self._base = base or path @@ -1075,13 +1081,16 @@ return sys.prefix - def find_executables(self): # type: () -> None + def _find_python_executable(self): # type: () -> None + bin_dir = self._bin_dir + + if self._is_windows and self._is_conda: + bin_dir = self._path + python_executables = sorted( - [ - p.name - for p in self._bin_dir.glob("python*") - if re.match(r"python(?:\d+(?:\.\d+)?)?(?:\.exe)?$", p.name) - ] + p.name + for p in bin_dir.glob("python*") + if re.match(r"python(?:\d+(?:\.\d+)?)?(?:\.exe)?$", p.name) ) if python_executables: executable = python_executables[0] @@ -1090,12 +1099,11 @@ self._executable = executable + def _find_pip_executable(self): # type: () -> None pip_executables = sorted( - [ - p.name - for p in self._bin_dir.glob("pip*") - if re.match(r"pip(?:\d+(?:\.\d+)?)?(?:\.exe)?$", p.name) - ] + p.name + for p in self._bin_dir.glob("pip*") + if re.match(r"pip(?:\d+(?:\.\d+)?)?(?:\.exe)?$", p.name) ) if pip_executables: pip_executable = pip_executables[0] @@ -1104,6 +1112,10 @@ self._pip_executable = pip_executable + def find_executables(self): # type: () -> None + self._find_python_executable() + self._find_pip_executable() + def get_version_info(self): # type: () -> Tuple[int] raise NotImplementedError() @@ -1231,7 +1243,7 @@ # a base Python install. if self._is_windows: if not bin.endswith(".exe"): - bin_path = self._bin_dir / (bin + ".exe") + bin_path = self._path / (bin + ".exe") else: bin_path = self._path / bin diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poetry-1.1.12/poetry.lock new/poetry-1.1.13/poetry.lock --- old/poetry-1.1.12/poetry.lock 2021-11-28 06:58:12.000000000 +0100 +++ new/poetry-1.1.13/poetry.lock 2022-02-10 22:18:00.000000000 +0100 @@ -8,32 +8,17 @@ [[package]] name = "attrs" -version = "21.2.0" +version = "21.4.0" description = "Classes Without Boilerplate" category = "dev" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" [package.extras] -dev = ["coverage[toml] (>=5.0.2)", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "mypy", "pytest-mypy-plugins", "zope.interface", "furo", "sphinx", "sphinx-notfound-page", "pre-commit"] +dev = ["coverage[toml] (>=5.0.2)", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "mypy", "pytest-mypy-plugins", "zope.interface", "furo", "sphinx", "sphinx-notfound-page", "pre-commit", "cloudpickle"] docs = ["furo", "sphinx", "zope.interface", "sphinx-notfound-page"] -tests = ["coverage[toml] (>=5.0.2)", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "mypy", "pytest-mypy-plugins", "zope.interface"] -tests_no_zope = ["coverage[toml] (>=5.0.2)", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "mypy", "pytest-mypy-plugins"] - -[[package]] -name = "backports.entry-points-selectable" -version = "1.1.1" -description = "Compatibility shim providing selectable entry points for older implementations" -category = "main" -optional = false -python-versions = ">=2.7" - -[package.dependencies] -importlib-metadata = {version = "*", markers = "python_version < \"3.8\""} - -[package.extras] -docs = ["sphinx", "jaraco.packaging (>=8.2)", "rst.linker (>=1.9)"] -testing = ["pytest", "pytest-flake8", "pytest-cov", "pytest-black (>=0.3.7)", "pytest-mypy", "pytest-checkdocs (>=2.4)", "pytest-enabler (>=1.0.1)"] +tests = ["coverage[toml] (>=5.0.2)", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "mypy", "pytest-mypy-plugins", "zope.interface", "cloudpickle"] +tests_no_zope = ["coverage[toml] (>=5.0.2)", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "mypy", "pytest-mypy-plugins", "cloudpickle"] [[package]] name = "backports.functools-lru-cache" @@ -245,7 +230,7 @@ [[package]] name = "cryptography" -version = "36.0.0" +version = "36.0.1" description = "cryptography is a package which provides cryptographic recipes and primitives to Python developers." category = "main" optional = false @@ -264,7 +249,7 @@ [[package]] name = "distlib" -version = "0.3.3" +version = "0.3.4" description = "Distribution utilities" category = "main" optional = false @@ -364,7 +349,7 @@ [[package]] name = "identify" -version = "2.4.0" +version = "2.4.4" description = "File identification library for Python" category = "dev" optional = false @@ -418,6 +403,14 @@ docs = ["sphinx", "rst.linker", "jaraco.packaging"] [[package]] +name = "iniconfig" +version = "1.1.1" +description = "iniconfig: brain-dead simple config-ini parsing" +category = "dev" +optional = false +python-versions = "*" + +[[package]] name = "ipaddress" version = "1.0.23" description = "IPv4/IPv6 manipulation library" @@ -484,7 +477,7 @@ [[package]] name = "keyring" -version = "21.8.0" +version = "22.3.0" description = "Store and access your passwords safely." category = "main" optional = false @@ -498,7 +491,7 @@ [package.extras] docs = ["sphinx", "jaraco.packaging (>=8.2)", "rst.linker (>=1.9)"] -testing = ["pytest (>=3.5,!=3.7.3)", "pytest-checkdocs (>=1.2.3)", "pytest-flake8", "pytest-cov", "jaraco.test (>=3.2.0)", "pytest-black (>=0.3.7)", "pytest-mypy"] +testing = ["pytest (>=4.6)", "pytest-checkdocs (>=1.2.3)", "pytest-flake8", "pytest-cov", "pytest-enabler", "pytest-black (>=0.3.7)", "pytest-mypy"] [[package]] name = "lockfile" @@ -612,14 +605,14 @@ [[package]] name = "pkginfo" -version = "1.8.1" +version = "1.8.2" description = "Query metadatdata from sdists / bdists / installed packages." category = "main" optional = false python-versions = "*" [package.extras] -testing = ["nose", "coverage"] +testing = ["coverage", "nose"] [[package]] name = "platformdirs" @@ -660,7 +653,7 @@ [[package]] name = "pre-commit" -version = "2.15.0" +version = "2.17.0" description = "A framework for managing and maintaining multi-language pre-commit hooks." category = "dev" optional = false @@ -670,7 +663,7 @@ cfgv = ">=2.0.0" identify = ">=1.0.0" importlib-metadata = {version = "*", markers = "python_version < \"3.8\""} -importlib-resources = {version = "*", markers = "python_version < \"3.7\""} +importlib-resources = {version = "<5.3", markers = "python_version < \"3.7\""} nodeenv = ">=0.11.1" pyyaml = ">=5.1" toml = "*" @@ -769,6 +762,28 @@ testing = ["argcomplete", "hypothesis (>=3.56)", "mock", "nose", "requests", "xmlschema"] [[package]] +name = "pytest" +version = "6.2.5" +description = "pytest: simple powerful testing with Python" +category = "dev" +optional = false +python-versions = ">=3.6" + +[package.dependencies] +atomicwrites = {version = ">=1.0", markers = "sys_platform == \"win32\""} +attrs = ">=19.2.0" +colorama = {version = "*", markers = "sys_platform == \"win32\""} +importlib-metadata = {version = ">=0.12", markers = "python_version < \"3.8\""} +iniconfig = "*" +packaging = "*" +pluggy = ">=0.12,<2.0" +py = ">=1.8.2" +toml = "*" + +[package.extras] +testing = ["argcomplete", "hypothesis (>=3.56)", "mock", "nose", "requests", "xmlschema"] + +[[package]] name = "pytest-cov" version = "2.12.1" description = "Pytest plugin for measuring coverage." @@ -973,7 +988,7 @@ [[package]] name = "tox" -version = "3.24.4" +version = "3.24.5" description = "tox is a generic virtualenv management and test command line tool" category = "dev" optional = false @@ -992,7 +1007,7 @@ [package.extras] docs = ["pygments-github-lexers (>=0.0.5)", "sphinx (>=2.0.0)", "sphinxcontrib-autoprogram (>=0.1.5)", "towncrier (>=18.5.0)"] -testing = ["flaky (>=3.4.0)", "freezegun (>=0.3.11)", "psutil (>=5.6.1)", "pytest (>=4.0.0)", "pytest-cov (>=2.5.1)", "pytest-mock (>=1.10.0)", "pytest-randomly (>=1.0.0)", "pytest-xdist (>=1.22.2)", "pathlib2 (>=2.3.3)"] +testing = ["flaky (>=3.4.0)", "freezegun (>=0.3.11)", "pytest (>=4.0.0)", "pytest-cov (>=2.5.1)", "pytest-mock (>=1.10.0)", "pytest-randomly (>=1.0.0)", "psutil (>=5.6.1)", "pathlib2 (>=2.3.3)"] [[package]] name = "typing" @@ -1025,14 +1040,13 @@ [[package]] name = "virtualenv" -version = "20.10.0" +version = "20.13.1" description = "Virtual Python Environment builder" category = "main" optional = false python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7" [package.dependencies] -"backports.entry-points-selectable" = ">=1.0.4" distlib = ">=0.3.1,<1" filelock = ">=3.2,<4" importlib-metadata = {version = ">=0.12", markers = "python_version < \"3.8\""} @@ -1082,7 +1096,7 @@ [metadata] lock-version = "1.1" python-versions = "~2.7 || ^3.5" -content-hash = "290e530f0cdd81360dd6cb93f3182ac8e8b18a46238198d25de11c26f6b0c356" +content-hash = "3de9a28e5a2f53d26b75a9aa3eb333b360eb04470769675fb435183ab871798c" [metadata.files] atomicwrites = [ @@ -1090,12 +1104,8 @@ {file = "atomicwrites-1.4.0.tar.gz", hash = "sha256:ae70396ad1a434f9c7046fd2dd196fc04b12f9e91ffb859164193be8b6168a7a"}, ] attrs = [ - {file = "attrs-21.2.0-py2.py3-none-any.whl", hash = "sha256:149e90d6d8ac20db7a955ad60cf0e6881a3f20d37096140088356da6c716b0b1"}, - {file = "attrs-21.2.0.tar.gz", hash = "sha256:ef6aaac3ca6cd92904cdd0d83f629a15f18053ec84e6432106f7a4d04ae4f5fb"}, -] -"backports.entry-points-selectable" = [ - {file = "backports.entry_points_selectable-1.1.1-py2.py3-none-any.whl", hash = "sha256:7fceed9532a7aa2bd888654a7314f864a3c16a4e710b34a58cfc0f08114c663b"}, - {file = "backports.entry_points_selectable-1.1.1.tar.gz", hash = "sha256:914b21a479fde881635f7af5adc7f6e38d6b274be32269070c53b698c60d5386"}, + {file = "attrs-21.4.0-py2.py3-none-any.whl", hash = "sha256:2d27e3784d7a565d36ab851fe94887c5eccd6a463168875832a1be79c82828b4"}, + {file = "attrs-21.4.0.tar.gz", hash = "sha256:626ba8234211db98e869df76230a137c4c40a12d72445c45d5f5b716f076e2fd"}, ] "backports.functools-lru-cache" = [ {file = "backports.functools_lru_cache-1.6.4-py2.py3-none-any.whl", hash = "sha256:dbead04b9daa817909ec64e8d2855fb78feafe0b901d4568758e3a60559d8978"}, @@ -1290,31 +1300,30 @@ {file = "cryptography-3.3.2-cp36-abi3-win32.whl", hash = "sha256:3c284fc1e504e88e51c428db9c9274f2da9f73fdf5d7e13a36b8ecb039af6e6c"}, {file = "cryptography-3.3.2-cp36-abi3-win_amd64.whl", hash = "sha256:7951a966613c4211b6612b0352f5bf29989955ee592c4a885d8c7d0f830d0433"}, {file = "cryptography-3.3.2.tar.gz", hash = "sha256:5a60d3780149e13b7a6ff7ad6526b38846354d11a15e21068e57073e29e19bed"}, - {file = "cryptography-36.0.0-cp36-abi3-macosx_10_10_universal2.whl", hash = "sha256:9511416e85e449fe1de73f7f99b21b3aa04fba4c4d335d30c486ba3756e3a2a6"}, - {file = "cryptography-36.0.0-cp36-abi3-macosx_10_10_x86_64.whl", hash = "sha256:97199a13b772e74cdcdb03760c32109c808aff7cd49c29e9cf4b7754bb725d1d"}, - {file = "cryptography-36.0.0-cp36-abi3-macosx_11_0_arm64.whl", hash = "sha256:494106e9cd945c2cadfce5374fa44c94cfadf01d4566a3b13bb487d2e6c7959e"}, - {file = "cryptography-36.0.0-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:6fbbbb8aab4053fa018984bb0e95a16faeb051dd8cca15add2a27e267ba02b58"}, - {file = "cryptography-36.0.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl", hash = "sha256:684993ff6f67000a56454b41bdc7e015429732d65a52d06385b6e9de6181c71e"}, - {file = "cryptography-36.0.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4c702855cd3174666ef0d2d13dcc879090aa9c6c38f5578896407a7028f75b9f"}, - {file = "cryptography-36.0.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d91bc9f535599bed58f6d2e21a2724cb0c3895bf41c6403fe881391d29096f1d"}, - {file = "cryptography-36.0.0-cp36-abi3-manylinux_2_24_x86_64.whl", hash = "sha256:b17d83b3d1610e571fedac21b2eb36b816654d6f7496004d6a0d32f99d1d8120"}, - {file = "cryptography-36.0.0-cp36-abi3-musllinux_1_1_aarch64.whl", hash = "sha256:8982c19bb90a4fa2aad3d635c6d71814e38b643649b4000a8419f8691f20ac44"}, - {file = "cryptography-36.0.0-cp36-abi3-musllinux_1_1_x86_64.whl", hash = "sha256:24469d9d33217ffd0ce4582dfcf2a76671af115663a95328f63c99ec7ece61a4"}, - {file = "cryptography-36.0.0-cp36-abi3-win32.whl", hash = "sha256:f6a5a85beb33e57998dc605b9dbe7deaa806385fdf5c4810fb849fcd04640c81"}, - {file = "cryptography-36.0.0-cp36-abi3-win_amd64.whl", hash = "sha256:2deab5ec05d83ddcf9b0916319674d3dae88b0e7ee18f8962642d3cde0496568"}, - {file = "cryptography-36.0.0-pp37-pypy37_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:2049f8b87f449fc6190350de443ee0c1dd631f2ce4fa99efad2984de81031681"}, - {file = "cryptography-36.0.0-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a776bae1629c8d7198396fd93ec0265f8dd2341c553dc32b976168aaf0e6a636"}, - {file = "cryptography-36.0.0-pp37-pypy37_pp73-manylinux_2_24_x86_64.whl", hash = "sha256:aa94d617a4cd4cdf4af9b5af65100c036bce22280ebb15d8b5262e8273ebc6ba"}, - {file = "cryptography-36.0.0-pp38-pypy38_pp73-macosx_10_10_x86_64.whl", hash = "sha256:5c49c9e8fb26a567a2b3fa0343c89f5d325447956cc2fc7231c943b29a973712"}, - {file = "cryptography-36.0.0-pp38-pypy38_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:ef216d13ac8d24d9cd851776662f75f8d29c9f2d05cdcc2d34a18d32463a9b0b"}, - {file = "cryptography-36.0.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:231c4a69b11f6af79c1495a0e5a85909686ea8db946935224b7825cfb53827ed"}, - {file = "cryptography-36.0.0-pp38-pypy38_pp73-manylinux_2_24_x86_64.whl", hash = "sha256:f92556f94e476c1b616e6daec5f7ddded2c082efa7cee7f31c7aeda615906ed8"}, - {file = "cryptography-36.0.0-pp38-pypy38_pp73-win_amd64.whl", hash = "sha256:d73e3a96c38173e0aa5646c31bf8473bc3564837977dd480f5cbeacf1d7ef3a3"}, - {file = "cryptography-36.0.0.tar.gz", hash = "sha256:52f769ecb4ef39865719aedc67b4b7eae167bafa48dbc2a26dd36fa56460507f"}, + {file = "cryptography-36.0.1-cp36-abi3-macosx_10_10_universal2.whl", hash = "sha256:73bc2d3f2444bcfeac67dd130ff2ea598ea5f20b40e36d19821b4df8c9c5037b"}, + {file = "cryptography-36.0.1-cp36-abi3-macosx_10_10_x86_64.whl", hash = "sha256:2d87cdcb378d3cfed944dac30596da1968f88fb96d7fc34fdae30a99054b2e31"}, + {file = "cryptography-36.0.1-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:74d6c7e80609c0f4c2434b97b80c7f8fdfaa072ca4baab7e239a15d6d70ed73a"}, + {file = "cryptography-36.0.1-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl", hash = "sha256:6c0c021f35b421ebf5976abf2daacc47e235f8b6082d3396a2fe3ccd537ab173"}, + {file = "cryptography-36.0.1-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5d59a9d55027a8b88fd9fd2826c4392bd487d74bf628bb9d39beecc62a644c12"}, + {file = "cryptography-36.0.1-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0a817b961b46894c5ca8a66b599c745b9a3d9f822725221f0e0fe49dc043a3a3"}, + {file = "cryptography-36.0.1-cp36-abi3-manylinux_2_24_x86_64.whl", hash = "sha256:94ae132f0e40fe48f310bba63f477f14a43116f05ddb69d6fa31e93f05848ae2"}, + {file = "cryptography-36.0.1-cp36-abi3-musllinux_1_1_aarch64.whl", hash = "sha256:7be0eec337359c155df191d6ae00a5e8bbb63933883f4f5dffc439dac5348c3f"}, + {file = "cryptography-36.0.1-cp36-abi3-musllinux_1_1_x86_64.whl", hash = "sha256:e0344c14c9cb89e76eb6a060e67980c9e35b3f36691e15e1b7a9e58a0a6c6dc3"}, + {file = "cryptography-36.0.1-cp36-abi3-win32.whl", hash = "sha256:4caa4b893d8fad33cf1964d3e51842cd78ba87401ab1d2e44556826df849a8ca"}, + {file = "cryptography-36.0.1-cp36-abi3-win_amd64.whl", hash = "sha256:391432971a66cfaf94b21c24ab465a4cc3e8bf4a939c1ca5c3e3a6e0abebdbcf"}, + {file = "cryptography-36.0.1-pp37-pypy37_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:bb5829d027ff82aa872d76158919045a7c1e91fbf241aec32cb07956e9ebd3c9"}, + {file = "cryptography-36.0.1-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ebc15b1c22e55c4d5566e3ca4db8689470a0ca2babef8e3a9ee057a8b82ce4b1"}, + {file = "cryptography-36.0.1-pp37-pypy37_pp73-manylinux_2_24_x86_64.whl", hash = "sha256:596f3cd67e1b950bc372c33f1a28a0692080625592ea6392987dba7f09f17a94"}, + {file = "cryptography-36.0.1-pp38-pypy38_pp73-macosx_10_10_x86_64.whl", hash = "sha256:30ee1eb3ebe1644d1c3f183d115a8c04e4e603ed6ce8e394ed39eea4a98469ac"}, + {file = "cryptography-36.0.1-pp38-pypy38_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:ec63da4e7e4a5f924b90af42eddf20b698a70e58d86a72d943857c4c6045b3ee"}, + {file = "cryptography-36.0.1-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ca238ceb7ba0bdf6ce88c1b74a87bffcee5afbfa1e41e173b1ceb095b39add46"}, + {file = "cryptography-36.0.1-pp38-pypy38_pp73-manylinux_2_24_x86_64.whl", hash = "sha256:ca28641954f767f9822c24e927ad894d45d5a1e501767599647259cbf030b903"}, + {file = "cryptography-36.0.1-pp38-pypy38_pp73-win_amd64.whl", hash = "sha256:39bdf8e70eee6b1c7b289ec6e5d84d49a6bfa11f8b8646b5b3dfe41219153316"}, + {file = "cryptography-36.0.1.tar.gz", hash = "sha256:53e5c1dc3d7a953de055d77bef2ff607ceef7a2aac0353b5d630ab67f7423638"}, ] distlib = [ - {file = "distlib-0.3.3-py2.py3-none-any.whl", hash = "sha256:c8b54e8454e5bf6237cc84c20e8264c3e991e824ef27e8f1e81049867d861e31"}, - {file = "distlib-0.3.3.zip", hash = "sha256:d982d0751ff6eaaab5e2ec8e691d949ee80eddf01a62eaa96ddb11531fe16b05"}, + {file = "distlib-0.3.4-py2.py3-none-any.whl", hash = "sha256:6564fe0a8f51e734df6333d08b8b94d4ea8ee6b99b5ed50613f731fd4089f34b"}, + {file = "distlib-0.3.4.zip", hash = "sha256:e4b58818180336dc9c529bfb9a0b58728ffc09ad92027a3f30b7cd91e3458579"}, ] entrypoints = [ {file = "entrypoints-0.3-py2.py3-none-any.whl", hash = "sha256:589f874b313739ad35be6e0cd7efde2a4e9b6fea91edcc34e58ecbb8dbe56d19"}, @@ -1352,8 +1361,8 @@ {file = "httpretty-0.9.7.tar.gz", hash = "sha256:66216f26b9d2c52e81808f3e674a6fb65d4bf719721394a1a9be926177e55fbe"}, ] identify = [ - {file = "identify-2.4.0-py2.py3-none-any.whl", hash = "sha256:eba31ca80258de6bb51453084bff4a923187cd2193b9c13710f2516ab30732cc"}, - {file = "identify-2.4.0.tar.gz", hash = "sha256:a33ae873287e81651c7800ca309dc1f84679b763c9c8b30680e16fbfa82f0107"}, + {file = "identify-2.4.4-py2.py3-none-any.whl", hash = "sha256:aa68609c7454dbcaae60a01ff6b8df1de9b39fe6e50b1f6107ec81dcda624aa6"}, + {file = "identify-2.4.4.tar.gz", hash = "sha256:6b4b5031f69c48bf93a646b90de9b381c6b5f560df4cbe0ed3cf7650ae741e4d"}, ] idna = [ {file = "idna-2.10-py2.py3-none-any.whl", hash = "sha256:b97d804b1e9b523befed77c48dacec60e6dcb0b5391d57af6a65a312a90648c0"}, @@ -1367,6 +1376,10 @@ {file = "importlib_resources-3.2.1-py2.py3-none-any.whl", hash = "sha256:e2860cf0c4bc999947228d18be154fa3779c5dde0b882bd2d7b3f4d25e698bd6"}, {file = "importlib_resources-3.2.1.tar.gz", hash = "sha256:a9fe213ab6452708ec1b3f4ec6f2881b8ab3645cb4e5efb7fea2bbf05a91db3b"}, ] +iniconfig = [ + {file = "iniconfig-1.1.1-py2.py3-none-any.whl", hash = "sha256:011e24c64b7f47f6ebd835bb12a743f2fbe9a26d4cecaa7f53bc4f35ee9da8b3"}, + {file = "iniconfig-1.1.1.tar.gz", hash = "sha256:bc3af051d7d14b2ee5ef9969666def0cd1a000e121eaea580d4a313df4b37f32"}, +] ipaddress = [ {file = "ipaddress-1.0.23-py2.py3-none-any.whl", hash = "sha256:6e0f4a39e66cb5bb9a137b00276a2eff74f93b71dcbdad6f10ff7df9d3557fcc"}, {file = "ipaddress-1.0.23.tar.gz", hash = "sha256:b7f8e0369580bb4a24d5ba1d7cc29660a4a6987763faf1d8a8046830e020e7e2"}, @@ -1382,8 +1395,8 @@ {file = "keyring-18.0.1.tar.gz", hash = "sha256:67d6cc0132bd77922725fae9f18366bb314fd8f95ff4d323a4df41890a96a838"}, {file = "keyring-20.0.1-py2.py3-none-any.whl", hash = "sha256:c674f032424b4bffc62abeac5523ec49cc84aed07a480c3233e0baf618efc15c"}, {file = "keyring-20.0.1.tar.gz", hash = "sha256:963bfa7f090269d30bdc5e25589e5fd9dad2cf2a7c6f176a7f2386910e5d0d8d"}, - {file = "keyring-21.8.0-py3-none-any.whl", hash = "sha256:4be9cbaaaf83e61d6399f733d113ede7d1c73bc75cb6aeb64eee0f6ac39b30ea"}, - {file = "keyring-21.8.0.tar.gz", hash = "sha256:1746d3ac913d449a090caf11e9e4af00e26c3f7f7e81027872192b2398b98675"}, + {file = "keyring-22.3.0-py3-none-any.whl", hash = "sha256:2bc8363ebdd63886126a012057a85c8cb6e143877afa02619ac7dbc9f38a207b"}, + {file = "keyring-22.3.0.tar.gz", hash = "sha256:16927a444b2c73f983520a48dec79ddab49fe76429ea05b8d528d778c8339522"}, ] lockfile = [ {file = "lockfile-0.12.2-py2.py3-none-any.whl", hash = "sha256:6c3cb24f344923d30b2785d5ad75182c8ea7ac1b6171b08657258ec7429d50fa"}, @@ -1459,8 +1472,8 @@ {file = "pexpect-4.8.0.tar.gz", hash = "sha256:fc65a43959d153d0114afe13997d439c22823a27cefceb5ff35c2178c6784c0c"}, ] pkginfo = [ - {file = "pkginfo-1.8.1-py2.py3-none-any.whl", hash = "sha256:bb55a6c017d50f2faea5153abc7b05a750e7ea7ae2cbb7fb3ad6f1dcf8d40988"}, - {file = "pkginfo-1.8.1.tar.gz", hash = "sha256:65175ffa2c807220673a41c371573ac9a1ea1b19ffd5eef916278f428319934f"}, + {file = "pkginfo-1.8.2-py2.py3-none-any.whl", hash = "sha256:c24c487c6a7f72c66e816ab1796b96ac6c3d14d49338293d2141664330b55ffc"}, + {file = "pkginfo-1.8.2.tar.gz", hash = "sha256:542e0d0b6750e2e21c20179803e40ab50598d8066d51097a0e382cba9eb02bff"}, ] platformdirs = [ {file = "platformdirs-2.0.2-py2.py3-none-any.whl", hash = "sha256:0b9547541f599d3d242078ae60b927b3e453f0ad52f58b4d4bc3be86aed3ec41"}, @@ -1475,8 +1488,8 @@ {file = "poetry_core-1.0.7-py2.py3-none-any.whl", hash = "sha256:4f8a7f5390d772f42c4c4c3f188e6424b802cb4b57466c6633a1b9ac36f18a43"}, ] pre-commit = [ - {file = "pre_commit-2.15.0-py2.py3-none-any.whl", hash = "sha256:a4ed01000afcb484d9eb8d504272e642c4c4099bbad3a6b27e519bd6a3e928a6"}, - {file = "pre_commit-2.15.0.tar.gz", hash = "sha256:3c25add78dbdfb6a28a651780d5c311ac40dd17f160eb3954a0c59da40a505a7"}, + {file = "pre_commit-2.17.0-py2.py3-none-any.whl", hash = "sha256:725fa7459782d7bec5ead072810e47351de01709be838c2ce1726b9591dad616"}, + {file = "pre_commit-2.17.0.tar.gz", hash = "sha256:c1a8040ff15ad3d648c70cc3e55b93e4d2d5b687320955505587fd79bbaed06a"}, ] ptyprocess = [ {file = "ptyprocess-0.7.0-py2.py3-none-any.whl", hash = "sha256:4b41f3967fce3af57cc7e94b888626c18bf37a083e3651ca8feeb66d492fef35"}, @@ -1503,6 +1516,8 @@ {file = "pytest-4.6.11.tar.gz", hash = "sha256:50fa82392f2120cc3ec2ca0a75ee615be4c479e66669789771f1758332be4353"}, {file = "pytest-5.4.3-py3-none-any.whl", hash = "sha256:5c0db86b698e8f170ba4582a492248919255fcd4c79b1ee64ace34301fb589a1"}, {file = "pytest-5.4.3.tar.gz", hash = "sha256:7979331bfcba207414f5e1263b5a0f8f521d0f457318836a7355531ed1a4c7d8"}, + {file = "pytest-6.2.5-py3-none-any.whl", hash = "sha256:7310f8d27bc79ced999e760ca304d69f6ba6c6649c0b60fb0e04a4a77cacc134"}, + {file = "pytest-6.2.5.tar.gz", hash = "sha256:131b36680866a76e6781d13f101efb86cf674ebb9762eb70d3082b6f29889e89"}, ] pytest-cov = [ {file = "pytest-cov-2.12.1.tar.gz", hash = "sha256:261ceeb8c227b726249b376b8526b600f38667ee314f910353fa318caa01f4d7"}, @@ -1611,8 +1626,8 @@ {file = "tomlkit-0.7.2.tar.gz", hash = "sha256:d7a454f319a7e9bd2e249f239168729327e4dd2d27b17dc68be264ad1ce36754"}, ] tox = [ - {file = "tox-3.24.4-py2.py3-none-any.whl", hash = "sha256:5e274227a53dc9ef856767c21867377ba395992549f02ce55eb549f9fb9a8d10"}, - {file = "tox-3.24.4.tar.gz", hash = "sha256:c30b57fa2477f1fb7c36aa1d83292d5c2336cd0018119e1b1c17340e2c2708ca"}, + {file = "tox-3.24.5-py2.py3-none-any.whl", hash = "sha256:be3362472a33094bce26727f5f771ca0facf6dafa217f65875314e9a6600c95c"}, + {file = "tox-3.24.5.tar.gz", hash = "sha256:67e0e32c90e278251fea45b696d0fef3879089ccbe979b0c556d35d5a70e2993"}, ] typing = [ {file = "typing-3.10.0.0-py2-none-any.whl", hash = "sha256:c7219ef20c5fbf413b4567092adfc46fa6203cb8454eda33c3fc1afe1398a308"}, @@ -1629,8 +1644,8 @@ {file = "urllib3-1.25.11.tar.gz", hash = "sha256:8d7eaa5a82a1cac232164990f04874c594c9453ec55eef02eab885aa02fc17a2"}, ] virtualenv = [ - {file = "virtualenv-20.10.0-py2.py3-none-any.whl", hash = "sha256:4b02e52a624336eece99c96e3ab7111f469c24ba226a53ec474e8e787b365814"}, - {file = "virtualenv-20.10.0.tar.gz", hash = "sha256:576d05b46eace16a9c348085f7d0dc8ef28713a2cabaa1cf0aea41e8f12c9218"}, + {file = "virtualenv-20.13.1-py2.py3-none-any.whl", hash = "sha256:45e1d053cad4cd453181ae877c4ffc053546ae99e7dd049b9ff1d9be7491abf7"}, + {file = "virtualenv-20.13.1.tar.gz", hash = "sha256:e0621bcbf4160e4e1030f05065c8834b4e93f4fcc223255db2a823440aca9c14"}, ] wcwidth = [ {file = "wcwidth-0.2.5-py2.py3-none-any.whl", hash = "sha256:beb4802a9cebb9144e99086eff703a642a13d6a0052920003a230f3294bbe784"}, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poetry-1.1.12/pyproject.toml new/poetry-1.1.13/pyproject.toml --- old/poetry-1.1.12/pyproject.toml 2021-11-28 06:58:12.000000000 +0100 +++ new/poetry-1.1.13/pyproject.toml 2022-02-10 22:18:00.000000000 +0100 @@ -1,6 +1,6 @@ [tool.poetry] name = "poetry" -version = "1.1.12" +version = "1.1.13" description = "Python dependency management and packaging made easy." authors = [ "S??bastien Eustace <sebast...@eustace.io>" @@ -57,7 +57,7 @@ keyring = [ { version = "^18.0.1", python = "~2.7" }, { version = "^20.0.1", python = "~3.5" }, - { version = "^21.2.0", python = "^3.6" } + { version = ">=21.2.0", python = "^3.6" } ] # Use subprocess32 for Python 2.7 subprocess32 = { version = "^3.5", python = "~2.7" } @@ -66,7 +66,8 @@ [tool.poetry.dev-dependencies] pytest = [ {version = "^4.1", python = "<3.5"}, - {version = "^5.4.3", python = ">=3.5"} + {version = "^5.4.3", python = "~3.5"}, + {version = "^6.2.5", python = ">=3.6"} ] pytest-cov = "^2.5" pytest-mock = "^1.9" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poetry-1.1.12/sonnet new/poetry-1.1.13/sonnet --- old/poetry-1.1.12/sonnet 2021-11-28 06:58:12.000000000 +0100 +++ new/poetry-1.1.13/sonnet 2022-02-10 22:18:00.000000000 +0100 @@ -14,6 +14,8 @@ WINDOWS = sys.platform.startswith("win") or (sys.platform == "cli" and os.name == "nt") +VENDOR_ONLY = "VENDOR_ONLY" in os.environ +VENDOR_REUSE = "VENDOR_REUSE" in os.environ class MakeReleaseCommand(Command): @@ -69,17 +71,27 @@ pool.add_repository(project.locker.locked_repository(with_dev_reqs=True)) vcs = get_vcs(Path(__file__).parent) + poetry_vendor_relative = os.path.join("poetry", "_vendor") + if vcs: - vcs_excluded = [str(f) for f in vcs.get_ignored_files()] + # if vendor reuse is enabled do not exclude these files + vcs_excluded = [ + str(f) + for f in vcs.get_ignored_files() + if not (VENDOR_REUSE and str(f).startswith(poetry_vendor_relative)) + ] else: vcs_excluded = [] created_files = [] + poetry_dir_src = os.path.join(os.path.dirname(__file__), "poetry") + poetry_vendor_src = os.path.join(poetry_dir_src, "_vendor") + with temporary_directory() as tmp_dir: # Copy poetry to tmp dir poetry_dir = os.path.join(tmp_dir, "poetry") shutil.copytree( - os.path.join(os.path.dirname(__file__), "poetry"), + poetry_dir_src, poetry_dir, ignore=lambda dir_, names: set(vcs_excluded).intersection( set([os.path.join(dir_, name) for name in names]) @@ -129,6 +141,16 @@ self.line("") + if VENDOR_ONLY: + self.line("<info>Preserving generated vendor directory</info>") + shutil.copytree( + os.path.join(poetry_dir, "_vendor"), + poetry_vendor_src, + dirs_exist_ok=True, + ) + self.line("<info>Skipping packaging</info>") + return + self.line("<info>Packaging files</info>") with temporary_directory() as tmp_dir2: base_name = "poetry-{}-{}".format(__version__, sys.platform) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poetry-1.1.12/tests/inspection/test_info.py new/poetry-1.1.13/tests/inspection/test_info.py --- old/poetry-1.1.12/tests/inspection/test_info.py 2021-11-28 06:58:12.000000000 +0100 +++ new/poetry-1.1.13/tests/inspection/test_info.py 2022-02-10 22:18:00.000000000 +0100 @@ -190,7 +190,7 @@ def test_info_setup_complex_pep517_error(mocker, demo_setup_complex): mocker.patch( "poetry.utils.env.VirtualEnv.run", - auto_spec=True, + autospec=True, side_effect=EnvCommandError(CalledProcessError(1, "mock", output="mock")), ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poetry-1.1.12/tox.ini new/poetry-1.1.13/tox.ini --- old/poetry-1.1.12/tox.ini 2021-11-28 06:58:12.000000000 +0100 +++ new/poetry-1.1.13/tox.ini 2022-02-10 22:18:00.000000000 +0100 @@ -1,7 +1,7 @@ [tox] minversion = 3.3.0 isolated_build = True -envlist = py27, py35, py36, py37, py38 +envlist = py27, py35, py36, py37, py38, py39, py310 [testenv] whitelist_externals = poetry ++++++ use-new-name-of-MockFixture.patch ++++++ --- /var/tmp/diff_new_pack.UqZxTY/_old 2022-03-20 20:54:53.962470415 +0100 +++ /var/tmp/diff_new_pack.UqZxTY/_new 2022-03-20 20:54:53.966470421 +0100 @@ -4,10 +4,10 @@ https://github.com/python-poetry/poetry/commit/9591e88492508d4dba260952d53266a0032c04c7 but without changing most package versions which is unrelated to this change. -Index: poetry-1.1.6/tests/repositories/test_installed_repository.py +Index: poetry-1.1.13/tests/repositories/test_installed_repository.py =================================================================== ---- poetry-1.1.6.orig/tests/repositories/test_installed_repository.py -+++ poetry-1.1.6/tests/repositories/test_installed_repository.py +--- poetry-1.1.13.orig/tests/repositories/test_installed_repository.py ++++ poetry-1.1.13/tests/repositories/test_installed_repository.py @@ -2,7 +2,7 @@ from typing import Optional import pytest @@ -26,12 +26,12 @@ mocker.patch( "poetry.utils._compat.metadata.Distribution.discover", return_value=INSTALLED_RESULTS, -Index: poetry-1.1.6/pyproject.toml +Index: poetry-1.1.13/pyproject.toml =================================================================== ---- poetry-1.1.6.orig/pyproject.toml -+++ poetry-1.1.6/pyproject.toml -@@ -66,7 +66,7 @@ pytest = [ - {version = "^5.4.3", python = ">=3.5"} +--- poetry-1.1.13.orig/pyproject.toml ++++ poetry-1.1.13/pyproject.toml +@@ -70,7 +70,7 @@ pytest = [ + {version = "^6.2.5", python = ">=3.6"} ] pytest-cov = "^2.5" -pytest-mock = "^1.9"