pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-tox



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Feb 17 10:21:08 UTC 2022

Modified Files:
        pkgsrc/devel/py-tox: Makefile distinfo

Log Message:
py-tox: updated to 3.24.5

v3.24.5 (2021-12-29)

Bugfixes
- Fixed an issue where ``usedevelop`` would cause an invocation error if setup.py does not exist. -- by :user:`VincentVanlaer`

v3.24.4 (2021-09-16)
--------------------

Bugfixes
- Fixed handling of ``-e ALL`` in parallel mode by ignoring the ``ALL`` in subprocesses -- by :user:`guahki`.
- Prevent tox from using a truncated interpreter when using
  ``TOX_LIMITED_SHEBANG`` -- by :user:`jdknight`.

Documentation
- Enabled the use of the favicon in the Sphinx docs first
  introduced in :pull:`764` but not integrated fully

v3.24.3 (2021-08-21)
--------------------

Bugfixes
- ``--parallel`` reports now show ASCII OK/FAIL/SKIP lines when full Unicode output is not available

Miscellaneous
- Started enforcing valid references in Sphinx docs -- :user:`webknjaz`

v3.24.2 (2021-08-18)
--------------------

Bugfixes
- include ``LC_ALL`` to implicit list of passenv variables

v3.24.1 (2021-07-31)
--------------------

Bugfixes
- ``get_requires_for_build_sdist`` hook (PEP 517) is assumed to return an empty list if left unimplemented by the backend build system

Documentation
- The documentation of ``install_command`` now also mentions that you can provide arbitrary commands

v3.24.0 (2021-07-14)
--------------------

Bugfixes
- ``--devenv`` no longer modifies the directory in which the ``.tox`` environment is provisioned
- Fix show config when the package names are not in canonical form

Documentation
- Extended environment variables section

Miscellaneous
- ``tox`` no longer shows deprecation warnings for ``distutils.sysconfig`` on
  Python 3.10

v3.23.1 (2021-05-05)
--------------------

Bugfixes
- Distinguish between normal Windows Python and MSYS2 Python when looking for
  virtualenv executable path.  Adds os.sep to :class:`~tox.interpreters.InterpreterInfo`
- Fix a ``tox-conda`` isolation build bug

Documentation
- Update examples in the documentation to use ``setenv`` in the ``[testenv]`` sections, not wrongly in the ``[tox]`` main section.

Miscellaneous
- Enable building tox with ``setuptools_scm`` 6+ by :user:`hroncok`

v3.23.0 (2021-03-03)
--------------------

Features
- tox can now be invoked with a new ``--no-provision`` flag that prevents provision,
  if :conf:`requires` or :conf:`minversion` are not satisfied,
  tox will fail;
  if a path is specified as an argument to the flag
  (e.g. as ``tox --no-provision missing.json``) and provision is prevented,
  provision metadata are written as JSON to that path
- Unicode support in ``pyproject.toml``

v3.22.0 (2021-02-16)
--------------------

Features
- The value of the :conf:`requires` configuration option is now exposed via
  the :class:`tox.config.Config` object

v3.21.4 (2021-02-02)
--------------------

Bugfixes
- Adapt tests not to assume the ``easy_install`` command exists, as it was removed from ``setuptools`` 52.0.0+

v3.21.3 (2021-01-28)
--------------------

Bugfixes
- Fix a killed tox (via SIGTERM) leaving the commands subprocesses running
  by handling it as if it were a KeyboardInterrupt

v3.21.2 (2021-01-19)
--------------------

Bugfixes
- Newer coverage tools update the ``COV_CORE_CONTEXT`` environment variable, add it to the list of environment variables
  that can change in our pytest plugin

v3.21.1 (2021-01-13)
--------------------

Bugfixes
- Fix regression that broke using install_command in config replacements
- Fix regression parsing posargs default containing colon.

Features
- Prevent .tox in envlist

Miscellaneous
- Enable building tox with ``setuptools_scm`` 4 and 5 by :user:`hroncok`

v3.21.0 (2021-01-08)
--------------------

Bugfixes
- Fix the false ``congratulations`` message that appears when a ``KeyboardInterrupt`` occurs during package installation.
- Fix ``platform`` support for ``install_command``.
- Fixed regression in v3.20.0 that caused escaped curly braces in setenv
  to break usage of the variable elsewhere in tox.ini.
- Prevent ``{}`` and require ``{:`` is only followed by ``}``.
- Raise ``MissingSubstitution`` on access of broken ini setting.

Features
- Allow \{ and \} in default of {env:key:default}.
- Allow {posargs} in setenv.
- Allow {/} to refer to os.sep.
- Make parsing [testenv] sections in setup.cfg official.
- Relax importlib requirement to allow 3.0.0 or any newer version

Documentation
- Document more info about using ``platform`` setting.
- Replace ``indexserver`` in documentation with environment variables
- Document that the ``passenv`` environment setting is case insensitive.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 pkgsrc/devel/py-tox/Makefile
cvs rdiff -u -r1.19 -r1.20 pkgsrc/devel/py-tox/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-tox/Makefile
diff -u pkgsrc/devel/py-tox/Makefile:1.26 pkgsrc/devel/py-tox/Makefile:1.27
--- pkgsrc/devel/py-tox/Makefile:1.26   Tue Jan 25 09:05:11 2022
+++ pkgsrc/devel/py-tox/Makefile        Thu Feb 17 10:21:08 2022
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.26 2022/01/25 09:05:11 wiz Exp $
+# $NetBSD: Makefile,v 1.27 2022/02/17 10:21:08 adam Exp $
 
-DISTNAME=      tox-3.20.1
+DISTNAME=      tox-3.24.5
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   2
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=t/tox/}
 
@@ -11,7 +10,9 @@ HOMEPAGE=     https://tox.readthedocs.io/
 COMMENT=       Virtualenv-based automation of test activities
 LICENSE=       mit
 
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools_scm>0:../../devel/py-setuptools_scm
 DEPENDS+=      ${PYPKGPREFIX}-filelock>=3.0.0:../../devel/py-filelock
+DEPENDS+=      ${PYPKGPREFIX}-packaging>=14:../../devel/py-packaging
 DEPENDS+=      ${PYPKGPREFIX}-pluggy>=0.12.0:../../devel/py-pluggy
 DEPENDS+=      ${PYPKGPREFIX}-py>=1.4.17:../../devel/py-py
 DEPENDS+=      ${PYPKGPREFIX}-six>=1.14.0:../../lang/py-six
@@ -21,6 +22,7 @@ TEST_DEPENDS+=        ${PYPKGPREFIX}-flaky>=3.4
 TEST_DEPENDS+= ${PYPKGPREFIX}-freezegun>=0.3.11:../../devel/py-freezegun
 TEST_DEPENDS+= ${PYPKGPREFIX}-pathlib2>=2.3.3:../../devel/py-pathlib2
 TEST_DEPENDS+= ${PYPKGPREFIX}-psutil>=5.6.1:../../sysutils/py-psutil
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=4.0.0:../../devel/py-test-cov
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=2.5.1:../../devel/py-test-cov
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock>=1.10.0:../../devel/py-test-mock
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-randomly>=1.0.0:../../devel/py-test-randomly
@@ -31,13 +33,11 @@ TEST_DEPENDS+=      ${PYPKGPREFIX}-test-xdist
 PYTHON_VERSIONED_DEPENDENCIES+=        importlib-metadata
 .endif
 
-PYTHON_VERSIONED_DEPENDENCIES+=        packaging
-PYTHON_VERSIONED_DEPENDENCIES+=        test:test
-PYTHON_VERSIONED_DEPENDENCIES+=        setuptools_scm:build
+USE_LANGUAGES= # none
 
 USE_PKG_RESOURCES=     yes
 
-USE_LANGUAGES= # none
+PYTHON_VERSIONS_INCOMPATIBLE=  27 # py-filelock
 
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
@@ -45,8 +45,7 @@ post-install:
        ${MV} tox-quickstart tox-quickstart-${PYVERSSUFFIX} || ${TRUE}
 
 do-test:
-       cd ${WRKSRC} && pytest-${PYVERSSUFFIX}
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
 
 .include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-tox/distinfo
diff -u pkgsrc/devel/py-tox/distinfo:1.19 pkgsrc/devel/py-tox/distinfo:1.20
--- pkgsrc/devel/py-tox/distinfo:1.19   Tue Oct 26 10:19:11 2021
+++ pkgsrc/devel/py-tox/distinfo        Thu Feb 17 10:21:08 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.19 2021/10/26 10:19:11 nia Exp $
+$NetBSD: distinfo,v 1.20 2022/02/17 10:21:08 adam Exp $
 
-BLAKE2s (tox-3.20.1.tar.gz) = 36596083e60626d6f19f366caf9597552343f28afecf68733b58e1a01366ca58
-SHA512 (tox-3.20.1.tar.gz) = 73d6b6ca98cc9de628038360fe0af50ecfac1e7949735fde49fd38d85c9fcc517d897eeb287da0388265e689941ef3b63956349b4be409197a164039cb1ba1ae
-Size (tox-3.20.1.tar.gz) = 306796 bytes
+BLAKE2s (tox-3.24.5.tar.gz) = 3094de3e062938645d2f32ef709ec915347cbf35b8dc904924e09faab7ce4dca
+SHA512 (tox-3.24.5.tar.gz) = 2b047c5682c2c57268fb46055207388d060fb31511d6e442dc49244a5ac53c4d2fecd7bb9a8e33bb02b580192926592523dfb991c4bd8b216559f71a1c548f9a
+Size (tox-3.24.5.tar.gz) = 315605 bytes



Home | Main Index | Thread Index | Old Index