SHA256
1
0
forked from pool/python-tox

Compare commits

...

6 Commits

Author SHA256 Message Date
Dominique Leuenberger
ad328760fe Accepting request 1222849 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1222849
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tox?expand=0&rev=58
2024-11-09 19:57:54 +00:00
13c8c75f90 - Update to 4.23.2
- Support external tox.pytest usage via "test" extra in #3422
- Changes from 4.23.1
  - Docs: adjusting EOL Python version testing remarks in #3417
  - Fix example docs in #3421
- Changes from 4.23.0
  - replace tool.pyproject and tool.tox.pyproject with tool.tox in config… in #3411
  - Add NETRC to the default_pass_env list in #3410
- Changes from 4.22.0
  - Fix the fix environment definition in #3407
  - Expose type checking dependencies into an extra in #3404
  - Add dependency-groups support (PEP-735) in #3409
- Changes from 4.21.2
  - Update sdist rules to include tox.toml (#3389) in #3390
- Changes from 4.21.1
  - Fix TOML configuration errors in #3388
- Changes from 4.21.0
  - Update Loader docs in #3352
  - True TOML config support in #3353
- Changes from 4.20.0
  - Separate list dependencies to a separate installer class in #3347
- Changes from 4.19.0
  - Add pypy-major.minor environment name support in #3346
- Changes from 4.18.1
  - Fixup the spec string for sys.executable in #3327
  - Fix issue link in changelog in #3332
  - Properly document the tox_env_teardown hook in #3333
  - Add 3.13 to CI and bump deps in #3339
- Changes from 4.18.0
  - Fix #3278 - Boost temporary directories cleanup in tests in #3323
  - Fix absolute base python paths conflicting in #3325
  - Fix #3318 - Suppress spinner in parallel runs in CI in #3321
- Changes from 4.17.1
  - Fix user guide system overview so nodes don't overlap. in #3307
  - Table with list of default env vars per OS in #3291
  - Add GraalPy and test both GraalPy and Jython env identifiers in #3312
  - Add on platform constat to core in #3315
- Changes from 4.17.0
  - Fix user guide system overview so nodes don't overlap. in #3307
  - Table with list of default env vars per OS in #3291
  - Add GraalPy and test both GraalPy and Jython env identifiers in #3312
  - Add on platform constat to core in #3315
- Changes from 4.16.0
  - Fix two small documentation issues in #3297
  - Fix tests after new setuptools in #3299
  - Add windir to the default list of pass_env variables on Windows in #3303
- Changes from 4.15.1
  - fix skip with package = wheel in #3269
  - Fixed typo in user guide.  in #3277
  - Fix broad build privileges @ GHA release workflow in #3281
  - Allow ConfigSet.add_config to receive parameterized generics for of_type. in #3288
  - Fix section substitution with setenv in #3289
- Changes from 4.15.0
  - Remove duplicated and misleading configuration section in #3251
  - Fix dropped leading characters c from constraints' packages in #3250
  - Fix type-checking in #3260
  - Update installation.rst in #3257
  - Allow appending to deps with the command line in #3259
  - Support multiple override appends in #3261
  - Add bang to invert exit code in #3271
  - fix(parser): Fix --discover parsed incorrectly from env in #3274

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=127
2024-11-08 15:02:46 +00:00
Ana Guerrero
a9ff102457 Accepting request 1206399 from devel:languages:python
- Skip test_skip_develop_mode (gh#tox-dev/tox#3399)
- Rename patches:
  - 0001-Make-use-of-devpi_process-optional.patch to optional_devpi_process.patch
  - 0002-skip-test-which-require-network-access.patch to mark-network-tests.patch
  which removes these two patches:
  - 0001-Make-use-of-devpi_process-optional.patch
  - 0002-skip-test-which-require-network-access.patch

OBS-URL: https://build.opensuse.org/request/show/1206399
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tox?expand=0&rev=57
2024-10-09 20:12:32 +00:00
ebf63e82d6 Record renaming of patches
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=125
2024-10-08 21:13:46 +00:00
b1eee1c314 - Skip test_skip_develop_mode (gh#tox-dev/tox#3399)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=124
2024-10-08 19:21:09 +00:00
6ad457597f WIP
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=123
2024-10-07 14:45:14 +00:00
6 changed files with 105 additions and 24 deletions

View File

@ -8,25 +8,25 @@ Subject: [PATCH 2/2] skip test which require network access
.../python/virtual_env/package/test_package_cmd_builder.py | 1 +
2 files changed, 4 insertions(+)
diff --git a/pyproject.toml b/pyproject.toml
index 5e9b104a..b81c63ad 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -147,6 +147,9 @@ count = true
[tool.pytest.ini_options]
testpaths = ["tests"]
Index: tox-4.23.2/pyproject.toml
===================================================================
--- tox-4.23.2.orig/pyproject.toml
+++ tox-4.23.2/pyproject.toml
@@ -146,6 +146,9 @@ testpaths = [
"tests",
]
addopts = "--tb=auto -ra --showlocals --no-success-flaky-report"
+markers = [
+ "network: tests requiring network connection",
+]
# Keep temporary directories only for failed or errored tests.
tmp_path_retention_policy = "failed"
[tool.coverage]
html.show_contexts = true
diff --git a/tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py b/tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py
index d29fe257..fb49a984 100644
--- a/tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py
+++ b/tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py
@@ -87,6 +87,7 @@ def test_install_pkg_via(tox_project: ToxProjectCreator, mode: str, pkg_with_ext
Index: tox-4.23.2/tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py
===================================================================
--- tox-4.23.2.orig/tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py
+++ tox-4.23.2/tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py
@@ -86,6 +86,7 @@ def test_install_pkg_via(tox_project: To
@pytest.mark.usefixtures("enable_pip_pypi_access")
@ -34,6 +34,3 @@ index d29fe257..fb49a984 100644
def test_build_wheel_external(tox_project: ToxProjectCreator, demo_pkg_inline: Path) -> None:
ini = """
[testenv]
--
2.44.0

View File

@ -1,3 +1,79 @@
-------------------------------------------------------------------
Wed Nov 6 18:21:14 UTC 2024 - ecsos <ecsos@opensuse.org>
- Update to 4.23.2
- Support external tox.pytest usage via "test" extra in #3422
- Changes from 4.23.1
- Docs: adjusting EOL Python version testing remarks in #3417
- Fix example docs in #3421
- Changes from 4.23.0
- replace tool.pyproject and tool.tox.pyproject with tool.tox in config… in #3411
- Add NETRC to the default_pass_env list in #3410
- Changes from 4.22.0
- Fix the fix environment definition in #3407
- Expose type checking dependencies into an extra in #3404
- Add dependency-groups support (PEP-735) in #3409
- Changes from 4.21.2
- Update sdist rules to include tox.toml (#3389) in #3390
- Changes from 4.21.1
- Fix TOML configuration errors in #3388
- Changes from 4.21.0
- Update Loader docs in #3352
- True TOML config support in #3353
- Changes from 4.20.0
- Separate list dependencies to a separate installer class in #3347
- Changes from 4.19.0
- Add pypy-major.minor environment name support in #3346
- Changes from 4.18.1
- Fixup the spec string for sys.executable in #3327
- Fix issue link in changelog in #3332
- Properly document the tox_env_teardown hook in #3333
- Add 3.13 to CI and bump deps in #3339
- Changes from 4.18.0
- Fix #3278 - Boost temporary directories cleanup in tests in #3323
- Fix absolute base python paths conflicting in #3325
- Fix #3318 - Suppress spinner in parallel runs in CI in #3321
- Changes from 4.17.1
- Fix user guide system overview so nodes don't overlap. in #3307
- Table with list of default env vars per OS in #3291
- Add GraalPy and test both GraalPy and Jython env identifiers in #3312
- Add on platform constat to core in #3315
- Changes from 4.17.0
- Fix user guide system overview so nodes don't overlap. in #3307
- Table with list of default env vars per OS in #3291
- Add GraalPy and test both GraalPy and Jython env identifiers in #3312
- Add on platform constat to core in #3315
- Changes from 4.16.0
- Fix two small documentation issues in #3297
- Fix tests after new setuptools in #3299
- Add windir to the default list of pass_env variables on Windows in #3303
- Changes from 4.15.1
- fix skip with package = wheel in #3269
- Fixed typo in user guide. in #3277
- Fix broad build privileges @ GHA release workflow in #3281
- Allow ConfigSet.add_config to receive parameterized generics for of_type. in #3288
- Fix section substitution with setenv in #3289
- Changes from 4.15.0
- Remove duplicated and misleading configuration section in #3251
- Fix dropped leading characters c from constraints' packages in #3250
- Fix type-checking in #3260
- Update installation.rst in #3257
- Allow appending to deps with the command line in #3259
- Support multiple override appends in #3261
- Add bang to invert exit code in #3271
- fix(parser): Fix --discover parsed incorrectly from env in #3274
-------------------------------------------------------------------
Tue Oct 8 19:20:42 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
- Skip test_skip_develop_mode (gh#tox-dev/tox#3399)
- Rename patches:
- 0001-Make-use-of-devpi_process-optional.patch to optional_devpi_process.patch
- 0002-skip-test-which-require-network-access.patch to mark-network-tests.patch
which removes these two patches:
- 0001-Make-use-of-devpi_process-optional.patch
- 0002-skip-test-which-require-network-access.patch
-------------------------------------------------------------------
Wed Mar 27 16:33:24 UTC 2024 - ecsos <ecsos@opensuse.org>

View File

@ -23,14 +23,18 @@
%bcond_with devpi_process
%endif
Name: python-tox
Version: 4.14.2
Version: 4.23.2
Release: 0
Summary: Virtualenv-based automation of test activities
License: MIT
URL: https://github.com/tox-dev/tox
Source: https://files.pythonhosted.org/packages/source/t/tox/tox-%{version}.tar.gz
Patch0: 0001-Make-use-of-devpi_process-optional.patch
Patch1: 0002-skip-test-which-require-network-access.patch
# PATCH-FIX-OPENSUSE optional_devpi_process.patch mcepl@suse.com
# Make use devpi_process optional
Patch0: optional_devpi_process.patch
# PATCH-FEATURE-UPSTREAM mark-network-tests.patch mcepl@suse.com
# to skip test which require network access
Patch1: mark-network-tests.patch
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module build >= 0.10.0}
BuildRequires: %{python_module cachetools >= 5.3.2}
@ -73,7 +77,7 @@ Requires: python-virtualenv >= 20.24.3
Requires: (python-importlib-metadata >= 0.12 if python-base < 3.8)
Requires: (python-tomli >= 2.0.1 if python-base < 3.11)
Requires(post): update-alternatives
Requires(postun): update-alternatives
Requires(postun):update-alternatives
# last detox version is 0.19
Obsoletes: python-detox <= 0.19
Provides: python-detox > 0.19
@ -147,6 +151,10 @@ donttest+=" or test_python_generate_hash_seed"
donttest+=" or test_bad_env_var"
# this test doesn't work on Leap
donttest+=" or test_package_cmd_builder"
# this test doesn't work on Tumbleweed
donttest+=" or test_package_pyproject or test_package_only"
# gh#tox-dev/tox#3399
donttest+=" or test_skip_develop_mode"
%{python_expand # tests expect an active virtualenv with a clean python name as sys.executable
virtualenv-%{$python_bin_suffix} --system-site-packages testenv-%{$python_bin_suffix}

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0defb44f6dafd911b61788325741cc6b2e12ea71f987ac025ad4d649f1f1a104
size 178515

3
tox-4.23.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:86075e00e555df6e82e74cfc333917f91ecb47ffbc868dcafbd2672e332f4a2c
size 189998