SHA256
1
0
forked from pool/python-tox
Commit Graph

70 Commits

Author SHA256 Message Date
13ba9a9ffb Accepting request 1162951 from home:ecsos:python
- Fix build error in Leap.
  - Disable one more test.
  - Drop macro %dnl because it works only in rpm version >= 4.15.
    Leap hast 4.14 at this time.
    Also enable it.
  - Fix some python3 typos in spec.

OBS-URL: https://build.opensuse.org/request/show/1162951
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=121
2024-03-28 08:03:04 +00:00
dbcfdd3dea Accepting request 1161549 from home:dancermak:branches:devel:languages:python
New upstream release 4.14.2

OBS-URL: https://build.opensuse.org/request/show/1161549
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=119
2024-03-25 21:32:21 +00:00
150f36e39b Accepting request 1155206 from home:dimstar:Factory
Prepare for RPM 4.20

OBS-URL: https://build.opensuse.org/request/show/1155206
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=117
2024-03-05 14:08:15 +00:00
bc27a8e7b9 - update to 4.11.4:
* Fix `quickstart` command from requiring `root` positional
    argument
  * docs(config): fix default value for install_command
  * Added Python 3.12 in installation docs
  * Fix terminal size in tox commands (#2999)
  * Use the new ruff formatter over black
  * docs(config): Fix base_python default reference
  * Fixed 'AppData' not passed to env by default (#3151)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=115
2023-12-08 16:21:52 +00:00
d6e91d07b5 Accepting request 1124399 from home:ecsos:python
- Fix required versions for BuildRequires and Requieres to use
  right version and to can build under Leap.

OBS-URL: https://build.opensuse.org/request/show/1124399
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=113
2023-11-09 11:20:04 +00:00
cf6fb0401e - update to 4.11.3:
* docs(plugin): explain plugin registration
  * Fix error caused by a bad `base_python` path
  * Fix typos discovered by codespell
  * Providing example to make CLI help more helpful for -x,--
    override
  * Remove stray colons in `config.rst` left over from #3111
  * on venv cleanup: add explicit check for pypy venv to make it possible to recreate it
  * --showconfig overhaul
- Update to 2.1.1:
  * fix issue258, fix issue248, fix issue253: for non-test commands
  * fix issue247: tox now passes the LANG variable from the tox invocation
    invocation environment to the test environment and on Windows
    on unix additionally ``TMPDIR`` is passed.  If you need to pass
    execute: the new per-venv "platform" setting allows to specify
    If platform is set and doesn't match the platform spec in the test
    for testenv sections.  Can be used from plugins through the
    call virtualenv through "python -m virtualenv" with the same
  + fix issue116: make 1.6 introduced behaviour of changing to a
    per-env HOME directory during install activities dependent
  + fix issue117: python2.5 fix: don't use ``--insecure`` option because
    want to support python2.5/pip1.3.1 based test environments you need
  + fix issue91: python2.5 support by vendoring the virtualenv-1.9.1
    script and forcing pip<1.4. Also the default [py25] environment
    to use pip without the "--pre" option which was introduced
    with pip-1.4 and is now required if you want to install non-stable
 - make sure test commands are searched first in the virtualenv
 - show (test) command that is being executed, thanks
 - depend on virtualenv-1.9.1
  + refactor reporting and virtualenv manipulation

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=111
2023-10-05 11:36:34 +00:00
5fbce3fe15 Accepting request 1109638 from home:mschreiner:branches:devel:languages:python
- Refresh mark-network-tests.patch for 4.11.1.
- Rewrite optional_devpi_process.patch for 4.11.1.
- Add explicit numpy built-time dependency, as the one pulled by
  pytest-randomly was broken.
- Fix rpmlint warning: package was obsoleting itself.
- Update to 4.11.1.
- Please check the .changes file for a more complete changelog.

OBS-URL: https://build.opensuse.org/request/show/1109638
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=109
2023-09-08 17:15:07 +00:00
0d1407f509 Accepting request 1092160 from home:ecsos:python
- Fix build error in Leap.
  Change %autopatch -p1 -m 1 to %patch1 -p1

OBS-URL: https://build.opensuse.org/request/show/1092160
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=107
2023-06-12 08:24:01 +00:00
4a14ca407b Accepting request 1090515 from home:dancermak:branches:devel:languages:python
Fix requires & buildrequires

OBS-URL: https://build.opensuse.org/request/show/1090515
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=105
2023-06-02 21:13:14 +00:00
05f5732558 Fix typo
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=102
2023-05-12 13:20:14 +00:00
aa34e2856a Skip more tests
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=101
2023-05-12 13:19:49 +00:00
6c1f7bb642 Temporarily switch off devpi-process
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=100
2023-05-11 07:07:17 +00:00
d425c2befe Correct use of sle15_python_module_pythons
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=99
2023-05-11 06:05:59 +00:00
feaea52c71 - Add optional_devpi_process.patch to make the package not depend
on devpi_process (which is rather expensive to build).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=98
2023-05-10 20:13:37 +00:00
988f896c70 - Add mark-network-tests.patch to skip test which require network
access

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=97
2023-05-10 20:05:27 +00:00
0fbeef6ce6 - Update to 4.5.1:
The amount of changes is so huge, that user is kindly referred
  to the packaged changelog.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=96
2023-05-05 14:45:01 +00:00
4380d511bc Accepting request 1081669 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081669
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=94
2023-04-21 13:30:45 +00:00
83336b68a1 Accepting request 1059852 from home:michals
- Add missing python-tomli dependency.

OBS-URL: https://build.opensuse.org/request/show/1059852
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=92
2023-01-21 06:47:02 +00:00
a1b4186e42 - Remove python2-related parts of the SPEC file.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=90
2022-10-25 18:57:15 +00:00
47d72d0895 Accepting request 1010293 from home:yarunachalam:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1010293
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=88
2022-10-13 07:49:49 +00:00
6fd786ef78 - update to 3.25.1:
* ``sitepackages = true`` will add user's site-package to the python path on Windows as expected
  * Avoid importing ``pipes`` on Python 3.3+ to avoid ``DeprecationWarning`` on Python 3.11
  * Fix ``isolated_build`` when the build process produces stderr at exit.
  * Fixed failing isolated_build because setuptools warning was captured
    in ``build_requires``.
  * Avoid potential 30s delay caused by socket.getfqdn().
  * Ignore missing commands if they are prefixed by ``-``

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=86
2022-07-24 08:07:08 +00:00
b690e99052 Accepting request 942212 from home:dimstar:Factory
- Drop definition of python-tox-doc: this subpackage is not being
  built.

OBS-URL: https://build.opensuse.org/request/show/942212
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=85
2021-12-27 09:15:44 +00:00
bc6b6e89bf - Update to 3.24.4:
- Fixed handling of -e ALL in parallel mode by ignoring the ALL
    in subprocesses -- by :user:`guahki`. #2167
  - Prevent tox from using a truncated interpreter when using
    TOX_LIMITED_SHEBANG -- by :user:`jdknight`. #2208
  - Enabled the use of the favicon in the Sphinx docs first
    introduced in :pull:`764` but not integrated fully --
    :user:`webknjaz` #2177
  - --parallel reports now show ASCII OK/FAIL/SKIP lines when
    full Unicode output is not available - by :user:`brettcs`
    #1421
  - Started enforcing valid references in Sphinx docs --
    :user:`webknjaz` #2168
  - include LC_ALL to implicit list of passenv variables - by
    :user:`ssbarnea` #2162
  - get_requires_for_build_sdist hook (PEP 517) is assumed to
    return an empty list if left unimplemented by the backend
    build system - by :user:`oczkoisse` #2130
  - The documentation of install_command now also mentions that
    you can provide arbitrary commands - by :user:`jugmac00`
    #2081
  - --devenv no longer modifies the directory in which the .tox
    environment is provisioned - by :user:`isaac-ped` #2065
  - Fix show config when the package names are not in canonical
    form - by :user:`gaborbernat`. #2103
  - Extended environment variables section - by :user:`majiang`
    #2036
  - tox no longer shows deprecation warnings for
    distutils.sysconfig on Python 3.10 - by :user:`9999years`
    #2100

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=84
2021-09-26 22:35:25 +00:00
9b19367ee8 Accepting request 874310 from home:bnavigator:branches:devel:languages:python
- Fix wheel location when custom installing into test venv.

OBS-URL: https://build.opensuse.org/request/show/874310
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=82
2021-02-22 13:55:12 +00:00
296d92ae46 Accepting request 863907 from home:bnavigator:branches:devel:languages:python
- Update requirements
- Fix the test suite failure introduced by the switch to
  coinstallable python3 flavors: must be called with plain python
  name for sys.executable to not detect the minor version as
  binary extension (python3.8 --> magic.8)

- Update to v3.21.1

OBS-URL: https://build.opensuse.org/request/show/863907
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=80
2021-01-17 23:13:24 +00:00
c1858f5087 Accepting request 863000 from home:jayvdb:branches:devel:languages:python
- Remove build dependency on pytest-cov
- Re-enable test_create_KeyboardInterrupt and spinner tests
- Update to v0.21.1

OBS-URL: https://build.opensuse.org/request/show/863000
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=78
2021-01-14 09:22:40 +00:00
Tomáš Chvátal
a19fd8bb0c Accepting request 841413 from home:mcalabkova:branches:devel:languages:python
- update to 3.18.0
  * Add allowlist_externals alias to whitelist_externals (whitelist_externals is now deprecated). - by :user:`dajose`
  * Fix tests when the ``HOSTNAME`` environment variable is set, but empty string - by :user:`hroncok`
  * The long arguments ``--verbose`` and ``--quiet`` (rather than only their short forms, ``-v`` and ``-q``) are now accepted.
  * The ``ResultLog`` now prefers ``HOSTNAME`` environment variable value (if set) over the full qualified domain name of localhost.
    This makes it possible to disable an undesired DNS lookup,
    which happened on all ``tox`` invocations, including trivial ones * by :user:`hroncok`
  * Update packaging information for Flit.
  * Fixed the support for using ``{temp_dir}`` in ``tox.ini`` - by :user:`webknjaz`
  * Allow skipping the package and installation step when passing the ``--skip-pkg-install``.

OBS-URL: https://build.opensuse.org/request/show/841413
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=76
2020-10-13 09:31:35 +00:00
Thomas Bechtold
e451518fc1 - update to 3.15.2:
- Add an option to allow a process to suicide before sending the
    SIGTERM.
  - PyPy 7.3.1 on Windows uses the 'Script' folder instead of
    'bin'.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=74
2020-06-26 05:13:24 +00:00
Tomáš Chvátal
06e7f3ae0c Accepting request 807794 from home:stroeder:branches:devel:languages:python
- version update to 3.15.1
  * Allow parallel mode without arguments.
  * Allow generative section name expansion.
  * default to passing the env var PIP_EXTRA_INDEX_URL
  * some bug fixes

OBS-URL: https://build.opensuse.org/request/show/807794
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=72
2020-05-21 09:14:32 +00:00
Tomáš Chvátal
035e2a96a3 Accepting request 794893 from home:pgajdos:python
- version update to 3.14.6
  - Exclude virtualenv depencency versions with known
    regressions (20.0.[0-7]) - by :user:`webknjaz`.
    `#1537 <https://github.com/tox-dev/tox/issues/1537>`_
  - Fix ``tox -h`` and ``tox --hi`` shows an error when run outside a directory with tox support files by :user:`nkpro2000sr`.
    `#1539 <https://github.com/tox-dev/tox/issues/1539>`_

OBS-URL: https://build.opensuse.org/request/show/794893
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=70
2020-04-17 11:58:54 +00:00
Tomáš Chvátal
f92c35672a - Disable spinner tests as the monkeypatch changed behaviour in pytest
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=68
2020-03-20 10:31:08 +00:00
Tomáš Chvátal
57796eeefd OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=67 2020-03-14 10:45:00 +00:00
Tomáš Chvátal
78cf9c7d01 Accepting request 783746 from home:pgajdos:python
- version update to 3.14.5
  - Add ``--discover`` (fallback to ``TOX_DISCOVER`` environment variable via path separator) to inject python executables
    to try as first step of a discovery - note the executable still needs to match the environment by :user:`gaborbernat`.
    `#1526 <https://github.com/tox-dev/tox/issues/1526>`_
  - Bump minimal six version needed to avoid using one incompatible with newer
    virtualenv. - by :user:`ssbarnea`
    `#1519 <https://github.com/tox-dev/tox/issues/1519>`_
  - Avoid pypy test failure due to undefined printout var. - by :user:`ssbarnea`
    `#1521 <https://github.com/tox-dev/tox/issues/1521>`_

OBS-URL: https://build.opensuse.org/request/show/783746
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=66
2020-03-11 11:22:28 +00:00
Tomáš Chvátal
9e8590a7a6 - Update to 3.14.3 bsc#1163043:
* Relax importlib requirement to allow either version 0 or 1 - by :user:`chyzzqo2` #1476

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=64
2020-02-07 12:50:05 +00:00
Tomáš Chvátal
89f902bfe7 Accepting request 749118 from home:frispete:python
- Disable another failing test

OBS-URL: https://build.opensuse.org/request/show/749118
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=62
2019-11-17 19:39:31 +00:00
Tomáš Chvátal
1ea95a9ff8 - Update to 3.14.0:
* Fix PythonSpec detection of python3.10
  * Fix regression failing to detect future and past py## factors
  * Fix current_tox_py for pypy / pypy3
  * Add support for minor versions with multiple digits
  * Remove dependence on md5 hashing algorithm
  * on venv cleanup: add explicit check for pypy venv to make it possible to recreate it 
  * Fix isolated build double-requirement
  * Replace pkg_resources with importlib_metadata for speed

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=60
2019-09-16 13:15:07 +00:00
3c60a4d38a Accepting request 705206 from home:mcepl:branches:devel:languages:python
- Update to 3.12.1:
  - Ensure TOX_WORK_DIR is a native string in os.environ
  - Fix import and usage of winreg for python2.7 on windows
  - Fix Windows selects incorrect spec on first discovery
  - When using --parallel with --result-json the test results are
    now included the same way as with serial runs
  - Turns out the output of the py -0p is not stable yet and
    varies depending on various edge cases. Instead now we read
    the interpreter values directly from registry via PEP-514
  - Adding TOX_PARALLEL_NO_SPINNER environment variable to
    disable the spinner in parallel mode for the purposes of
    clean output when using CI tools

OBS-URL: https://build.opensuse.org/request/show/705206
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=58
2019-05-24 10:25:50 +00:00
Tomáš Chvátal
9363195e7f Accepting request 703495 from home:scarabeus_iv:branches:devel:languages:python
- Update to 3.11.1:
  * When creating virtual environments we no longer ask the python to tell
    its path, but rather use the discovered path.

OBS-URL: https://build.opensuse.org/request/show/703495
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=56
2019-05-16 17:20:47 +00:00
Tomáš Chvátal
ccda5c46d4 Accepting request 703260 from home:jesusaur:branches:devel:languages:python
- Update to 3.11.0:
  * --showconfig overhaul

OBS-URL: https://build.opensuse.org/request/show/703260
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=55
2019-05-15 20:50:35 +00:00
Tomáš Chvátal
643d7c4d8c Accepting request 702721 from home:scarabeus_iv:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/702721
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=54
2019-05-13 23:36:52 +00:00
Tomáš Chvátal
a5577c0985 - Update to 3.10.0:
* Please see changelog.rst

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=53
2019-05-13 23:25:17 +00:00
54614f8cea Accepting request 702057 from home:mcepl:branches:devel:languages:python
- Update to 3.8.1
- Switch build macros to PEP-518 compatible ones

OBS-URL: https://build.opensuse.org/request/show/702057
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=51
2019-05-10 20:13:11 +00:00
Tomáš Chvátal
1528b03197 Accepting request 684316 from home:mcepl:branches:devel:languages:python
- Update to 3.7.0:
  - Parallel mode added (alternative to detox which is being
    deprecated), for more details see `parallel_mode`
  - Added command line shortcut -s for
    --skip-missing-interpreters
  - Whitelisting of externals will be mandatory in tox 4: issue
    a deprecation warning as part of the already existing warning
  - Clarify explanations in examples and avoid unsupported end
    line comments
  - Set to PULL_REQUEST_TEMPLATE.md use relative instead of
    absolute URLs
  - if the packaging phase successfully builds a package set it
    as environment variable under TOX_PACKAGE (useful to make
    assertions on the built package itself, instead of just how
    it ends up after installation)
  - On windows, check sys.executable before others for
    interpreter version lookup. This matches what happens on
    non-windows.
  - Don't rewrite {posargs} substitution for absolute paths.
  - Correctly fail tox --notest when setup fails.
  - Link to related projects (Invoke and Nox) from the
    documentation
- Obsoletes python-detox.

OBS-URL: https://build.opensuse.org/request/show/684316
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=49
2019-03-12 14:45:13 +00:00
Tomáš Chvátal
5ba12ba7ba OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=47 2018-11-01 12:02:30 +00:00
Tomáš Chvátal
89cfd975f0 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=46 2018-10-18 08:14:24 +00:00
Tomáš Chvátal
3de404ed2a - Make sure the tests are executed
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=45
2018-10-18 07:54:24 +00:00
Tomáš Chvátal
5a1677f46d Accepting request 642677 from home:apersaud:branches:devel:languages:python
- specfile:
  * require filelock
  * CHANGELOG.rst ->changelog.rst, added CONTRIBUTORS CONTRIBUTING.rst to doc
  * add fdupes
- update to version 3.5.2:
  * Bugfixes
    + session packages are now put inside a numbered directory
      (instead of prefix numbering it, because pip fails when wheels
      are not named according to `PEP-491
      <https://www.python.org/dev/peps/pep-0491/#id9>`_, and prefix
      numbering messes with this) - by :user:`gaborbernat` (`#1042
      <https://github.com/tox-dev/tox/issues/1042>`_)
  * Features
    + level three verbosity ("-vvv") show the packaging output - by
      :user:`gaborbernat` (`#1047
      <https://github.com/tox-dev/tox/issues/1047>`_)
- changes from version 3.5.1:
  * Bugfixes
    + fix regression with "3.5.0": specifying "--installpkg" raises
      "AttributeError: 'str' object has no attribute 'basename'"
      (`#1042 <https://github.com/tox-dev/tox/issues/1042>`_)
- changes from version 3.5.0:
  * Bugfixes
    + intermittent failures with "--parallel--safe-build", instead of
      mangling with the file paths now uses a lock to make the package
      build operation thread safe and is now on by default
      ("--parallel--safe-build" is now deprecated) - by
      :user:`gaborbernat` (`#1026
      <https://github.com/tox-dev/tox/issues/1026>`_)
  * Features
    + Added "temp_dir" folder configuration (defaults to
      "{toxworkdir}/.tmp") that contains tox temporary files. Package
      builds now create a hard link (if possible, otherwise copy -
      notably in case of Windows Python 2.7) to the built file, and
      feed that file downstream (e.g. for pip to install it). The hard
      link is removed at the end of the run (what it points though is
      kept inside "distdir"). This ensures that a tox session operates
      on the same package it built, even if a parallel tox run builds
      another version. Note "distdir" will contain only the last built
      package in such cases. - by :user:`gaborbernat` (`#1026
      <https://github.com/tox-dev/tox/issues/1026>`_)
  * Documentation
    + document tox environment recreate rules (:ref:`recreate`) - by
      :user:`gaborbernat` (`#93
      <https://github.com/tox-dev/tox/issues/93>`_)
    + document inside the "--help" how to disable colorized output via
      the "PY_COLORS" operating system environment variable - by
      :user:`gaborbernat` (`#163
      <https://github.com/tox-dev/tox/issues/163>`_)
    + document all global tox flags and a more concise format to
      express default and type - by :user:`gaborbernat` (`#683
      <https://github.com/tox-dev/tox/issues/683>`_)
    + document command line interface under the config section `cli
      <https://tox.readthedocs.io/en/latest/config.html?highlight=cli#cli>`_
      - by :user:`gaborbernat` (`#829
      <https://github.com/tox-dev/tox/issues/829>`_)
- changes from version 3.4.0:
  * Bugfixes
    + add "--exists-action w" to default pip flags to handle better
      VCS dependencies (`pip documentation on this
      <https://pip.pypa.io/en/latest/reference/pip/#exists-action-option>`_)
      - by :user:`gaborbernat` (`#503
      <https://github.com/tox-dev/tox/issues/503>`_)
    + instead of assuming the Python version from the base python name
      ask the interpreter to reveal the version for the
      "ignore_basepython_conflict" flag - by :user:`gaborbernat`
      (`#908 <https://github.com/tox-dev/tox/issues/908>`_)
    + PEP-517 packaging fails with sdist already exists, fixed via
      ensuring the dist folder is empty before invoking the backend
      and `pypa/setuptools 1481
      <https://github.com/pypa/setuptools/pull/1481>`_ - by
      :user:`gaborbernat` (`#1003
      <https://github.com/tox-dev/tox/issues/1003>`_)
  * Features
    + add "commands_pre" and "commands_post" that run before and after
      running the "commands" (setup runs always, commands only if
      setup suceeds, teardown always - all run until the first failing
      command) - by :user:`gaborbernat` (`#167
      <https://github.com/tox-dev/tox/issues/167>`_)
    + "pyproject.toml" config support initially by just inline the
      tox.ini under "tool.tox.legacy_tox_ini" key; config source
      priority order is "pyproject.toml", "tox.ini" and then
      "setup.cfg" - by :user:`gaborbernat` (`#814
      <https://github.com/tox-dev/tox/issues/814>`_)
    + use the os environment variable "TOX_SKIP_ENV" to filter out tox
      environment names from the run list (set by "envlist") - by
      :user:`gaborbernat` (`#824
      <https://github.com/tox-dev/tox/issues/824>`_)
    + always set "PIP_USER=0" (do not install into the user site
      package, but inside the virtual environment created) and
      "PIP_NO_DEPS=0" (installing without dependencies can cause
      broken package installations) inside tox - by
      :user:`gaborbernat` (`#838
      <https://github.com/tox-dev/tox/issues/838>`_)
    + tox will inject some environment variables that to indicate a
      command is running within tox: "TOX_WORK_DIR" env var is set to
      the tox work directory, "TOX_ENV_NAME" is set to the current
      running tox environment name, "TOX_ENV_DIR" is set to the
      current tox environments working dir - by :user:`gaborbernat`
      (`#847 <https://github.com/tox-dev/tox/issues/847>`_)
    + While running tox invokes various commands (such as building the
      package, pip installing dependencies and so on), these were
      printed in case they failed as Python arrays. Changed the
      representation to a shell command, allowing the users to quickly
      replicate/debug the failure on their own - by
      :user:`gaborbernat` (`#851
      <https://github.com/tox-dev/tox/issues/851>`_)
    + skip missing interpreters value from the config file can now be
      overridden via the "--skip-missing-interpreters" cli flag - by
      :user:`gaborbernat` (`#903
      <https://github.com/tox-dev/tox/issues/903>`_)
    + keep additional environments config order when listing them - by
      :user:`gaborbernat` (`#921
      <https://github.com/tox-dev/tox/issues/921>`_)
    + allow injecting config value inside the ini file dependent of
      the fact that we're connected to an interactive shell or not -
      by :user:`gaborbernat` (`#947
      <https://github.com/tox-dev/tox/issues/947>`_)
    + do not build sdist if skip install is specified for the envs to
      be run - by :user:`gaborbernat` (`#974
      <https://github.com/tox-dev/tox/issues/974>`_)
    + when verbosity level increases above two start passing through
      verbosity flags to pip - by :user:`gaborbernat` (`#982
      <https://github.com/tox-dev/tox/issues/982>`_)
    + when discovering the interpreter to use check if the tox host
      Python matches and use that if so - by :user:`gaborbernat`
      (`#994 <https://github.com/tox-dev/tox/issues/994>`_)
    + "-vv" will print out why a virtual environment is re-created
      whenever this operation is triggered - by :user:`gaborbernat`
      (`#1004 <https://github.com/tox-dev/tox/issues/1004>`_)
  * Documentation
    + clarify that "python" and "pip" refer to the virtual
      environments executable - by :user:`gaborbernat` (`#305
      <https://github.com/tox-dev/tox/issues/305>`_)
    + add Sphinx and mkdocs example of generating documentation via
      tox - by :user:`gaborbernat` (`#374
      <https://github.com/tox-dev/tox/issues/374>`_)
    + specify that "setup.cfg" tox configuration needs to be inside
      the "tox:tox" namespace - by :user:`gaborbernat` (`#545
      <https://github.com/tox-dev/tox/issues/545>`_)

OBS-URL: https://build.opensuse.org/request/show/642677
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=44
2018-10-18 07:29:30 +00:00
457b24a561 - update to 3.3.0:
- fix ``TOX_LIMITED_SHEBANG`` when running under python3 - by :user:`asottile` (`#931 <https://github.com/tox-dev/tox/issues/931>`_)
  - `PEP-517 <https://www.python.org/dev/peps/pep-0517/>`_ source distribution support (create a
    ``.package`` virtual environment to perform build operations inside) by :user:`gaborbernat` (`#573 <https://github.com/tox-dev/tox/issues/573>`_)
  - `flit <https://flit.readthedocs.io>`_ support via implementing ``PEP-517`` by :user:`gaborbernat` (`#820 <https://github.com/tox-dev/tox/issues/820>`_)
  - packaging now is exposed as a hook via ``tox_package(session, venv)`` - by :user:`gaborbernat` (`#951 <https://github.com/tox-dev/tox/issues/951>`_)
  - Updated the VSTS build YAML to use the latest jobs and pools syntax - by :user:`davidstaheli` (`#955 <https://github.com/tox-dev/tox/issues/955>`_)
  - ``--parallel--safe-build`` no longer cleans up its folders (``distdir``, ``distshare``, ``log``). - by :user:`gaborbernat` (`#849 <https://github.com/tox-dev/tox/issues/849>`_)
  - Switch pip invocations to use the module ``-m pip`` instead of direct invocation. This could help
    avoid some of the shebang limitations.  - by :user:`gaborbernat` (`#935 <https://github.com/tox-dev/tox/issues/935>`_)
  - Ability to specify package requirements for the tox run via the ``tox.ini`` (``tox`` section under key ``requires`` - PEP-508 style): can be used to specify both plugin requirements or build dependencies. - by :user
  :`gaborbernat` (`#783 <https://github.com/tox-dev/tox/issues/783>`_)
  - Allow to run multiple tox instances in parallel by providing the
    ``--parallel--safe-build`` flag. - by :user:`gaborbernat` (`#849 <https://github.com/tox-dev/tox/issues/849>`_)
  - A caching issue that caused the ``develop-inst-nodeps`` action, which
    reinstalls the package under test, to always run has been resolved. The
    ``develop-inst-noop`` action, which, as the name suggests, is a no-op, will now
    run unless there are changes to ``setup.py`` or ``setup.cfg`` files that have
    not been reflected - by @stephenfin (`#909 <https://github.com/tox-dev/tox/issues/909>`_)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=42
2018-09-11 17:01:30 +00:00
Tomáš Chvátal
1781399e33 - Version update to 3.1.2:
* Many changes in the code, dropped support for py <2.7 and <3.3
  * See CHANGELOG.rst
- Do not build sphinx documentation, additional dependencies

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=40
2018-07-17 13:13:11 +00:00
Tomáš Chvátal
c337ba35f8 Accepting request 559357 from home:dimstar:Factory
Fix html doc generation/installation. This never worked (as the current content of python-tox-doc proves) and with rpm 4.14 this even results in an error

OBS-URL: https://build.opensuse.org/request/show/559357
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=38
2017-12-22 13:28:11 +00:00