Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-jaraco.envs for 
openSUSE:Factory checked in at 2022-07-18 18:32:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jaraco.envs (Old)
 and      /work/SRC/openSUSE:Factory/.python-jaraco.envs.new.1523 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-jaraco.envs"

Mon Jul 18 18:32:47 2022 rev:3 rq:989046 version:2.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-jaraco.envs/python-jaraco.envs.changes    
2020-04-25 20:08:36.879583658 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jaraco.envs.new.1523/python-jaraco.envs.changes
  2022-07-18 18:32:52.761667195 +0200
@@ -1,0 +2,20 @@
+Wed Jul 13 09:59:20 UTC 2022 - Ben Greiner <c...@bnavigator.de>
+
+- Update to version 2.4.0
+  * Made VEnv non-experimental.
+- Release v2.3.0
+  * #4: Added some tests capturing expectations around object types
+    for input (use path.Path object for root property for maximum
+    compatibility).
+  * Require Python 3.7 or later.
+  * VirtualEnv classes now expose clean_opts for easy reference in
+    creating clean environments.
+- Release v2.2.0
+  * VirtualEnv now allows a create_opts attribute to affect the
+    creation (passed to virtualenv).
+- Release v2.1.1
+  * Rely on PEP 420 for namespace packages.
+- Release v2.1.0
+  * #1: Rely on pure tox without tox-venv. 
+
+-------------------------------------------------------------------

Old:
----
  jaraco.envs-2.0.0.tar.gz

New:
----
  jaraco.envs-2.4.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-jaraco.envs.spec ++++++
--- /var/tmp/diff_new_pack.xeWdkM/_old  2022-07-18 18:32:53.249667888 +0200
+++ /var/tmp/diff_new_pack.xeWdkM/_new  2022-07-18 18:32:53.253667894 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jaraco.envs
 #
-# Copyright (c) 2020 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
@@ -20,21 +20,30 @@
 # requires python-path
 %define skip_python2 1
 Name:           python-jaraco.envs
-Version:        2.0.0
+Version:        2.4.0
 Release:        0
 Summary:        Classes for Python Virtual Environments
 License:        MIT
 Group:          Development/Languages/Python
 URL:            https://github.com/jaraco/jaraco.envs
 Source0:        
https://files.pythonhosted.org/packages/source/j/jaraco.envs/jaraco.envs-%{version}.tar.gz
+BuildRequires:  %{python_module base >= 3.7}
+BuildRequires:  %{python_module pip}
+BuildRequires:  %{python_module setuptools >= 56}
 BuildRequires:  %{python_module setuptools_scm >= 3.4.1}
-BuildRequires:  %{python_module setuptools}
-BuildRequires:  %{python_module toml}
+BuildRequires:  %{python_module tomli}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-path
 Requires:       python-virtualenv
+Recommends:     python-tox
 BuildArch:      noarch
+# SECTION test
+BuildRequires:  %{python_module pytest >= 6}
+BuildRequires:  %{python_module path}
+BuildRequires:  %{python_module virtualenv}
+# /SECTION
 %python_subpackages
 
 %description
@@ -42,25 +51,23 @@
 
 %prep
 %setup -q -n jaraco.envs-%{version}
-sed -i 's/--flake8 --black --cov//' pytest.ini
+# Avoid tox in openSUSE:Factory:Rings:1-MinimalX
+sed -i '/tox/d' setup.cfg
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
-%{python_expand rm -f %{buildroot}%{$python_sitelib}/jaraco/__init__.py* \
-  %{buildroot}%{$python_sitelib}/jaraco/__pycache__/__init__.*
-  %fdupes %{buildroot}%{$python_sitelib}
-}
+%pyproject_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-# no upstream tests
+%pytest
 
 %files %{python_files}
 %license LICENSE
 %doc docs/*.rst README.rst CHANGES.rst
-%{python_sitelib}/jaraco.envs-*-py*.egg-info
-%{python_sitelib}/jaraco*
+%{python_sitelib}/jaraco.envs-%{version}*info
+%{python_sitelib}/jaraco
 
 %changelog

++++++ jaraco.envs-2.0.0.tar.gz -> jaraco.envs-2.4.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.envs-2.0.0/.coveragerc 
new/jaraco.envs-2.4.0/.coveragerc
--- old/jaraco.envs-2.0.0/.coveragerc   2020-02-24 00:41:54.000000000 +0100
+++ new/jaraco.envs-2.4.0/.coveragerc   2022-04-30 01:48:55.000000000 +0200
@@ -1,5 +1,7 @@
 [run]
-omit = .tox/*
+omit =
+       # leading `*/` for pytest-dev/pytest-cov#456
+       */.tox/*
 
 [report]
 show_missing = True
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.envs-2.0.0/.editorconfig 
new/jaraco.envs-2.4.0/.editorconfig
--- old/jaraco.envs-2.0.0/.editorconfig 1970-01-01 01:00:00.000000000 +0100
+++ new/jaraco.envs-2.4.0/.editorconfig 2022-04-30 01:48:55.000000000 +0200
@@ -0,0 +1,16 @@
+root = true
+
+[*]
+charset = utf-8
+indent_style = tab
+indent_size = 4
+insert_final_newline = true
+end_of_line = lf
+
+[*.py]
+indent_style = space
+max_line_length = 88
+
+[*.{yml,yaml}]
+indent_style = space
+indent_size = 2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.envs-2.0.0/.flake8 
new/jaraco.envs-2.4.0/.flake8
--- old/jaraco.envs-2.0.0/.flake8       2020-02-24 00:41:54.000000000 +0100
+++ new/jaraco.envs-2.4.0/.flake8       2022-04-30 01:48:55.000000000 +0200
@@ -1,9 +1,9 @@
 [flake8]
 max-line-length = 88
-ignore =
-       # W503 violates spec https://github.com/PyCQA/pycodestyle/issues/513
-       W503
-       # W504 has issues 
https://github.com/OCA/maintainer-quality-tools/issues/545
-       W504
+
+# jaraco/skeleton#34
+max-complexity = 10
+
+extend-ignore =
        # Black creates whitespace before colon
        E203
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.envs-2.0.0/.github/dependabot.yml 
new/jaraco.envs-2.4.0/.github/dependabot.yml
--- old/jaraco.envs-2.0.0/.github/dependabot.yml        1970-01-01 
01:00:00.000000000 +0100
+++ new/jaraco.envs-2.4.0/.github/dependabot.yml        2022-04-30 
01:48:55.000000000 +0200
@@ -0,0 +1,8 @@
+version: 2
+updates:
+  - package-ecosystem: "pip"
+    directory: "/"
+    schedule:
+      interval: "daily"
+    allow:
+      - dependency-type: "all"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.envs-2.0.0/.github/workflows/main.yml 
new/jaraco.envs-2.4.0/.github/workflows/main.yml
--- old/jaraco.envs-2.0.0/.github/workflows/main.yml    1970-01-01 
01:00:00.000000000 +0100
+++ new/jaraco.envs-2.4.0/.github/workflows/main.yml    2022-04-30 
01:48:55.000000000 +0200
@@ -0,0 +1,63 @@
+name: tests
+
+on: [push, pull_request]
+
+jobs:
+  test:
+    strategy:
+      matrix:
+        python:
+        - 3.7
+        - 3.9
+        - "3.10"
+        platform:
+        - ubuntu-latest
+        - macos-latest
+        - windows-latest
+    runs-on: ${{ matrix.platform }}
+    steps:
+      - uses: actions/checkout@v2
+      - name: Setup Python
+        uses: actions/setup-python@v2
+        with:
+          python-version: ${{ matrix.python }}
+      - name: Install tox
+        run: |
+          python -m pip install tox
+      - name: Run tests
+        run: tox
+
+  check:  # This job does nothing and is only used for the branch protection
+    if: always()
+
+    needs:
+    - test
+
+    runs-on: ubuntu-latest
+
+    steps:
+    - name: Decide whether the needed jobs succeeded or failed
+      uses: re-actors/alls-green@release/v1
+      with:
+        jobs: ${{ toJSON(needs) }}
+
+  release:
+    needs:
+    - check
+    if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
+    runs-on: ubuntu-latest
+
+    steps:
+      - uses: actions/checkout@v2
+      - name: Setup Python
+        uses: actions/setup-python@v2
+        with:
+          python-version: "3.10"
+      - name: Install tox
+        run: |
+          python -m pip install tox
+      - name: Release
+        run: tox -e release
+        env:
+          TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.envs-2.0.0/.pre-commit-config.yaml 
new/jaraco.envs-2.4.0/.pre-commit-config.yaml
--- old/jaraco.envs-2.0.0/.pre-commit-config.yaml       2020-02-24 
00:41:54.000000000 +0100
+++ new/jaraco.envs-2.4.0/.pre-commit-config.yaml       2022-04-30 
01:48:55.000000000 +0200
@@ -1,10 +1,5 @@
 repos:
 - repo: https://github.com/psf/black
-  rev: 19.10b0
+  rev: 22.1.0
   hooks:
   - id: black
-
-- repo: https://github.com/asottile/blacken-docs
-  rev: v1.4.0
-  hooks:
-  - id: blacken-docs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.envs-2.0.0/.readthedocs.yml 
new/jaraco.envs-2.4.0/.readthedocs.yml
--- old/jaraco.envs-2.0.0/.readthedocs.yml      2020-02-24 00:41:54.000000000 
+0100
+++ new/jaraco.envs-2.4.0/.readthedocs.yml      2022-04-30 01:48:55.000000000 
+0200
@@ -1,5 +1,6 @@
+version: 2
 python:
-  version: 3
-  extra_requirements:
-    - docs
-  pip_install: true
+  install:
+  - path: .
+    extra_requirements:
+      - docs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.envs-2.0.0/.travis.yml 
new/jaraco.envs-2.4.0/.travis.yml
--- old/jaraco.envs-2.0.0/.travis.yml   2020-02-24 00:41:54.000000000 +0100
+++ new/jaraco.envs-2.4.0/.travis.yml   1970-01-01 01:00:00.000000000 +0100
@@ -1,18 +0,0 @@
-dist: xenial
-language: python
-
-python:
-- 3.6
-- &latest_py3 3.8
-
-cache: pip
-
-install:
-- pip install tox tox-venv
-
-before_script:
-  # Disable IPv6. Ref travis-ci/travis-ci#8361
-  - if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
-      sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6';
-    fi
-script: tox
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.envs-2.0.0/CHANGES.rst 
new/jaraco.envs-2.4.0/CHANGES.rst
--- old/jaraco.envs-2.0.0/CHANGES.rst   2020-02-24 00:41:54.000000000 +0100
+++ new/jaraco.envs-2.4.0/CHANGES.rst   2022-04-30 01:48:55.000000000 +0200
@@ -1,3 +1,34 @@
+v2.4.0
+======
+
+Made VEnv non-experimental.
+
+v2.3.0
+======
+
+* #4: Added some tests capturing expectations around
+  object types for input (use ``path.Path`` object for
+  ``root`` property for maximum compatibility).
+* Require Python 3.7 or later.
+* VirtualEnv classes now expose ``clean_opts`` for easy
+  reference in creating clean environments.
+
+v2.2.0
+======
+
+* VirtualEnv now allows a ``create_opts`` attribute to
+  affect the creation (passed to `virtualenv`).
+
+v2.1.1
+======
+
+Rely on PEP 420 for namespace packages.
+
+v2.1.0
+======
+
+* #1: Rely on pure tox without tox-venv.
+
 v2.0.0
 ======
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.envs-2.0.0/PKG-INFO 
new/jaraco.envs-2.4.0/PKG-INFO
--- old/jaraco.envs-2.0.0/PKG-INFO      2020-02-24 00:42:24.177604700 +0100
+++ new/jaraco.envs-2.4.0/PKG-INFO      2022-04-30 01:49:17.030674000 +0200
@@ -1,43 +1,44 @@
 Metadata-Version: 2.1
 Name: jaraco.envs
-Version: 2.0.0
+Version: 2.4.0
 Summary: Classes for orchestrating Python (virtual) environments
 Home-page: https://github.com/jaraco/jaraco.envs
 Author: Jason R. Coombs
 Author-email: jar...@jaraco.com
 License: UNKNOWN
-Description: .. image:: https://img.shields.io/pypi/v/jaraco.envs.svg
-           :target: `PyPI link`_
-        
-        .. image:: https://img.shields.io/pypi/pyversions/jaraco.envs.svg
-           :target: `PyPI link`_
-        
-        .. _PyPI link: https://pypi.org/project/jaraco.envs
-        
-        .. image:: 
https://dev.azure.com/jaraco/jaraco.envs/_apis/build/status/jaraco.jaraco.envs?branchName=master
-           :target: 
https://dev.azure.com/jaraco/jaraco.envs/_build/latest?definitionId=1&branchName=master
-        
-        .. image:: https://img.shields.io/travis/jaraco/jaraco.envs/master.svg
-           :target: https://travis-ci.org/jaraco/jaraco.envs
-        
-        .. image:: https://img.shields.io/badge/code%20style-black-000000.svg
-           :target: https://github.com/psf/black
-           :alt: Code style: Black
-        
-        .. .. image:: 
https://img.shields.io/appveyor/ci/jaraco/jaraco-envs/master.svg
-        ..    :target: 
https://ci.appveyor.com/project/jaraco/jaraco-envs/branch/master
-        
-        .. .. image:: 
https://readthedocs.org/projects/jaracoenvs/badge/?version=latest
-        ..    :target: 
https://jaracoenvs.readthedocs.io/en/latest/?badge=latest
-        
-        Classes for orchestrating Python (virtual) environments.
-        
 Platform: UNKNOWN
 Classifier: Development Status :: 5 - Production/Stable
 Classifier: Intended Audience :: Developers
 Classifier: License :: OSI Approved :: MIT License
 Classifier: Programming Language :: Python :: 3
 Classifier: Programming Language :: Python :: 3 :: Only
-Requires-Python: >=3.6
+Requires-Python: >=3.7
 Provides-Extra: testing
 Provides-Extra: docs
+License-File: LICENSE
+
+.. image:: https://img.shields.io/pypi/v/jaraco.envs.svg
+   :target: `PyPI link`_
+
+.. image:: https://img.shields.io/pypi/pyversions/jaraco.envs.svg
+   :target: `PyPI link`_
+
+.. _PyPI link: https://pypi.org/project/jaraco.envs
+
+.. image:: https://github.com/jaraco/jaraco.envs/workflows/tests/badge.svg
+   :target: 
https://github.com/jaraco/jaraco.envs/actions?query=workflow%3A%22tests%22
+   :alt: tests
+
+.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
+   :target: https://github.com/psf/black
+   :alt: Code style: Black
+
+.. .. image:: https://readthedocs.org/projects/skeleton/badge/?version=latest
+..    :target: https://skeleton.readthedocs.io/en/latest/?badge=latest
+
+.. image:: https://img.shields.io/badge/skeleton-2022-informational
+   :target: https://blog.jaraco.com/skeleton
+
+Classes for orchestrating Python (virtual) environments.
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.envs-2.0.0/README.rst 
new/jaraco.envs-2.4.0/README.rst
--- old/jaraco.envs-2.0.0/README.rst    2020-02-24 00:41:54.000000000 +0100
+++ new/jaraco.envs-2.4.0/README.rst    2022-04-30 01:48:55.000000000 +0200
@@ -6,20 +6,18 @@
 
 .. _PyPI link: https://pypi.org/project/jaraco.envs
 
-.. image:: 
https://dev.azure.com/jaraco/jaraco.envs/_apis/build/status/jaraco.jaraco.envs?branchName=master
-   :target: 
https://dev.azure.com/jaraco/jaraco.envs/_build/latest?definitionId=1&branchName=master
-
-.. image:: https://img.shields.io/travis/jaraco/jaraco.envs/master.svg
-   :target: https://travis-ci.org/jaraco/jaraco.envs
+.. image:: https://github.com/jaraco/jaraco.envs/workflows/tests/badge.svg
+   :target: 
https://github.com/jaraco/jaraco.envs/actions?query=workflow%3A%22tests%22
+   :alt: tests
 
 .. image:: https://img.shields.io/badge/code%20style-black-000000.svg
    :target: https://github.com/psf/black
    :alt: Code style: Black
 
-.. .. image:: https://img.shields.io/appveyor/ci/jaraco/jaraco-envs/master.svg
-..    :target: https://ci.appveyor.com/project/jaraco/jaraco-envs/branch/master
+.. .. image:: https://readthedocs.org/projects/skeleton/badge/?version=latest
+..    :target: https://skeleton.readthedocs.io/en/latest/?badge=latest
 
-.. .. image:: https://readthedocs.org/projects/jaracoenvs/badge/?version=latest
-..    :target: https://jaracoenvs.readthedocs.io/en/latest/?badge=latest
+.. image:: https://img.shields.io/badge/skeleton-2022-informational
+   :target: https://blog.jaraco.com/skeleton
 
 Classes for orchestrating Python (virtual) environments.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.envs-2.0.0/appveyor.yml 
new/jaraco.envs-2.4.0/appveyor.yml
--- old/jaraco.envs-2.0.0/appveyor.yml  2020-02-24 00:41:54.000000000 +0100
+++ new/jaraco.envs-2.4.0/appveyor.yml  1970-01-01 01:00:00.000000000 +0100
@@ -1,24 +0,0 @@
-environment:
-
-  APPVEYOR: true
-
-  matrix:
-    - PYTHON: "C:\\Python36-x64"
-    - PYTHON: "C:\\Python38-x64"
-
-install:
-  # symlink python from a directory with a space
-  - "mklink /d \"C:\\Program Files\\Python\" %PYTHON%"
-  - "SET PYTHON=\"C:\\Program Files\\Python\""
-  - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
-
-build: off
-
-cache:
-  - '%LOCALAPPDATA%\pip\Cache'
-
-test_script:
-  - "python -m pip install -U tox tox-venv virtualenv"
-  - "tox"
-
-version: '{build}'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.envs-2.0.0/azure-pipelines.yml 
new/jaraco.envs-2.4.0/azure-pipelines.yml
--- old/jaraco.envs-2.0.0/azure-pipelines.yml   2020-02-24 00:41:54.000000000 
+0100
+++ new/jaraco.envs-2.4.0/azure-pipelines.yml   1970-01-01 01:00:00.000000000 
+0100
@@ -1,71 +0,0 @@
-# Create the project in Azure with:
-# az devops project create --name $name --organization 
https://dev.azure.com/$org/ --visibility public
-# then configure the pipelines (through web UI)
-
-trigger:
-  branches:
-    include:
-    - '*'
-  tags:
-    include:
-    - '*'
-
-pool:
-  vmimage: 'Ubuntu-18.04'
-
-variables:
-- group: Azure secrets
-
-stages:
-- stage: Test
-  jobs:
-
-  - job: 'Test'
-    strategy:
-      matrix:
-        Python36:
-          python.version: '3.6'
-        Python38:
-          python.version: '3.8'
-      maxParallel: 4
-
-    steps:
-    - task: UsePythonVersion@0
-      inputs:
-        versionSpec: '$(python.version)'
-        architecture: 'x64'
-
-    - script: python -m pip install tox
-      displayName: 'Install tox'
-
-    - script: |
-        tox -- --junit-xml=test-results.xml
-      displayName: 'run tests'
-
-    - task: PublishTestResults@2
-      inputs:
-        testResultsFiles: '**/test-results.xml'
-        testRunTitle: 'Python $(python.version)'
-      condition: succeededOrFailed()
-
-- stage: Publish
-  dependsOn: Test
-  jobs:
-  - job: 'Publish'
-
-    steps:
-    - task: UsePythonVersion@0
-      inputs:
-        versionSpec: '3.8'
-        architecture: 'x64'
-
-    - script: python -m pip install tox
-      displayName: 'Install tox'
-
-    - script: |
-        tox -e release
-      env:
-        TWINE_PASSWORD: $(PyPI-token)
-      displayName: 'publish to PyPI'
-
-  condition: contains(variables['Build.SourceBranch'], 'tags')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.envs-2.0.0/docs/conf.py 
new/jaraco.envs-2.4.0/docs/conf.py
--- old/jaraco.envs-2.0.0/docs/conf.py  2020-02-24 00:41:54.000000000 +0100
+++ new/jaraco.envs-2.4.0/docs/conf.py  2022-04-30 01:48:55.000000000 +0200
@@ -14,7 +14,7 @@
                 url='{package_url}/issues/{issue}',
             ),
             dict(
-                pattern=r'^(?m)((?P<scm_version>v?\d+(\.\d+){1,2}))\n[-=]+\n',
+                pattern=r'(?m:^((?P<scm_version>v?\d+(\.\d+){1,2}))\n[-=]+\n)',
                 with_scm='{text}\n{rev[timestamp]:%d %b %Y}\n',
             ),
             dict(
@@ -24,3 +24,13 @@
         ],
     )
 }
+
+# Be strict about any broken references:
+nitpicky = True
+
+# Include Python intersphinx mapping to prevent failures
+# jaraco/skeleton#51
+extensions += ['sphinx.ext.intersphinx']
+intersphinx_mapping = {
+    'python': ('https://docs.python.org/3', None),
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.envs-2.0.0/docs/index.rst 
new/jaraco.envs-2.4.0/docs/index.rst
--- old/jaraco.envs-2.0.0/docs/index.rst        2020-02-24 00:41:54.000000000 
+0100
+++ new/jaraco.envs-2.4.0/docs/index.rst        2022-04-30 01:48:55.000000000 
+0200
@@ -1,5 +1,5 @@
-Welcome to jaraco.envs documentation!
-=====================================
+Welcome to |project| documentation!
+===================================
 
 .. toctree::
    :maxdepth: 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.envs-2.0.0/jaraco/__init__.py 
new/jaraco.envs-2.4.0/jaraco/__init__.py
--- old/jaraco.envs-2.0.0/jaraco/__init__.py    2020-02-24 00:41:54.000000000 
+0100
+++ new/jaraco.envs-2.4.0/jaraco/__init__.py    1970-01-01 01:00:00.000000000 
+0100
@@ -1 +0,0 @@
-__path__ = __import__('pkgutil').extend_path(__path__, __name__)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.envs-2.0.0/jaraco/envs.py 
new/jaraco.envs-2.4.0/jaraco/envs.py
--- old/jaraco.envs-2.0.0/jaraco/envs.py        2020-02-24 00:41:54.000000000 
+0100
+++ new/jaraco.envs-2.4.0/jaraco/envs.py        2022-04-30 01:48:55.000000000 
+0200
@@ -1,5 +1,3 @@
-from __future__ import unicode_literals
-
 import os
 import sys
 import subprocess
@@ -9,11 +7,9 @@
 from path import Path
 
 
-__metaclass__ = type
-
-
 class VirtualEnv:
     root = Path(os.environ.get('SERVICES_ROOT', '.cache/services'))
+    clean_opts = ["--no-setuptools", "--no-pip", "--no-wheel"]
 
     @property
     def dir(self):
@@ -30,6 +26,8 @@
         cmd = [sys.executable, '-m', 'virtualenv', self.dir]
         with contextlib.suppress(AttributeError):
             cmd += ['--python', self.python]
+        with contextlib.suppress(AttributeError):
+            cmd += self.create_opts
         subprocess.check_call(cmd)
 
     def install(self):
@@ -46,22 +44,27 @@
         return {}
 
 
-class _VEnv(VirtualEnv):
+class VEnv(VirtualEnv):
     """
-    Experimental version of VirtualEnv, requires target environment
-    to be Python 3.
+    venv-based version of VirtualEnv.
     """
 
+    clean_opts = ["--without-pip"]
+
     def ensure_env(self):
         executable = getattr(self, 'python', sys.executable)
         cmd = [executable, '-m', 'venv', self.dir]
+        with contextlib.suppress(AttributeError):
+            cmd += ['--python', self.python]
+        with contextlib.suppress(AttributeError):
+            cmd += self.create_opts
         subprocess.check_call(cmd)
 
 
 class ToxEnv(VirtualEnv):
     """
-    A version of VirtualEnv that relies on tox (and tox-venv)
-    to define and build environments.
+    A version of VirtualEnv that relies on tox to define and
+    build environments.
     """
 
     root = Path('.tox')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.envs-2.0.0/jaraco.envs.egg-info/PKG-INFO 
new/jaraco.envs-2.4.0/jaraco.envs.egg-info/PKG-INFO
--- old/jaraco.envs-2.0.0/jaraco.envs.egg-info/PKG-INFO 2020-02-24 
00:42:21.000000000 +0100
+++ new/jaraco.envs-2.4.0/jaraco.envs.egg-info/PKG-INFO 2022-04-30 
01:49:16.000000000 +0200
@@ -1,43 +1,44 @@
 Metadata-Version: 2.1
 Name: jaraco.envs
-Version: 2.0.0
+Version: 2.4.0
 Summary: Classes for orchestrating Python (virtual) environments
 Home-page: https://github.com/jaraco/jaraco.envs
 Author: Jason R. Coombs
 Author-email: jar...@jaraco.com
 License: UNKNOWN
-Description: .. image:: https://img.shields.io/pypi/v/jaraco.envs.svg
-           :target: `PyPI link`_
-        
-        .. image:: https://img.shields.io/pypi/pyversions/jaraco.envs.svg
-           :target: `PyPI link`_
-        
-        .. _PyPI link: https://pypi.org/project/jaraco.envs
-        
-        .. image:: 
https://dev.azure.com/jaraco/jaraco.envs/_apis/build/status/jaraco.jaraco.envs?branchName=master
-           :target: 
https://dev.azure.com/jaraco/jaraco.envs/_build/latest?definitionId=1&branchName=master
-        
-        .. image:: https://img.shields.io/travis/jaraco/jaraco.envs/master.svg
-           :target: https://travis-ci.org/jaraco/jaraco.envs
-        
-        .. image:: https://img.shields.io/badge/code%20style-black-000000.svg
-           :target: https://github.com/psf/black
-           :alt: Code style: Black
-        
-        .. .. image:: 
https://img.shields.io/appveyor/ci/jaraco/jaraco-envs/master.svg
-        ..    :target: 
https://ci.appveyor.com/project/jaraco/jaraco-envs/branch/master
-        
-        .. .. image:: 
https://readthedocs.org/projects/jaracoenvs/badge/?version=latest
-        ..    :target: 
https://jaracoenvs.readthedocs.io/en/latest/?badge=latest
-        
-        Classes for orchestrating Python (virtual) environments.
-        
 Platform: UNKNOWN
 Classifier: Development Status :: 5 - Production/Stable
 Classifier: Intended Audience :: Developers
 Classifier: License :: OSI Approved :: MIT License
 Classifier: Programming Language :: Python :: 3
 Classifier: Programming Language :: Python :: 3 :: Only
-Requires-Python: >=3.6
+Requires-Python: >=3.7
 Provides-Extra: testing
 Provides-Extra: docs
+License-File: LICENSE
+
+.. image:: https://img.shields.io/pypi/v/jaraco.envs.svg
+   :target: `PyPI link`_
+
+.. image:: https://img.shields.io/pypi/pyversions/jaraco.envs.svg
+   :target: `PyPI link`_
+
+.. _PyPI link: https://pypi.org/project/jaraco.envs
+
+.. image:: https://github.com/jaraco/jaraco.envs/workflows/tests/badge.svg
+   :target: 
https://github.com/jaraco/jaraco.envs/actions?query=workflow%3A%22tests%22
+   :alt: tests
+
+.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
+   :target: https://github.com/psf/black
+   :alt: Code style: Black
+
+.. .. image:: https://readthedocs.org/projects/skeleton/badge/?version=latest
+..    :target: https://skeleton.readthedocs.io/en/latest/?badge=latest
+
+.. image:: https://img.shields.io/badge/skeleton-2022-informational
+   :target: https://blog.jaraco.com/skeleton
+
+Classes for orchestrating Python (virtual) environments.
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.envs-2.0.0/jaraco.envs.egg-info/SOURCES.txt 
new/jaraco.envs-2.4.0/jaraco.envs.egg-info/SOURCES.txt
--- old/jaraco.envs-2.0.0/jaraco.envs.egg-info/SOURCES.txt      2020-02-24 
00:42:24.000000000 +0100
+++ new/jaraco.envs-2.4.0/jaraco.envs.egg-info/SOURCES.txt      2022-04-30 
01:49:17.000000000 +0200
@@ -1,26 +1,25 @@
 .coveragerc
+.editorconfig
 .flake8
 .pre-commit-config.yaml
 .readthedocs.yml
-.travis.yml
 CHANGES.rst
 LICENSE
 README.rst
-appveyor.yml
-azure-pipelines.yml
+mypy.ini
 pyproject.toml
 pytest.ini
 setup.cfg
-setup.py
-skeleton.md
 tox.ini
+.github/dependabot.yml
+.github/workflows/main.yml
 docs/conf.py
 docs/history.rst
 docs/index.rst
-jaraco/__init__.py
 jaraco/envs.py
 jaraco.envs.egg-info/PKG-INFO
 jaraco.envs.egg-info/SOURCES.txt
 jaraco.envs.egg-info/dependency_links.txt
 jaraco.envs.egg-info/requires.txt
-jaraco.envs.egg-info/top_level.txt
\ No newline at end of file
+jaraco.envs.egg-info/top_level.txt
+tests/test_envs.py
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.envs-2.0.0/jaraco.envs.egg-info/requires.txt 
new/jaraco.envs-2.4.0/jaraco.envs.egg-info/requires.txt
--- old/jaraco.envs-2.0.0/jaraco.envs.egg-info/requires.txt     2020-02-24 
00:42:21.000000000 +0100
+++ new/jaraco.envs-2.4.0/jaraco.envs.egg-info/requires.txt     2022-04-30 
01:49:16.000000000 +0200
@@ -1,16 +1,19 @@
 path
 virtualenv
 tox
-tox-venv
 
 [docs]
 sphinx
-jaraco.packaging>=3.2
+jaraco.packaging>=9
 rst.linker>=1.9
 
 [testing]
-pytest!=3.7.3,>=3.5
-pytest-checkdocs>=1.2.3
+pytest>=6
+pytest-checkdocs>=2.4
 pytest-flake8
-pytest-black-multipy
 pytest-cov
+pytest-enabler>=1.0.1
+
+[testing:platform_python_implementation != "PyPy"]
+pytest-black>=0.3.7
+pytest-mypy>=0.9.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.envs-2.0.0/mypy.ini 
new/jaraco.envs-2.4.0/mypy.ini
--- old/jaraco.envs-2.0.0/mypy.ini      1970-01-01 01:00:00.000000000 +0100
+++ new/jaraco.envs-2.4.0/mypy.ini      2022-04-30 01:48:55.000000000 +0200
@@ -0,0 +1,2 @@
+[mypy]
+ignore_missing_imports = True
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.envs-2.0.0/pyproject.toml 
new/jaraco.envs-2.4.0/pyproject.toml
--- old/jaraco.envs-2.0.0/pyproject.toml        2020-02-24 00:41:54.000000000 
+0100
+++ new/jaraco.envs-2.4.0/pyproject.toml        2022-04-30 01:48:55.000000000 
+0200
@@ -1,8 +1,20 @@
 [build-system]
-requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=3.4.1"]
+requires = ["setuptools>=56", "setuptools_scm[toml]>=3.4.1"]
 build-backend = "setuptools.build_meta"
 
 [tool.black]
 skip-string-normalization = true
 
 [tool.setuptools_scm]
+
+[pytest.enabler.black]
+addopts = "--black"
+
+[pytest.enabler.mypy]
+addopts = "--mypy"
+
+[pytest.enabler.flake8]
+addopts = "--flake8"
+
+[pytest.enabler.cov]
+addopts = "--cov"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.envs-2.0.0/pytest.ini 
new/jaraco.envs-2.4.0/pytest.ini
--- old/jaraco.envs-2.0.0/pytest.ini    2020-02-24 00:41:54.000000000 +0100
+++ new/jaraco.envs-2.4.0/pytest.ini    2022-04-30 01:48:55.000000000 +0200
@@ -1,5 +1,17 @@
 [pytest]
 norecursedirs=dist build .tox .eggs
-addopts=--doctest-modules --flake8 --black --cov
+addopts=--doctest-modules
 doctest_optionflags=ALLOW_UNICODE ELLIPSIS
 filterwarnings=
+       # Suppress deprecation warning in flake8
+       ignore:SelectableGroups dict interface is deprecated::flake8
+
+       # shopkeep/pytest-black#55
+       ignore:<class 'pytest_black.BlackItem'> is not using a cooperative 
constructor:pytest.PytestDeprecationWarning
+       ignore:The \(fspath. py.path.local\) argument to BlackItem is 
deprecated.:pytest.PytestDeprecationWarning
+       ignore:BlackItem is an Item subclass and should not be a 
collector:pytest.PytestWarning
+
+       # tholo/pytest-flake8#83
+       ignore:<class 'pytest_flake8.Flake8Item'> is not using a cooperative 
constructor:pytest.PytestDeprecationWarning
+       ignore:The \(fspath. py.path.local\) argument to Flake8Item is 
deprecated.:pytest.PytestDeprecationWarning
+       ignore:Flake8Item is an Item subclass and should not be a 
collector:pytest.PytestWarning
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.envs-2.0.0/setup.cfg 
new/jaraco.envs-2.4.0/setup.cfg
--- old/jaraco.envs-2.0.0/setup.cfg     2020-02-24 00:42:24.177604700 +0100
+++ new/jaraco.envs-2.4.0/setup.cfg     2022-04-30 01:49:17.030674000 +0200
@@ -1,5 +1,4 @@
 [metadata]
-license_file = LICENSE
 name = jaraco.envs
 author = Jason R. Coombs
 author_email = jar...@jaraco.com
@@ -14,26 +13,35 @@
        Programming Language :: Python :: 3 :: Only
 
 [options]
-packages = find:
+packages = find_namespace:
 include_package_data = true
-python_requires = >=3.6
+python_requires = >=3.7
 install_requires = 
        path
        virtualenv
        tox
-       tox-venv
-setup_requires = setuptools_scm[toml] >= 3.4.1
+
+[options.packages.find]
+exclude = 
+       build*
+       dist*
+       docs*
+       tests*
 
 [options.extras_require]
 testing = 
-       pytest >= 3.5, !=3.7.3
-       pytest-checkdocs >= 1.2.3
+       pytest >= 6
+       pytest-checkdocs >= 2.4
        pytest-flake8
-       pytest-black-multipy
+       pytest-black >= 0.3.7; \
+       python_implementation != "PyPy"
        pytest-cov
+       pytest-mypy >= 0.9.1; \
+       python_implementation != "PyPy"
+       pytest-enabler >= 1.0.1
 docs = 
        sphinx
-       jaraco.packaging >= 3.2
+       jaraco.packaging >= 9
        rst.linker >= 1.9
 
 [options.entry_points]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.envs-2.0.0/setup.py 
new/jaraco.envs-2.4.0/setup.py
--- old/jaraco.envs-2.0.0/setup.py      2020-02-24 00:41:54.000000000 +0100
+++ new/jaraco.envs-2.4.0/setup.py      1970-01-01 01:00:00.000000000 +0100
@@ -1,6 +0,0 @@
-#!/usr/bin/env python
-
-import setuptools
-
-if __name__ == "__main__":
-    setuptools.setup()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.envs-2.0.0/skeleton.md 
new/jaraco.envs-2.4.0/skeleton.md
--- old/jaraco.envs-2.0.0/skeleton.md   2020-02-24 00:41:54.000000000 +0100
+++ new/jaraco.envs-2.4.0/skeleton.md   1970-01-01 01:00:00.000000000 +0100
@@ -1,161 +0,0 @@
-# Overview
-
-This project is merged with [skeleton](https://github.com/jaraco/skeleton). 
What is skeleton? It's the scaffolding of a Python project jaraco [introduced 
in his blog](https://blog.jaraco.com/a-project-skeleton-for-python-projects/). 
It seeks to provide a means to re-use techniques and inherit advances when 
managing projects for distribution.
-
-## An SCM-Managed Approach
-
-While maintaining dozens of projects in PyPI, jaraco derives best practices 
for project distribution and publishes them in the [skeleton 
repo](https://github.com/jaraco/skeleton), a Git repo capturing the evolution 
and culmination of these best practices.
-
-It's intended to be used by a new or existing project to adopt these practices 
and honed and proven techniques. Adopters are encouraged to use the project 
directly and maintain a small deviation from the technique, make their own fork 
for more substantial changes unique to their environment or preferences, or 
simply adopt the skeleton once and abandon it thereafter.
-
-The primary advantage to using an SCM for maintaining these techniques is that 
those tools help facilitate the merge between the template and its adopting 
projects.
-
-Another advantage to using an SCM-managed approach is that tools like GitHub 
recognize that a change in the skeleton is the _same change_ across all 
projects that merge with that skeleton. Without the ancestry, with a 
traditional copy/paste approach, a [commit like 
this](https://github.com/jaraco/skeleton/commit/12eed1326e1bc26ce256e7b3f8cd8d3a5beab2d5)
 would produce notifications in the upstream project issue for each and every 
application, but because it's centralized, GitHub provides just the one 
notification when the change is added to the skeleton.
-
-# Usage
-
-## new projects
-
-To use skeleton for a new project, simply pull the skeleton into a new project:
-
-```
-$ git init my-new-project
-$ cd my-new-project
-$ git pull gh://jaraco/skeleton
-```
-
-Now customize the project to suit your individual project needs.
-
-## existing projects
-
-If you have an existing project, you can still incorporate the skeleton by 
merging it into the codebase.
-
-```
-$ git merge skeleton --allow-unrelated-histories
-```
-
-The `--allow-unrelated-histories` is necessary because the history from the 
skeleton was previously unrelated to the existing codebase. Resolve any merge 
conflicts and commit to the master, and now the project is based on the shared 
skeleton.
-
-## Updating
-
-Whenever a change is needed or desired for the general technique for 
packaging, it can be made in the skeleton project and then merged into each of 
the derived projects as needed, recommended before each release. As a result, 
features and best practices for packaging are centrally maintained and readily 
trickle into a whole suite of packages. This technique lowers the amount of 
tedious work necessary to create or maintain a project, and coupled with other 
techniques like continuous integration and deployment, lowers the cost of 
creating and maintaining refined Python projects to just a few, familiar Git 
operations.
-
-Thereafter, the target project can make whatever customizations it deems 
relevant to the scaffolding. The project may even at some point decide that the 
divergence is too great to merit renewed merging with the original skeleton. 
This approach applies maximal guidance while creating minimal constraints.
-
-# Features
-
-The features/techniques employed by the skeleton include:
-
-- PEP 517/518-based build relying on Setuptools as the build tool
-- Setuptools declarative configuration using setup.cfg
-- tox for running tests
-- A README.rst as reStructuredText with some popular badges, but with Read the 
Docs and AppVeyor badges commented out
-- A CHANGES.rst file intended for publishing release notes about the project
-- Use of [Black](https://black.readthedocs.io/en/stable/) for code formatting 
(disabled on unsupported Python 3.5 and earlier)
-
-## Packaging Conventions
-
-A pyproject.toml is included to enable PEP 517 and PEP 518 compatibility and 
declares the requirements necessary to build the project on Setuptools (a 
minimum version compatible with setup.cfg declarative config).
-
-The setup.cfg file implements the following features:
-
-- Assumes universal wheel for release
-- Advertises the project's LICENSE file (MIT by default)
-- Reads the README.rst file into the long description
-- Some common Trove classifiers
-- Includes all packages discovered in the repo
-- Data files in the package are also included (not just Python files)
-- Declares the required Python versions
-- Declares install requirements (empty by default)
-- Declares setup requirements for legacy environments
-- Supplies two 'extras':
-  - testing: requirements for running tests
-  - docs: requirements for building docs
-  - these extras split the declaration into "upstream" (requirements as 
declared by the skeleton) and "local" (those specific to the local project); 
these markers help avoid merge conflicts
-- Placeholder for defining entry points
-
-Additionally, the setup.py file declares `use_scm_version` which relies on 
[setuptools_scm](https://pypi.org/project/setuptools_scm) to do two things:
-
-- derive the project version from SCM tags
-- ensure that all files committed to the repo are automatically included in 
releases
-
-## Running Tests
-
-The skeleton assumes the developer has [tox](https://pypi.org/project/tox) 
installed. The developer is expected to run `tox` to run tests on the current 
Python version using [pytest](https://pypi.org/project/pytest).
-
-Other environments (invoked with `tox -e {name}`) supplied include:
-
-  - a `docs` environment to build the documentation
-  - a `release` environment to publish the package to PyPI
-
-A pytest.ini is included to define common options around running tests. In 
particular:
-
-- rely on default test discovery in the current directory
-- avoid recursing into common directories not containing tests
-- run doctests on modules and invoke Flake8 tests
-- in doctests, allow Unicode literals and regular literals to match, allowing 
for doctests to run on Python 2 and 3. Also enable ELLIPSES, a default that 
would be undone by supplying the prior option.
-- filters out known warnings caused by libraries/functionality included by the 
skeleton
-
-Relies on a .flake8 file to correct some default behaviors:
-
-- disable mutually incompatible rules W503 and W504
-- support for Black format
-
-## Continuous Integration
-
-The project is pre-configured to run tests through multiple CI providers.
-
-### Azure Pipelines
-
-[Azure 
Pipelines](https://azure.microsoft.com/en-us/services/devops/pipelines/) are 
the preferred provider as they provide free, fast, multi-platform services. See 
azure-pipelines.yml for more details.
-
-Features include:
-
-- test against multiple Python versions
-- run on Ubuntu Bionic
-
-### Travis CI
-
-[Travis CI](https://travis-ci.org) is configured through .travis.yml. Any new 
project must be enabled either through their web site or with the `travis 
enable` command.
-
-Features include:
-- test against Python 3
-- run on Ubuntu Xenial
-- correct for broken IPv6
-
-### AppVeyor
-
-A minimal template for running under AppVeyor (Windows) is provided.
-
-### Continuous Deployments
-
-In addition to running tests, an additional deploy stage is configured to 
automatically release tagged commits to PyPI using [API 
tokens](https://pypi.org/help/#apitoken). The release process expects an 
authorized token to be configured with Azure as the `Azure secrets` variable 
group. This variable group needs to be created only once per organization. For 
example:
-
-```
-# create a resource group if none exists
-az group create --name main --location eastus2
-# create the vault (try different names until something works)
-az keyvault create --name secrets007 --resource-group main
-# create the secret
-az keyvault secret set --vault-name secrets007 --name PyPI-token --value $token
-```
-
-Then, in the web UI for the project's Pipelines Library, create the `Azure 
secrets` variable group referencing the key vault name.
-
-For more details, see [this blog 
entry](https://blog.jaraco.com/configuring-azure-pipelines-with-secets/).
-
-## Building Documentation
-
-Documentation is automatically built by [Read the 
Docs](https://readthedocs.org) when the project is registered with it, by way 
of the .readthedocs.yml file. To test the docs build manually, a tox env may be 
invoked as `tox -e docs`. Both techniques rely on the dependencies declared in 
`setup.cfg/options.extras_require.docs`.
-
-In addition to building the Sphinx docs scaffolded in `docs/`, the docs build 
a `history.html` file that first injects release dates and hyperlinks into the 
CHANGES.rst before incorporating it as history in the docs.
-
-## Cutting releases
-
-By default, tagged commits are released through the continuous integration 
deploy stage.
-
-Releases may also be cut manually by invoking the tox environment `release` 
with the PyPI token set as the TWINE_PASSWORD:
-
-```
-TWINE_PASSWORD={token} tox -e release
-```
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.envs-2.0.0/tests/test_envs.py 
new/jaraco.envs-2.4.0/tests/test_envs.py
--- old/jaraco.envs-2.0.0/tests/test_envs.py    1970-01-01 01:00:00.000000000 
+0100
+++ new/jaraco.envs-2.4.0/tests/test_envs.py    2022-04-30 01:48:55.000000000 
+0200
@@ -0,0 +1,44 @@
+import os
+import sys
+import subprocess
+from shutil import which
+import pathlib
+
+import pytest
+import path
+
+from jaraco import envs
+
+
+env_types = pytest.mark.parametrize("VEnvCls", [envs.VirtualEnv, envs.VEnv])
+
+win37 = 'platform.system() == "Windows" and sys.version_info < (3, 8)'
+
+path_types = pytest.mark.parametrize(
+    "PathCls",
+    [
+        pytest.param(pathlib.Path, marks=pytest.mark.xfail(win37)),
+        path.Path,
+    ],
+)
+
+
+maybe_fspath = os.fspath if sys.version_info < (3, 8) else lambda x: x
+
+
+@env_types
+@path_types
+def test_root_pathlib(tmp_path, VEnvCls, PathCls):
+    venv = VEnvCls()
+    vars(venv).update(
+        root=PathCls(tmp_path), name=".venv", create_opts=VEnvCls.clean_opts
+    )
+    venv.ensure_env()
+
+    possible_bin_dirs = (tmp_path / ".venv/bin", tmp_path / ".venv/Scripts")
+    bin_dir = next(f for f in possible_bin_dirs if f.exists())
+    expected_python = which("python", path=maybe_fspath(bin_dir))
+
+    cmd = [venv.exe(), "-c", "import sys; print(sys.executable)"]
+    out = subprocess.check_output(cmd, text=True).strip()
+    assert os.path.samefile(out, expected_python)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.envs-2.0.0/tox.ini 
new/jaraco.envs-2.4.0/tox.ini
--- old/jaraco.envs-2.0.0/tox.ini       2020-02-24 00:41:54.000000000 +0100
+++ new/jaraco.envs-2.4.0/tox.ini       2022-04-30 01:48:55.000000000 +0200
@@ -3,15 +3,11 @@
 minversion = 3.2
 # https://github.com/jaraco/skeleton/issues/6
 tox_pip_extensions_ext_venv_update = true
-# Ensure that a late version of pip is used even on tox-venv.
-requires =
-       tox-pip-version>=0.0.6
-       tox-venv
+toxworkdir={env:TOX_WORK_DIR:.tox}
 
 
 [testenv]
 deps =
-pip_version = pip
 commands =
        pytest {posargs}
 usedevelop = True
@@ -23,19 +19,21 @@
        testing
 changedir = docs
 commands =
-       python -m sphinx . {toxinidir}/build/html
+       python -m sphinx -W --keep-going . {toxinidir}/build/html
 
 [testenv:release]
 skip_install = True
 deps =
-       pep517>=0.5
-       twine[keyring]>=1.13
-       path
+       build
+       twine>=3
+       jaraco.develop>=7.1
 passenv =
        TWINE_PASSWORD
+       GITHUB_TOKEN
 setenv =
        TWINE_USERNAME = {env:TWINE_USERNAME:__token__}
 commands =
-       python -c "import path; path.Path('dist').rmtree_p()"
-       python -m pep517.build .
+       python -c "import shutil; shutil.rmtree('dist', ignore_errors=True)"
+       python -m build
        python -m twine upload dist/*
+       python -m jaraco.develop.create-github-release

Reply via email to