Compare commits
2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7020984115 | ||
|
|
aa466cd2d6 |
3 changed files with 27 additions and 1 deletions
13
py39.patch
Normal file
13
py39.patch
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
diff --git a/src/tox/constants.py b/src/tox/constants.py
|
||||||
|
index 8dcc86b..1c90e47 100644
|
||||||
|
--- a/src/tox/constants.py
|
||||||
|
+++ b/src/tox/constants.py
|
||||||
|
@@ -30,7 +30,7 @@ def _construct_default_factors(cpython_versions, pypy_versions, other_interprete
|
||||||
|
|
||||||
|
class PYTHON:
|
||||||
|
PY_FACTORS_RE = re.compile("^(?!py$)(py|pypy|jython)([2-9][0-9]?)?$")
|
||||||
|
- CPYTHON_VERSION_TUPLES = [(2, 7), (3, 4), (3, 5), (3, 6), (3, 7), (3, 8)]
|
||||||
|
+ CPYTHON_VERSION_TUPLES = [(2, 7), (3, 4), (3, 5), (3, 6), (3, 7), (3, 8), (3, 9)]
|
||||||
|
PYPY_VERSION_TUPLES = [(2, 7), (3, 5)]
|
||||||
|
OTHER_PYTHON_INTERPRETERS = ["jython"]
|
||||||
|
DEFAULT_FACTORS = _construct_default_factors(
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
%global pypi_name tox
|
%global pypi_name tox
|
||||||
Name: python-%{pypi_name}
|
Name: python-%{pypi_name}
|
||||||
Version: 3.13.2
|
Version: 3.13.2
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Virtualenv-based automation of test activities
|
Summary: Virtualenv-based automation of test activities
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
|
|
@ -19,6 +19,10 @@ Source0: %{pypi_source}
|
||||||
# Rebased from https://github.com/tox-dev/tox/pull/1368
|
# Rebased from https://github.com/tox-dev/tox/pull/1368
|
||||||
Patch0: 1368.patch
|
Patch0: 1368.patch
|
||||||
|
|
||||||
|
# Run py39 env with Python 3.9
|
||||||
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1798929
|
||||||
|
Patch1: py39.patch
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
|
@ -55,6 +59,7 @@ Recommends: python35
|
||||||
Recommends: python36
|
Recommends: python36
|
||||||
Recommends: python37
|
Recommends: python37
|
||||||
Recommends: python38
|
Recommends: python38
|
||||||
|
Recommends: python39
|
||||||
Recommends: pypy2-devel
|
Recommends: pypy2-devel
|
||||||
Recommends: pypy3-devel
|
Recommends: pypy3-devel
|
||||||
Recommends: python2-devel
|
Recommends: python2-devel
|
||||||
|
|
@ -146,6 +151,10 @@ rm -rf .path
|
||||||
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
|
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Feb 06 2020 Miro Hrončok <mhroncok@redhat.com> - 3.13.2-3
|
||||||
|
- Fix invocation with Python 3.9 (#1798929)
|
||||||
|
- Recommend Python 3.9
|
||||||
|
|
||||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.13.2-2
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.13.2-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,9 @@
|
||||||
- smoke38:
|
- smoke38:
|
||||||
dir: python/smoke
|
dir: python/smoke
|
||||||
run: VERSION=3.8 ./venv.sh
|
run: VERSION=3.8 ./venv.sh
|
||||||
|
- smoke39:
|
||||||
|
dir: python/smoke
|
||||||
|
run: VERSION=3.9 ./venv.sh
|
||||||
required_packages:
|
required_packages:
|
||||||
- gcc
|
- gcc
|
||||||
- virtualenv
|
- virtualenv
|
||||||
|
|
@ -43,6 +46,7 @@
|
||||||
- python36
|
- python36
|
||||||
- python37
|
- python37
|
||||||
- python38
|
- python38
|
||||||
|
- python39
|
||||||
- python2-devel
|
- python2-devel
|
||||||
- python3-devel
|
- python3-devel
|
||||||
- python3-tox
|
- python3-tox
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue