Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-tox for openSUSE:Factory checked in at 2022-10-14 15:41:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-tox (Old) and /work/SRC/openSUSE:Factory/.python-tox.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-tox" Fri Oct 14 15:41:40 2022 rev:43 rq:1010419 version:3.26.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-tox/python-tox.changes 2022-07-26 19:44:25.551791593 +0200 +++ /work/SRC/openSUSE:Factory/.python-tox.new.2275/python-tox.changes 2022-10-14 15:42:26.727908998 +0200 @@ -1,0 +2,8 @@ +Wed Oct 12 16:26:45 UTC 2022 - Yogalakshmi Arunachalam <yarunacha...@suse.com> + +- Update to version 3.26.0 + Bugfixes + * Fix fallback to python environment when isolated_build = true is set ??? by @Unrud #2474 + * Fixed SetuptoolsDeprecationWarning about using --global-option ??? by @adamchainz #2478 + +------------------------------------------------------------------- Old: ---- tox-3.25.1.tar.gz New: ---- tox-3.26.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-tox.spec ++++++ --- /var/tmp/diff_new_pack.H22Nxa/_old 2022-10-14 15:42:27.311909974 +0200 +++ /var/tmp/diff_new_pack.H22Nxa/_new 2022-10-14 15:42:27.315909980 +0200 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without python2 Name: python-tox -Version: 3.25.1 +Version: 3.26.0 Release: 0 Summary: Virtualenv-based automation of test activities License: MIT ++++++ tox-3.25.1.tar.gz -> tox-3.26.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tox-3.25.1/.github/CODEOWNERS new/tox-3.26.0/.github/CODEOWNERS --- old/tox-3.25.1/.github/CODEOWNERS 2021-03-03 12:22:10.000000000 +0100 +++ new/tox-3.26.0/.github/CODEOWNERS 2022-09-08 05:32:27.000000000 +0200 @@ -1 +1 @@ -* @gaborbernat @asottile @obestwalter +* @gaborbernat @asottile @obestwalter @jugmac00 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tox-3.25.1/.github/FUNDING.yml new/tox-3.26.0/.github/FUNDING.yml --- old/tox-3.25.1/.github/FUNDING.yml 1970-01-01 01:00:00.000000000 +0100 +++ new/tox-3.26.0/.github/FUNDING.yml 2022-07-06 06:09:43.000000000 +0200 @@ -0,0 +1 @@ +tidelift: "pypi/tox" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tox-3.25.1/.github/SECURITY.md new/tox-3.26.0/.github/SECURITY.md --- old/tox-3.25.1/.github/SECURITY.md 1970-01-01 01:00:00.000000000 +0100 +++ new/tox-3.26.0/.github/SECURITY.md 2022-07-06 06:09:36.000000000 +0200 @@ -0,0 +1,13 @@ +# Security Policy + +## Supported Versions + +| Version | Supported | +| -------- | ------------------ | +| 3.25 + | :white_check_mark: | +| < 3.25 | :x: | + +## Reporting a Vulnerability + +To report a security vulnerability, please use the [Tidelift security contact](https://tidelift.com/security). Tidelift +will coordinate the fix and disclosure. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tox-3.25.1/.github/workflows/check.yml new/tox-3.26.0/.github/workflows/check.yml --- old/tox-3.25.1/.github/workflows/check.yml 2022-06-30 01:13:43.000000000 +0200 +++ new/tox-3.26.0/.github/workflows/check.yml 2022-09-08 05:32:27.000000000 +0200 @@ -19,9 +19,10 @@ fail-fast: false matrix: py: + - "3.11.0-beta.5" + - "pypy-3.7-v7.3.9" # ahead to start it earlier because takes longer + - "pypy-2.7-v7.3.9" # ahead to start it earlier because takes longer - "3.10" - - "pypy-3.7-v7.3.7" # ahead to start it earlier because takes longer - - "pypy-2.7-v7.3.6" # ahead to start it earlier because takes longer - "3.9" - "3.8" - "3.7" @@ -30,9 +31,8 @@ - "2.7" os: - ubuntu-20.04 + - macos-12 - windows-2022 - - macos-10.15 - steps: - name: Setup python for tox uses: actions/setup-python@v4 @@ -49,16 +49,11 @@ python-version: ${{ matrix.py }} - name: Pick environment to run run: | - import codecs - import os - import platform - import sys - cpy = platform.python_implementation() == "CPython" - base =("{}{}{}" if cpy else "{}{}").format("py" if cpy else "pypy", *sys.version_info[0:2]) - env = "TOXENV={}\n".format(base) - print("Picked:\n{}for{}".format(env, sys.version)) + import codecs; import os; import platform; import sys + env = 'TOXENV=py{}{}{}'.format("" if platform.python_implementation() == "CPython" else "py", sys.version_info.major, sys.version_info.minor) + print("Picked: {} for {} based of {}".format(env, sys.version, sys.executable)) with codecs.open(os.environ["GITHUB_ENV"], "a", "utf-8") as file_handler: - file_handler.write(env) + file_handler.write(env) shell: python - name: Setup test suite run: tox -vv --notest @@ -79,7 +74,7 @@ coverage: name: Combine coverage - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 needs: test steps: - uses: actions/checkout@v3 @@ -116,7 +111,7 @@ fail-fast: false matrix: os: - - ubuntu-20.04 + - ubuntu-22.04 - windows-2022 tox_env: - dev @@ -142,7 +137,7 @@ publish: if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') needs: [ check, coverage ] - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Setup python to build package uses: actions/setup-python@v4 @@ -156,7 +151,7 @@ - name: Build sdist and wheel run: python -m build -s -w . -o dist - name: Publish to PyPi - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@v1.5.1 with: skip_existing: true user: __token__ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tox-3.25.1/.pre-commit-config.yaml new/tox-3.26.0/.pre-commit-config.yaml --- old/tox-3.25.1/.pre-commit-config.yaml 2022-06-30 01:13:33.000000000 +0200 +++ new/tox-3.26.0/.pre-commit-config.yaml 2022-09-08 05:32:37.000000000 +0200 @@ -12,7 +12,7 @@ - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/asottile/pyupgrade - rev: v2.34.0 + rev: v2.37.3 hooks: - id: pyupgrade - repo: https://github.com/PyCQA/isort @@ -20,7 +20,7 @@ hooks: - id: isort - repo: https://github.com/psf/black - rev: 22.3.0 + rev: 22.8.0 hooks: - id: black args: [ --safe ] @@ -28,7 +28,7 @@ rev: v1.12.1 hooks: - id: blacken-docs - additional_dependencies: [ black==21.12b0 ] + additional_dependencies: [ black==22.8.0 ] - repo: https://github.com/pre-commit/pygrep-hooks rev: v1.9.0 hooks: @@ -39,16 +39,16 @@ - id: tox-ini-fmt args: [ "-p", "fix_lint" ] - repo: https://github.com/asottile/setup-cfg-fmt - rev: v1.20.1 + rev: v2.0.0 hooks: - id: setup-cfg-fmt args: [ --min-py3-version, "3.5", "--max-py-version", "3.10" ] - repo: https://github.com/PyCQA/flake8 - rev: 4.0.1 + rev: 5.0.4 hooks: - id: flake8 additional_dependencies: - - flake8-bugbear==21.11.29 + - flake8-bugbear==22.7.1 - repo: local hooks: - id: changelogs-rst diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tox-3.25.1/LICENSE new/tox-3.26.0/LICENSE --- old/tox-3.25.1/LICENSE 2021-03-03 12:22:10.000000000 +0100 +++ new/tox-3.26.0/LICENSE 2022-07-06 09:11:16.000000000 +0200 @@ -1,19 +1,21 @@ +MIT License -Permission is hereby granted, free of charge, to any person obtaining a -copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: +Copyright (c) 2012-202x The tox developers -The above copyright notice and this permission notice shall be included -in all copies or substantial portions of the Software. +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tox-3.25.1/PKG-INFO new/tox-3.26.0/PKG-INFO --- old/tox-3.25.1/PKG-INFO 2022-06-30 01:24:17.110264300 +0200 +++ new/tox-3.26.0/PKG-INFO 2022-09-08 08:09:17.549184800 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: tox -Version: 3.25.1 +Version: 3.26.0 Summary: tox is a generic virtualenv management and test command line tool Home-page: https://tox.readthedocs.io Author: Holger Krekel, Oliver Bestwalter, Bern??t G??bor and others @@ -20,14 +20,7 @@ Classifier: Operating System :: Microsoft :: Windows Classifier: Operating System :: POSIX Classifier: Programming Language :: Python :: 2 -Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.5 -Classifier: Programming Language :: Python :: 3.6 -Classifier: Programming Language :: Python :: 3.7 -Classifier: Programming Language :: Python :: 3.8 -Classifier: Programming Language :: Python :: 3.9 -Classifier: Programming Language :: Python :: 3.10 Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: PyPy Classifier: Topic :: Software Development :: Libraries @@ -94,8 +87,8 @@ congratulations :) ``` -tox created two `testenvs` - one based on Python 3.7 and one based on Python 3.8, it installed pytest in them and ran the -tests. The report at the end summarizes which `testenvs` have failed and which have succeeded. +tox created two `testenvs` - one based on Python 3.7 and one based on Python 3.8, it installed pytest in them and ran +the tests. The report at the end summarizes which `testenvs` have failed and which have succeeded. **Note:** To learn more about what you can do with tox, have a look at [the collection of examples in the documentation](https://tox.readthedocs.io/en/latest/examples.html) or @@ -147,3 +140,12 @@ on GitHub. The project is licensed under [MIT](https://github.com/tox-dev/tox/blob/master/LICENSE). + +## tox for enterprise + +Available as part of the Tidelift Subscription. + +The maintainers of tox and thousands of other packages are working with Tidelift to deliver commercial support and +maintenance for the open source packages you use to build your applications. Save time, reduce risk, and improve code +health, while paying the maintainers of the exact packages you use. +[Learn more.](https://tidelift.com/subscription/pkg/pypi-tox?utm_source=pypi-tox&utm_medium=referral&utm_campaign=readme) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tox-3.25.1/README.md new/tox-3.26.0/README.md --- old/tox-3.25.1/README.md 2022-06-30 01:13:43.000000000 +0200 +++ new/tox-3.26.0/README.md 2022-07-06 09:04:07.000000000 +0200 @@ -53,8 +53,8 @@ congratulations :) ``` -tox created two `testenvs` - one based on Python 3.7 and one based on Python 3.8, it installed pytest in them and ran the -tests. The report at the end summarizes which `testenvs` have failed and which have succeeded. +tox created two `testenvs` - one based on Python 3.7 and one based on Python 3.8, it installed pytest in them and ran +the tests. The report at the end summarizes which `testenvs` have failed and which have succeeded. **Note:** To learn more about what you can do with tox, have a look at [the collection of examples in the documentation](https://tox.readthedocs.io/en/latest/examples.html) or @@ -106,3 +106,12 @@ on GitHub. The project is licensed under [MIT](https://github.com/tox-dev/tox/blob/master/LICENSE). + +## tox for enterprise + +Available as part of the Tidelift Subscription. + +The maintainers of tox and thousands of other packages are working with Tidelift to deliver commercial support and +maintenance for the open source packages you use to build your applications. Save time, reduce risk, and improve code +health, while paying the maintainers of the exact packages you use. +[Learn more.](https://tidelift.com/subscription/pkg/pypi-tox?utm_source=pypi-tox&utm_medium=referral&utm_campaign=readme) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tox-3.25.1/docs/changelog.rst new/tox-3.26.0/docs/changelog.rst --- old/tox-3.25.1/docs/changelog.rst 2022-06-30 01:20:18.000000000 +0200 +++ new/tox-3.26.0/docs/changelog.rst 2022-09-08 05:34:13.000000000 +0200 @@ -11,6 +11,24 @@ .. towncrier release notes start +v3.26.0 (2022-09-07) +-------------------- + +Bugfixes +^^^^^^^^ + +- Fix fallback to ``python`` environment when ``isolated_build = true`` is set -- by :user:`Unrud` + `#2474 <https://github.com/tox-dev/tox/issues/2474>`_ +- Fixed ``SetuptoolsDeprecationWarning`` about using ``--global-option`` -- by :user:`adamchainz` + `#2478 <https://github.com/tox-dev/tox/issues/2478>`_ + + +Features +^^^^^^^^ + +- Use ``tomllib`` on Python 3.11 or later and ``tomli`` instead of ``toml`` library on lower versions - by :user:`hroncok`. + `#2463 <https://github.com/tox-dev/tox/issues/2463>`_ + v3.25.1 (2022-06-29) -------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tox-3.25.1/docs/example/jenkins.rst new/tox-3.26.0/docs/example/jenkins.rst --- old/tox-3.25.1/docs/example/jenkins.rst 2021-03-03 12:22:10.000000000 +0100 +++ new/tox-3.26.0/docs/example/jenkins.rst 2022-09-08 05:32:37.000000000 +0200 @@ -63,7 +63,7 @@ url = "https://bitbucket.org/hpk42/tox/raw/default/toxbootstrap.py" # os.environ['USETOXDEV']="1" # use tox dev version d = dict(__file__="toxbootstrap.py") - exec urllib.urlopen(url).read() in d + exec(urllib.urlopen(url).read(), globals=d) d["cmdline"](["--recreate"]) The downloaded ``toxbootstrap.py`` file downloads all necessary files to diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tox-3.25.1/setup.cfg new/tox-3.26.0/setup.cfg --- old/tox-3.25.1/setup.cfg 2022-06-30 01:24:17.111361700 +0200 +++ new/tox-3.26.0/setup.cfg 2022-09-08 08:09:17.550667300 +0200 @@ -19,14 +19,7 @@ Operating System :: Microsoft :: Windows Operating System :: POSIX Programming Language :: Python :: 2 - Programming Language :: Python :: 2.7 Programming Language :: Python :: 3 - Programming Language :: Python :: 3.5 - Programming Language :: Python :: 3.6 - Programming Language :: Python :: 3.7 - Programming Language :: Python :: 3.8 - Programming Language :: Python :: 3.9 - Programming Language :: Python :: 3.10 Programming Language :: Python :: Implementation :: CPython Programming Language :: Python :: Implementation :: PyPy Topic :: Software Development :: Libraries @@ -46,10 +39,11 @@ pluggy>=0.12.0 py>=1.4.17 six>=1.14.0 # required when virtualenv>=20 - toml>=0.9.4 virtualenv!=20.0.0,!=20.0.1,!=20.0.2,!=20.0.3,!=20.0.4,!=20.0.5,!=20.0.6,!=20.0.7,>=16.0.0 colorama>=0.4.1 ;platform_system=="Windows" importlib-metadata>=0.12;python_version<"3.8" + toml>=0.10.2;python_version<="3.6" + tomli>=2.0.1;python_version>="3.7" and python_version<"3.11" python_requires = >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.* [options.packages.find] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tox-3.25.1/src/tox/config/__init__.py new/tox-3.26.0/src/tox/config/__init__.py --- old/tox-3.25.1/src/tox/config/__init__.py 2022-06-30 01:13:32.000000000 +0200 +++ new/tox-3.26.0/src/tox/config/__init__.py 2022-09-08 05:32:37.000000000 +0200 @@ -20,7 +20,24 @@ import pluggy import py import six -import toml + +if sys.version_info >= (3, 11): + import tomllib as toml_loader + + toml_mode = "rb" + toml_encoding = None +elif sys.version_info >= (3, 7): + import tomli as toml_loader + + toml_mode = "rb" + toml_encoding = None +else: + import toml as toml_loader + + toml_mode = "r" + toml_encoding = "UTF-8" + + from packaging import requirements from packaging.utils import canonicalize_name from packaging.version import Version @@ -304,9 +321,9 @@ def get_py_project_toml(path): - with io.open(str(path), encoding="UTF-8") as file_handler: - config_data = toml.load(file_handler) - return config_data + with io.open(str(path), mode=toml_mode, encoding=toml_encoding) as file_handler: + config_data = toml_loader.load(file_handler) + return config_data def propose_configs(cli_config_file): @@ -1484,7 +1501,7 @@ reader.addsubstitutions(**{env_attr.name: res}) return tc - def _getallenvs(self, reader, extra_env_list=None): + def _getallenvs(self, reader, config, extra_env_list=None): extra_env_list = extra_env_list or [] env_str = reader.getstring("envlist", replace=False) env_list = _split_env(env_str) @@ -1493,9 +1510,12 @@ env_list.append(env) all_envs = OrderedDict((i, None) for i in env_list) + package_env = config.isolated_build_env if config.isolated_build is True else None for section in self._cfg: if section.name.startswith(testenvprefix): - all_envs[section.name[len(testenvprefix) :]] = None + section_env = section.name[len(testenvprefix) :] + if section_env != package_env: + all_envs[section_env] = None if not all_envs: all_envs["python"] = None return list(all_envs.keys()) @@ -1511,7 +1531,7 @@ (from_option and "ALL" in from_option) or (not from_option and from_environ and "ALL" in from_environ.split(",")) ) and PARALLEL_ENV_VAR_KEY_PRIVATE not in os.environ: - all_envs = self._getallenvs(reader) + all_envs = self._getallenvs(reader, config) else: candidates = ( (os.environ.get(PARALLEL_ENV_VAR_KEY_PRIVATE), True), @@ -1522,7 +1542,7 @@ ) env_str, envlist_explicit = next(((i, e) for i, e in candidates if i), ([], False)) env_list = _split_env(env_str) - all_envs = self._getallenvs(reader, env_list) + all_envs = self._getallenvs(reader, config, env_list) if not env_list: env_list = all_envs @@ -1533,9 +1553,6 @@ raise tox.exception.ConfigError(msg) package_env = config.isolated_build_env - if config.isolated_build is True and package_env in all_envs: - all_envs.remove(package_env) - if config.isolated_build is True and package_env in env_list: msg = "isolated_build_env {} cannot be part of envlist".format(package_env) raise tox.exception.ConfigError(msg) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tox-3.25.1/src/tox/helper/build_isolated.py new/tox-3.26.0/src/tox/helper/build_isolated.py --- old/tox-3.25.1/src/tox/helper/build_isolated.py 2021-07-13 15:23:34.000000000 +0200 +++ new/tox-3.26.0/src/tox/helper/build_isolated.py 2022-09-08 05:32:37.000000000 +0200 @@ -38,5 +38,5 @@ if backend_obj: backend = getattr(backend, backend_obj) -basename = backend.build_sdist(dist_folder, {"--global-option": ["--formats=gztar"]}) +basename = backend.build_sdist(dist_folder, {"--build-option": ["--formats=gztar"]}) print(basename) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tox-3.25.1/src/tox/version.py new/tox-3.26.0/src/tox/version.py --- old/tox-3.25.1/src/tox/version.py 2022-06-30 01:24:15.000000000 +0200 +++ new/tox-3.26.0/src/tox/version.py 2022-09-08 08:09:17.000000000 +0200 @@ -1,4 +1,4 @@ # coding: utf-8 from __future__ import unicode_literals -__version__ = '3.25.1' +__version__ = '3.26.0' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tox-3.25.1/src/tox.egg-info/PKG-INFO new/tox-3.26.0/src/tox.egg-info/PKG-INFO --- old/tox-3.25.1/src/tox.egg-info/PKG-INFO 2022-06-30 01:24:16.000000000 +0200 +++ new/tox-3.26.0/src/tox.egg-info/PKG-INFO 2022-09-08 08:09:17.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: tox -Version: 3.25.1 +Version: 3.26.0 Summary: tox is a generic virtualenv management and test command line tool Home-page: https://tox.readthedocs.io Author: Holger Krekel, Oliver Bestwalter, Bern??t G??bor and others @@ -20,14 +20,7 @@ Classifier: Operating System :: Microsoft :: Windows Classifier: Operating System :: POSIX Classifier: Programming Language :: Python :: 2 -Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.5 -Classifier: Programming Language :: Python :: 3.6 -Classifier: Programming Language :: Python :: 3.7 -Classifier: Programming Language :: Python :: 3.8 -Classifier: Programming Language :: Python :: 3.9 -Classifier: Programming Language :: Python :: 3.10 Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: PyPy Classifier: Topic :: Software Development :: Libraries @@ -94,8 +87,8 @@ congratulations :) ``` -tox created two `testenvs` - one based on Python 3.7 and one based on Python 3.8, it installed pytest in them and ran the -tests. The report at the end summarizes which `testenvs` have failed and which have succeeded. +tox created two `testenvs` - one based on Python 3.7 and one based on Python 3.8, it installed pytest in them and ran +the tests. The report at the end summarizes which `testenvs` have failed and which have succeeded. **Note:** To learn more about what you can do with tox, have a look at [the collection of examples in the documentation](https://tox.readthedocs.io/en/latest/examples.html) or @@ -147,3 +140,12 @@ on GitHub. The project is licensed under [MIT](https://github.com/tox-dev/tox/blob/master/LICENSE). + +## tox for enterprise + +Available as part of the Tidelift Subscription. + +The maintainers of tox and thousands of other packages are working with Tidelift to deliver commercial support and +maintenance for the open source packages you use to build your applications. Save time, reduce risk, and improve code +health, while paying the maintainers of the exact packages you use. +[Learn more.](https://tidelift.com/subscription/pkg/pypi-tox?utm_source=pypi-tox&utm_medium=referral&utm_campaign=readme) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tox-3.25.1/src/tox.egg-info/SOURCES.txt new/tox-3.26.0/src/tox.egg-info/SOURCES.txt --- old/tox-3.25.1/src/tox.egg-info/SOURCES.txt 2022-06-30 01:24:17.000000000 +0200 +++ new/tox-3.26.0/src/tox.egg-info/SOURCES.txt 2022-09-08 08:09:17.000000000 +0200 @@ -13,7 +13,9 @@ setup.py tox.ini .github/CODEOWNERS +.github/FUNDING.yml .github/PULL_REQUEST_TEMPLATE.md +.github/SECURITY.md .github/config.yml .github/dependabot.yml .github/ISSUE_TEMPLATE/bug_report.md diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tox-3.25.1/src/tox.egg-info/requires.txt new/tox-3.26.0/src/tox.egg-info/requires.txt --- old/tox-3.25.1/src/tox.egg-info/requires.txt 2022-06-30 01:24:16.000000000 +0200 +++ new/tox-3.26.0/src/tox.egg-info/requires.txt 2022-09-08 08:09:17.000000000 +0200 @@ -3,7 +3,6 @@ pluggy>=0.12.0 py>=1.4.17 six>=1.14.0 -toml>=0.9.4 virtualenv!=20.0.0,!=20.0.1,!=20.0.2,!=20.0.3,!=20.0.4,!=20.0.5,!=20.0.6,!=20.0.7,>=16.0.0 [:platform_system == "Windows"] @@ -12,6 +11,12 @@ [:python_version < "3.8"] importlib-metadata>=0.12 +[:python_version <= "3.6"] +toml>=0.10.2 + +[:python_version >= "3.7" and python_version < "3.11"] +tomli>=2.0.1 + [docs] pygments-github-lexers>=0.0.5 sphinx>=2.0.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tox-3.25.1/tests/unit/config/test_config.py new/tox-3.26.0/tests/unit/config/test_config.py --- old/tox-3.25.1/tests/unit/config/test_config.py 2022-06-30 01:13:32.000000000 +0200 +++ new/tox-3.26.0/tests/unit/config/test_config.py 2022-09-08 05:32:27.000000000 +0200 @@ -380,6 +380,16 @@ assert config.setupdir.realpath() == tmpdir.realpath() assert config.toxworkdir.realpath() == tmpdir.join(".tox").realpath() + def test_defaults_isolated_build(self, newconfig): + config = newconfig( + [], + """ + [tox] + isolated_build = true + """, + ) + assert "python" in config.envconfigs + def test_project_paths(self, tmpdir, newconfig): config = newconfig( """ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tox-3.25.1/tests/unit/package/builder/test_package_builder_isolated.py new/tox-3.26.0/tests/unit/package/builder/test_package_builder_isolated.py --- old/tox-3.25.1/tests/unit/package/builder/test_package_builder_isolated.py 2022-06-30 01:13:29.000000000 +0200 +++ new/tox-3.26.0/tests/unit/package/builder/test_package_builder_isolated.py 2022-09-08 05:32:37.000000000 +0200 @@ -25,6 +25,7 @@ }, ) result = cmd("--sdistonly", "-v", "-v", "-v", "-e", "py") + assert "The arguments ['--formats=gztar'] were given via `--global-option`." not in result.err assert "running sdist" in result.out, result.out assert "running egg_info" in result.out, result.out assert "example123-0.5.tar.gz" in result.out, result.out diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tox-3.25.1/tox.ini new/tox-3.26.0/tox.ini --- old/tox-3.25.1/tox.ini 2022-06-30 01:13:29.000000000 +0200 +++ new/tox-3.26.0/tox.ini 2022-09-08 05:32:37.000000000 +0200 @@ -1,6 +1,7 @@ [tox] envlist = fix_lint + py311 py310 py39 py38 @@ -47,7 +48,7 @@ basepython = python3.10 skip_install = true deps = - pre-commit>=2.16 + pre-commit>=2.20 extras = lint commands = @@ -64,8 +65,8 @@ COVERAGE_FILE = {toxworkdir}/.coverage skip_install = true deps = - coverage>=6.2 - diff-cover>=6.4 + coverage>=6.4.4 + diff-cover>=6.5.1 parallel_show_output = true commands = coverage combine @@ -73,7 +74,7 @@ coverage xml -o {toxworkdir}/coverage.xml coverage html -d {toxworkdir}/htmlcov diff-cover --compare-branch {env:DIFF_AGAINST:origin/master} {toxworkdir}/coverage.xml -depends = py27, py35, py36, py37, py38, py39, py310, pypy, pypy3 +depends = py27, py35, py36, py37, py38, py39, py310, py311, pypy, pypy3 [testenv:docs] description = invoke sphinx-build to build the HTML docs @@ -89,7 +90,7 @@ basepython = python3.9 skip_install = true deps = - twine>=3.7.1 + twine>=4.0.1 extras = commands = pip wheel -w {envtmpdir}/build --no-deps . @@ -113,9 +114,9 @@ * basepython = python3.10 deps = - gitpython>=3.1.24 + gitpython>=3.1.27 packaging>=21.3 - towncrier>=21.3 + towncrier>=21.9 commands = python {toxinidir}/tasks/release.py --version {posargs}