Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-subprocess-tee for openSUSE:Factory checked in at 2023-02-02 18:08:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-subprocess-tee (Old) and /work/SRC/openSUSE:Factory/.python-subprocess-tee.new.32243 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-subprocess-tee" Thu Feb 2 18:08:56 2023 rev:5 rq:1062604 version:0.4.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-subprocess-tee/python-subprocess-tee.changes 2022-12-08 16:52:33.431904716 +0100 +++ /work/SRC/openSUSE:Factory/.python-subprocess-tee.new.32243/python-subprocess-tee.changes 2023-02-02 18:34:12.889613742 +0100 @@ -1,0 +2,12 @@ +Tue Jan 31 15:15:06 UTC 2023 - Johannes Kastl <ka...@b1-systems.de> + +- update to 0.4.1: + * Bugfixes + - Correct trove metadata related to supported platforms (#90) @ssbarnea + - Move mypy config to pyproject.toml (#88) @ssbarnea + - Stop using deprecated get_event_loop() (#86) @gotmax23 + - Configure packit (#81) @ssbarnea + - Add "setuptools >= 61.0" to build system requires (#82) @gotmax23 + - Clear build dependencies (#80) @ssbarnea + +------------------------------------------------------------------- @@ -4 +16 @@ -- * Update to version 0.4.0 +- Update to version 0.4.0: @@ -6 +18 @@ - Enable support for py311 (#72) @ssbarnea + - Enable support for py311 (#72) @ssbarnea @@ -8,3 +20,4 @@ - Remove support for py37 (#70) @ssbarnea - Remove support for py36 (#65) @ssbarnea - Mark test test_rich_console_ex as broken (#64) @ssbarnea + - Remove support for py37 (#70) @ssbarnea + - Remove support for py36 (#65) @ssbarnea + - Mark test test_rich_console_ex as broken (#64) @ssbarnea + Old: ---- subprocess-tee-0.4.0.tar.gz New: ---- subprocess-tee-0.4.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-subprocess-tee.spec ++++++ --- /var/tmp/diff_new_pack.ixsaOG/_old 2023-02-02 18:34:13.225615810 +0100 +++ /var/tmp/diff_new_pack.ixsaOG/_new 2023-02-02 18:34:13.229615834 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-subprocess-tee # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-subprocess-tee -Version: 0.4.0 +Version: 0.4.1 Release: 0 Summary: Captures the output of subprocesses in real-time License: MIT ++++++ subprocess-tee-0.4.0.tar.gz -> subprocess-tee-0.4.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/subprocess-tee-0.4.0/.config/subprocess-tee.spec new/subprocess-tee-0.4.1/.config/subprocess-tee.spec --- old/subprocess-tee-0.4.0/.config/subprocess-tee.spec 1970-01-01 01:00:00.000000000 +0100 +++ new/subprocess-tee-0.4.1/.config/subprocess-tee.spec 2022-12-17 13:08:48.000000000 +0100 @@ -0,0 +1,67 @@ +# spell-checker:ignore bcond pkgversion buildrequires autosetup PYTHONPATH noarch buildroot bindir sitelib numprocesses clib +%bcond_with check +%bcond_with privileged_tests +#global source_date_epoch_from_changelog 0 +#global clamp_mtime_to_source_date_epoch 1 + +Name: subprocess-tee +Version: VERSION_PLACEHOLDER +Release: 1%{?dist} +Summary: subprocess-tee + +License: MIT +URL: https://github.com/pycontribs/subprocess-tee +Source0: %{pypi_source} + +BuildArch: noarch + +BuildRequires: pyproject-rpm-macros +BuildRequires: python%{python3_pkgversion}-build +BuildRequires: python%{python3_pkgversion}-pip +BuildRequires: python%{python3_pkgversion}-setuptools +BuildRequires: python%{python3_pkgversion}-setuptools_scm +BuildRequires: python%{python3_pkgversion}-wheel +BuildRequires: python%{python3_pkgversion}-devel +%if %{with check} +# These are required for tests: +BuildRequires: python%{python3_pkgversion}-pytest +BuildRequires: python%{python3_pkgversion}-pytest-xdist +BuildRequires: git-core +%endif + + +%description +subprocess-tee + + +%prep +%autosetup + + +%build +%pyproject_wheel + + +%generate_buildrequires +%pyproject_buildrequires + + +%install +%pyproject_install +%pyproject_save_files subprocess_tee + +%check +%if %{with check} + pytest \ + -v \ + --disable-pytest-warnings \ + --numprocesses=auto \ +test +%endif + + +%files -f %{pyproject_files} +%license LICENSE +%doc README.md + +%changelog diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/subprocess-tee-0.4.0/.github/workflows/release.yml new/subprocess-tee-0.4.1/.github/workflows/release.yml --- old/subprocess-tee-0.4.0/.github/workflows/release.yml 2022-11-25 01:45:26.000000000 +0100 +++ new/subprocess-tee-0.4.1/.github/workflows/release.yml 2022-12-17 13:08:48.000000000 +0100 @@ -14,7 +14,7 @@ env: FORCE_COLOR: 1 PY_COLORS: 1 - TOXENV: packaging + TOXENV: pkg TOX_PARALLEL_NO_SPINNER: 1 steps: @@ -22,25 +22,18 @@ uses: actions/setup-python@v4 with: python-version: 3.8 + - name: Install tox - run: >- - python3 -m - pip install - --user - tox + run: python3 -m pip install --user tox + - name: Check out src from Git uses: actions/checkout@v3 with: fetch-depth: 0 # needed by setuptools-scm + - name: Build dists run: python -m tox - - name: Publish to test.pypi.org - if: >- # "create" workflows run separately from "push" & "pull_request" - github.event_name == 'release' - uses: pypa/gh-action-pypi-publish@release/v1 - with: - password: ${{ secrets.testpypi_password }} - repository_url: https://test.pypi.org/legacy/ + - name: Publish to pypi.org if: >- # "create" workflows run separately from "push" & "pull_request" github.event_name == 'release' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/subprocess-tee-0.4.0/.github/workflows/tox.yml new/subprocess-tee-0.4.1/.github/workflows/tox.yml --- old/subprocess-tee-0.4.0/.github/workflows/tox.yml 2022-11-25 01:45:26.000000000 +0100 +++ new/subprocess-tee-0.4.1/.github/workflows/tox.yml 2022-12-17 13:08:48.000000000 +0100 @@ -18,23 +18,28 @@ python-version: - 3.8 os: - - ubuntu-latest + - ubuntu-22.04 env: - TOXENV: lint - - TOXENV: packaging + - TOXENV: pkg steps: - - uses: actions/checkout@master + + - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} + - name: set PY_SHA256 run: echo "PY_SHA256=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV + - name: Pre-commit cache uses: actions/cache@v3 with: path: ~/.cache/pre-commit key: ${{ runner.os }}-pre-commit-${{ env.PY_SHA256 }}-${{ hashFiles('setup.cfg') }}-${{ hashFiles('tox.ini') }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('.pre-commit-config.yaml') }}-${{ hashFiles('pytest.ini') }} + - name: Pip cache uses: actions/cache@v3 with: @@ -43,16 +48,21 @@ restore-keys: | ${{ runner.os }}-pip- ${{ runner.os }}- + - name: Install tox run: python -m pip install --upgrade tox + - name: Log installed dists run: python -m pip freeze --all + - name: Initialize tox envs run: python -m tox --notest --skip-missing-interpreters false -vv env: ${{ matrix.env }} + - name: Test with tox run: python -m tox env: ${{ matrix.env }} + - name: Archive logs uses: actions/upload-artifact@v3 with: @@ -61,67 +71,66 @@ alpine: name: alpine - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Check out code - uses: actions/checkout@v1 + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: Run docker build run: docker build . unit: - name: py${{ matrix.python-version }}@${{ matrix.os }} - runs-on: ${{ matrix.os }} + name: ${{ matrix.name }} + runs-on: ${{ matrix.os || 'ubuntu-22.04' }} strategy: - # fail-fast: false - # max-parallel: 5 - # The matrix testing goal is to cover the *most likely* environments - # which are expected to be used by users in production. Avoid adding a - # combination unless there are good reasons to test it, like having - # proof that we failed to catch a bug by not running it. Using - # distribution should be prefferred instead of custom builds. matrix: - os: - # https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners - - ubuntu-latest # 18.04 - # - windows-latest - # - windows-2016 - python-version: - - "3.8" - - "3.9" - - "3.10" include: - - os: ubuntu-latest + - name: py38 + os: ubuntu-22.04 + python-version: "3.8" + tox_env: py38 + - name: py38 (macos) + os: macOS-latest python-version: "3.8" tox_env: py38 - - os: ubuntu-latest + - name: py39 + os: ubuntu-22.04 python-version: "3.9" tox_env: py39 - - os: ubuntu-latest + - name: py310 + os: ubuntu-22.04 python-version: "3.10" tox_env: py310 - - os: ubuntu-latest + - name: py311 + os: ubuntu-22.04 python-version: "3.11" tox_env: py311 - - os: macOS-latest - python-version: "3.8" - tox_env: py38 - - os: macOS-latest + - name: py311 (macos) + os: macOS-latest python-version: "3.11" tox_env: py311 + - name: py312 + os: ubuntu-22.04 + python-version: "3.12-dev" + tox_env: py312 steps: - - uses: actions/checkout@master - - name: Get history and tags for SCM versioning to work - run: | - git fetch --prune --unshallow - git fetch --depth=1 origin +refs/tags/*:refs/tags/* + + - uses: actions/checkout@main + with: + fetch-depth: 0 + - name: Set up stock Python ${{ matrix.python-version }} from GitHub - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} + - name: Log the currently selected Python version info (${{ matrix.python-version }}) run: | python --version --version which python + - name: Pip cache uses: actions/cache@v3 with: @@ -130,12 +139,13 @@ restore-keys: | ${{ runner.os }}-pip- ${{ runner.os }}- + - name: Install tox run: | python -m pip install -U pip pip install tox - - name: Run tox -e ${{ matrix.tox_env }} - run: tox -e ${{ matrix.tox_env }} + - name: Run tox run -e ${{ matrix.tox_env }} + run: tox run -e ${{ matrix.tox_env }} check: # This job does nothing and is only used for the branch protection if: always() @@ -143,7 +153,7 @@ - alpine - linters - unit - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Decide whether the needed jobs succeeded or failed uses: re-actors/alls-green@release/v1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/subprocess-tee-0.4.0/.gitignore new/subprocess-tee-0.4.1/.gitignore --- old/subprocess-tee-0.4.0/.gitignore 2022-11-25 01:45:26.000000000 +0100 +++ new/subprocess-tee-0.4.1/.gitignore 2022-12-17 13:08:48.000000000 +0100 @@ -125,3 +125,4 @@ # Pyre type checker .pyre/ +*.rpm diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/subprocess-tee-0.4.0/.packit.yaml new/subprocess-tee-0.4.1/.packit.yaml --- old/subprocess-tee-0.4.0/.packit.yaml 1970-01-01 01:00:00.000000000 +0100 +++ new/subprocess-tee-0.4.1/.packit.yaml 2022-12-17 13:08:48.000000000 +0100 @@ -0,0 +1,37 @@ +--- +# spell-checker:ignore packit specfile copr epel +# https://packit.dev/docs/configuration/ +# TODO(ssbarnea): Is there a way to template the package name in order to make +# it easier to sync this config between projects? +specfile_path: dist/subprocess-tee.spec +actions: + create-archive: + - python3 -m build --sdist --outdir dist + - sh -c "ls dist/subprocess-tee-*.tar.gz" + get-current-version: + - python3 -m setuptools_scm --strip-dev + post-upstream-clone: + - bash -c "rm -f *.src.rpm && rm -rf dist/*.*" + - mkdir -p dist + - bash -c 'sed -e "s/VERSION_PLACEHOLDER/$(python3 -m setuptools_scm --strip-dev)/" .config/subprocess-tee.spec > dist/subprocess-tee.spec' +srpm_build_deps: + - python3-build + - python3-setuptools_scm +jobs: + - job: copr_build + targets: + # See https://packit.dev/docs/configuration/#aliases + # API to get available targets: https://api.dev.testing-farm.io/v0.1/composes/public + # Fedora 37 is the first version having a setuptools(-scm) that supports our PEP-621 metadata + - fedora-37 + - fedora-rawhide + trigger: pull_request + # - job: tests + # trigger: pull_request + # metadata: + # targets: + # - fedora-all + # - job: propose_downstream + # trigger: release + # metadata: + # dist-git-branch: master diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/subprocess-tee-0.4.0/.pre-commit-config.yaml new/subprocess-tee-0.4.1/.pre-commit-config.yaml --- old/subprocess-tee-0.4.0/.pre-commit-config.yaml 2022-11-25 01:45:26.000000000 +0100 +++ new/subprocess-tee-0.4.1/.pre-commit-config.yaml 2022-12-17 13:08:48.000000000 +0100 @@ -9,7 +9,7 @@ hooks: - id: isort - repo: https://github.com/psf/black - rev: 22.10.0 + rev: 22.12.0 hooks: - id: black language_version: python3 @@ -51,10 +51,9 @@ pass_filenames: false additional_dependencies: - pytest>=6.1.2 - - packaging - enrich>=1.2.5 - repo: https://github.com/PyCQA/pylint - rev: v2.15.6 + rev: v2.15.8 hooks: - id: pylint additional_dependencies: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/subprocess-tee-0.4.0/PKG-INFO new/subprocess-tee-0.4.1/PKG-INFO --- old/subprocess-tee-0.4.0/PKG-INFO 2022-11-25 01:45:47.561314000 +0100 +++ new/subprocess-tee-0.4.1/PKG-INFO 2022-12-17 13:09:03.338689300 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: subprocess-tee -Version: 0.4.0 +Version: 0.4.1 Summary: subprocess-tee Author-email: Sorin Sbarnea <sorin.sbar...@gmail.com> Maintainer-email: Sorin Sbarnea <sorin.sbar...@gmail.com> @@ -16,12 +16,15 @@ Classifier: Intended Audience :: Information Technology Classifier: Intended Audience :: System Administrators Classifier: License :: OSI Approved :: MIT License -Classifier: Operating System :: OS Independent +Classifier: Operating System :: MacOS +Classifier: Operating System :: POSIX :: Linux +Classifier: Operating System :: POSIX Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 Classifier: Programming Language :: Python :: 3.10 Classifier: Programming Language :: Python :: 3.11 +Classifier: Programming Language :: Python :: 3.12 Classifier: Programming Language :: Python Classifier: Topic :: System :: Systems Administration Classifier: Topic :: Utilities diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/subprocess-tee-0.4.0/mypy.ini new/subprocess-tee-0.4.1/mypy.ini --- old/subprocess-tee-0.4.0/mypy.ini 2022-11-25 01:45:26.000000000 +0100 +++ new/subprocess-tee-0.4.1/mypy.ini 1970-01-01 01:00:00.000000000 +0100 @@ -1,11 +0,0 @@ -[mypy] -python_version = 3.6 -color_output = True -error_summary = True -disallow_any_generics = True -disallow_any_unimported = True -disallow_untyped_calls = True -disallow_untyped_defs = True -warn_redundant_casts = True -warn_return_any = True -warn_unused_configs = True diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/subprocess-tee-0.4.0/pyproject.toml new/subprocess-tee-0.4.1/pyproject.toml --- old/subprocess-tee-0.4.0/pyproject.toml 2022-11-25 01:45:26.000000000 +0100 +++ new/subprocess-tee-0.4.1/pyproject.toml 2022-12-17 13:08:48.000000000 +0100 @@ -1,10 +1,8 @@ [build-system] requires = [ - "pip >= 19.3.1", - "setuptools >= 42", - "setuptools_scm[toml] >= 3.5.0", - "setuptools_scm_git_archive >= 1.1", - "wheel >= 0.33.6", + # Needed for PEP 621 support + "setuptools >= 61.0", + "setuptools_scm[toml] >= 7.0.0", ] build-backend = "setuptools.build_meta" @@ -25,18 +23,22 @@ ] license = {text = "MIT"} classifiers = [ + # https://pypi.org/classifiers/ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "Intended Audience :: System Administrators", "License :: OSI Approved :: MIT License", - "Operating System :: OS Independent", + "Operating System :: MacOS", + "Operating System :: POSIX :: Linux", + "Operating System :: POSIX", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Programming Language :: Python", "Topic :: System :: Systems Administration", "Topic :: Utilities", @@ -59,12 +61,21 @@ "pytest>=6.2.5", ] -[tool.black] -skip-string-normalization = false - [tool.isort] profile = "black" known_first_party = "subprocess_tee" +[tool.mypy] +python_version = 3.8 +color_output = true +error_summary = true +disallow_any_generics = true +disallow_any_unimported = true +disallow_untyped_calls = true +disallow_untyped_defs = true +warn_redundant_casts = true +warn_return_any = true +warn_unused_configs = true + [tool.setuptools_scm] local_scheme = "no-local-version" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/subprocess-tee-0.4.0/src/subprocess_tee/__init__.py new/subprocess-tee-0.4.1/src/subprocess_tee/__init__.py --- old/subprocess-tee-0.4.0/src/subprocess_tee/__init__.py 2022-11-25 01:45:26.000000000 +0100 +++ new/subprocess-tee-0.4.1/src/subprocess_tee/__init__.py 2022-12-17 13:08:48.000000000 +0100 @@ -5,18 +5,22 @@ import subprocess import sys from asyncio import StreamReader +from importlib.metadata import PackageNotFoundError, version # type: ignore +from shlex import join from typing import TYPE_CHECKING, Any, Callable, Dict, List, Optional, Union +try: + __version__ = version("subprocess-tee") +except PackageNotFoundError: # pragma: no branch + __version__ = "0.1.dev1" + +__all__ = ["run", "CompletedProcess", "__version__"] + if TYPE_CHECKING: CompletedProcess = subprocess.CompletedProcess[Any] # pylint: disable=E1136 else: CompletedProcess = subprocess.CompletedProcess -try: - from shlex import join # type: ignore -except ImportError: - from subprocess import list2cmdline as join # pylint: disable=ungrouped-imports - STREAM_LIMIT = 2**23 # 8MB instead of default 64kb, override it if you need @@ -80,7 +84,7 @@ else: print(line_str) - loop = asyncio.get_event_loop_policy().get_event_loop() + loop = asyncio.get_running_loop() tasks = [] if process.stdout: tasks.append( @@ -135,8 +139,7 @@ if kwargs.get("echo", False): print(f"COMMAND: {cmd}") - loop = asyncio.get_event_loop_policy().get_event_loop() - result = loop.run_until_complete(_stream_subprocess(cmd, **kwargs)) + result = asyncio.run(_stream_subprocess(cmd, **kwargs)) # we restore original args to mimic subproces.run() result.args = args diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/subprocess-tee-0.4.0/src/subprocess_tee.egg-info/PKG-INFO new/subprocess-tee-0.4.1/src/subprocess_tee.egg-info/PKG-INFO --- old/subprocess-tee-0.4.0/src/subprocess_tee.egg-info/PKG-INFO 2022-11-25 01:45:47.000000000 +0100 +++ new/subprocess-tee-0.4.1/src/subprocess_tee.egg-info/PKG-INFO 2022-12-17 13:09:03.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: subprocess-tee -Version: 0.4.0 +Version: 0.4.1 Summary: subprocess-tee Author-email: Sorin Sbarnea <sorin.sbar...@gmail.com> Maintainer-email: Sorin Sbarnea <sorin.sbar...@gmail.com> @@ -16,12 +16,15 @@ Classifier: Intended Audience :: Information Technology Classifier: Intended Audience :: System Administrators Classifier: License :: OSI Approved :: MIT License -Classifier: Operating System :: OS Independent +Classifier: Operating System :: MacOS +Classifier: Operating System :: POSIX :: Linux +Classifier: Operating System :: POSIX Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 Classifier: Programming Language :: Python :: 3.10 Classifier: Programming Language :: Python :: 3.11 +Classifier: Programming Language :: Python :: 3.12 Classifier: Programming Language :: Python Classifier: Topic :: System :: Systems Administration Classifier: Topic :: Utilities diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/subprocess-tee-0.4.0/src/subprocess_tee.egg-info/SOURCES.txt new/subprocess-tee-0.4.1/src/subprocess_tee.egg-info/SOURCES.txt --- old/subprocess-tee-0.4.0/src/subprocess_tee.egg-info/SOURCES.txt 2022-11-25 01:45:47.000000000 +0100 +++ new/subprocess-tee-0.4.1/src/subprocess_tee.egg-info/SOURCES.txt 2022-12-17 13:09:03.000000000 +0100 @@ -1,14 +1,15 @@ .dockerignore .flake8 .gitignore +.packit.yaml .pre-commit-config.yaml .yamllint Dockerfile LICENSE README.md -mypy.ini pyproject.toml tox.ini +.config/subprocess-tee.spec .github/CODEOWNERS .github/FUNDING.yml .github/dependabot.yml diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/subprocess-tee-0.4.0/tox.ini new/subprocess-tee-0.4.1/tox.ini --- old/subprocess-tee-0.4.0/tox.ini 2022-11-25 01:45:26.000000000 +0100 +++ new/subprocess-tee-0.4.1/tox.ini 2022-12-17 13:08:48.000000000 +0100 @@ -1,17 +1,15 @@ [tox] -minversion = 3.9.0 +minversion = 4.0 envlist = lint - packaging + pkg deps py isolated_build = True requires = - setuptools >= 41.4.0 - # 2020-resolver - pip >= 2.20.3 + tox>=4.0.12 [testenv] usedevelop = True @@ -36,7 +34,7 @@ ansible-core extras = test -whitelist_externals = +allowlist_externals = find rm sh @@ -54,10 +52,9 @@ skip_install = true usedevelop = false -[testenv:packaging] +[testenv:pkg] description = - Do packaging/distribution. If tag is not present or PEP440 compliant upload to - PYPI could fail + Do packaging and distribution tests, PEP-440,PEP-517,PEP-621 # `usedevelop = true` overrides `skip_install` instruction, it's unwanted usedevelop = false # don't install package in this env