diff --git a/.gitignore b/.gitignore index e69de29..9cf42c3 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,4 @@ +/virtualenv-*.tar.gz +/virtualenv-*/ +/results_python-virtualenv/ +*.rpm diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..282e16b --- /dev/null +++ b/gating.yaml @@ -0,0 +1,7 @@ +--- !Policy +product_versions: + - fedora-* +decision_context: bodhi_update_push_stable +subject_type: koji_build +rules: + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} diff --git a/python-virtualenv.spec b/python-virtualenv.spec new file mode 100644 index 0000000..93b5b8e --- /dev/null +++ b/python-virtualenv.spec @@ -0,0 +1,414 @@ +Name: python-virtualenv +Version: 20.0.32 +Release: 1%{?dist} +Summary: Tool to create isolated Python environments + +License: MIT +URL: http://pypi.python.org/pypi/virtualenv +Source0: %{pypi_source virtualenv} + +# Add /usr/share/python-wheels to extra_search_dir +Patch1: rpm-wheels.patch + +BuildArch: noarch + +BuildRequires: python3-appdirs +BuildRequires: python3-devel +BuildRequires: python3-distlib +BuildRequires: python3-filelock +BuildRequires: python3-setuptools +BuildRequires: python3-setuptools_scm +BuildRequires: python3-six + +# docs need sphinx >= 3 +# docs need towncrier and that is not yet available when bootstrapping Python +%bcond_with docs +%if %{with docs} +BuildRequires: python3-sphinx +BuildRequires: python3-sphinx_rtd_theme +BuildRequires: python3-towncrier +%endif + +%bcond_without tests +%if %{with tests} +BuildRequires: fish +BuildRequires: gcc +BuildRequires: python3-coverage +BuildRequires: python3-flaky +BuildRequires: python3-packaging +BuildRequires: python3-pytest +BuildRequires: python3-pytest-xdist +BuildRequires: python3-pytest-mock +BuildRequires: python3-pytest-randomly +BuildRequires: python3-pytest-timeout +# FTBFS with Py 3.9: https://bugzilla.redhat.com/show_bug.cgi?id=1817770 +# BuildRequires: xonsh +%endif + +# RPM installed wheels +BuildRequires: python-pip-wheel +BuildRequires: python-setuptools-wheel +BuildRequires: python-wheel-wheel + +%description +virtualenv is a tool to create isolated Python environments. virtualenv +is a successor to workingenv, and an extension of virtual-python. It is +written by Ian Bicking, and sponsored by the Open Planning Project. It is +licensed under an MIT-style permissive license. + + +%package -n python3-virtualenv +Summary: Tool to create isolated Python environments + +Requires: python3-appdirs +Requires: python3-distlib +Requires: python3-filelock +Requires: python3-setuptools +Requires: python3-six +Obsoletes: python3-virtualenv-python26 < 16.6 +%{?python_provide:%python_provide python3-virtualenv} + +# Provide "virtualenv" for convenience +Provides: virtualenv = %{version}-%{release} + +# RPM installed wheels +Requires: python-pip-wheel +Requires: python-setuptools-wheel +Requires: python-wheel-wheel + +%description -n python3-virtualenv +virtualenv is a tool to create isolated Python environments. virtualenv +is a successor to workingenv, and an extension of virtual-python. It is +written by Ian Bicking, and sponsored by the Open Planning Project. It is +licensed under an MIT-style permissive license + + +%if %{with docs} +%package -n python-virtualenv-doc +Summary: Documentation for python virtualenv + +%description -n python-virtualenv-doc +Documentation for python virtualenv. +%endif + + +%prep +%autosetup -p1 -n virtualenv-%{version} +%{__sed} -i -e "1s|#!/usr/bin/env python||" tasks/update_embedded.py + +# Remove the wheels provided by RPM packages +rm src/virtualenv/seed/wheels/embed/pip-* +rm src/virtualenv/seed/wheels/embed/setuptools-* +rm src/virtualenv/seed/wheels/embed/wheel-* + +test ! -f src/virtualenv/seed/embed/wheels/*.whl + +%build +# Build code +%{py3_build} + +# Build docs +%if %{with docs} +PYTHONPATH=src %{python3} setup.py build_sphinx +rm -f build/sphinx/html/.buildinfo +%endif + +%install +%{py3_install} + +%if %{with tests} +%check +mkdir tmp_path +ln -s $(realpath %{__python3}) tmp_path/python +export PATH="$(pwd)/tmp_path:$PATH" +unset SOURCE_DATE_EPOCH + +# Skip tests which requires internet or some extra dependencies +# Requires internet: +# - test_download_* +# Uses disabled functionalities around bundled wheels: +# - test_wheel_* +# - test_seed_link_via_app_data +# - test_base_bootstrap_via_pip_invoke +# - test_acquire_find_wheel.py (whole file) +# Uses disabled functionalities around automatic updates: +# - test_periodic_update.py (whole file) +%pytest -vv -k "not test_acquire_find_wheel and not test_periodic_update and not test_wheel_ and not test_download_ and not test_base_bootstrap_via_pip_invoke and not test_seed_link_via_app_data" + +rm -r tmp_path +%endif + +%files -n python3-virtualenv +%license LICENSE +%doc docs/*rst README.md +%{_bindir}/virtualenv +%{python3_sitelib}/virtualenv/ +%{python3_sitelib}/virtualenv-*.egg-info/ + +%if %{with docs} +%files -n python-virtualenv-doc +%doc build/sphinx/* +%endif + + +%changelog +* Fri Oct 02 2020 Lumír Balhar - 20.0.32-1 +- Update to 20.0.32 (#1884449) + +* Thu Sep 03 2020 Lumír Balhar - 20.0.31-1 +- Update to 20.0.31 (#1869352) + +* Thu Aug 06 2020 Lumír Balhar - 20.0.30-1 +- Update to 20.0.30 (#1862562) + +* Wed Jul 29 2020 Fedora Release Engineering - 20.0.28-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jul 24 2020 Miro Hrončok - 20.0.28-1 +- Update to 20.0.28 +- Fixes rhbz#1860272 + +* Thu Jul 23 2020 Lumír Balhar - 20.0.27-1 +- Update to 20.0.27 (#1854551) + +* Tue Jun 23 2020 Lumír Balhar - 20.0.25-1 +- Update to 20.0.25 + +* Mon Jun 15 2020 Lumír Balhar - 20.0.23-1 +- Update to 20.0.23 (#1742034) + +* Sat May 23 2020 Miro Hrončok - 16.7.10-2 +- Rebuilt for Python 3.9 + +* Tue Feb 25 2020 Miro Hrončok - 16.7.10-1 +- Update to 16.7.10 +- Explicitly require setuptools < 44 with Python 3.4 + +* Thu Jan 30 2020 Fedora Release Engineering - 16.7.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Tue Sep 03 2019 Miro Hrončok - 16.7.3-2 +- Prefer wheels bundled in Python's ensurepip module over the RPM built ones +- This allows continuing support for Python 3.4 in Fedora 32+ + +* Wed Aug 21 2019 Charalampos Stratakis - 16.7.3-1 +- Update to 16.7.3 (#1742034) + +* Fri Aug 16 2019 Miro Hrončok - 16.6.1-3 +- Rebuilt for Python 3.8 + +* Mon Jul 29 2019 Miro Hrončok - 16.6.1-2 +- Drop python2-virtualenv + +* Thu Jul 11 2019 Miro Hrončok - 16.6.1-1 +- Update to 16.6.1 (#1699031) +- No more Python 2.6 or Jython support +- Drop runtime dependency on pythonX-devel + +* Sat Feb 02 2019 Fedora Release Engineering - 16.0.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Thu Dec 13 2018 Miro Hrončok - 16.0.0-6 +- Don't fail on missing certifi's cert bundle (#1655253) + +* Wed Aug 15 2018 Miro Hrončok - 16.0.0-5 +- Use wheels from RPM packages +- Put wheels needed for Python 2.6 into a subpackage +- Only have one /usr/bin/virtualenv (#1599422) +- Provide "virtualenv" (#1502670) + +* Wed Jul 18 2018 Miro Hrončok - 16.0.0-4 +- Reintroduce support for Python 2.6 (#1602347) +- Add missing bundled provides + +* Sat Jul 14 2018 Fedora Release Engineering - 16.0.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Sat Jun 16 2018 Miro Hrončok - 16.0.0-2 +- Rebuilt for Python 3.7 + +* Thu May 17 2018 Steve Milner - 16.0.0-1 +- Updated for upstream release. + +* Wed Feb 28 2018 Iryna Shcherbina - 15.1.0-5 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + +* Fri Feb 09 2018 Fedora Release Engineering - 15.1.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Fri Sep 29 2017 Troy Dawson - 15.1.0-3 +- Cleanup spec file conditionals + +* Thu Jul 27 2017 Fedora Release Engineering - 15.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Mon Jun 12 2017 Steve Milner - 15.1.0-1 +- Update to 15.1.0 per https://bugzilla.redhat.com/show_bug.cgi?id=1454962 + +* Fri Feb 17 2017 Michal Cyprian - 15.0.3-6 +- Check if exec_dir exists before listing it's content during venv create process + +* Sat Feb 11 2017 Fedora Release Engineering - 15.0.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed Jan 4 2017 Steve Milner - 15.0.3-4 +- Updated version binaries per discussion at bz#1385240. + +* Tue Dec 13 2016 Stratakis Charalampos - 15.0.3-3 +- Rebuild for Python 3.6 + +* Mon Oct 17 2016 Steve Milner - 15.0.3-2 +- Added MAJOR symlinks per bz#1385240. + +* Mon Aug 8 2016 Steve Milner - 15.0.3-1 +- Update for upstream release. + +* Tue Jul 19 2016 Fedora Release Engineering - 14.0.6-2 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Sun Feb 21 2016 Orion Poplawski - 14.0.6-1 +- Update to 14.0.6 + +* Tue Feb 2 2016 Orion Poplawski - 13.1.2-4 +- Modernize spec +- Fix python3 package file ownership + +* Wed Dec 2 2015 Orion Poplawski - 13.1.2-3 +- Move documentation to separate package (bug #1219139) + +* Wed Oct 14 2015 Robert Kuska - 13.1.2-2 +- Rebuilt for Python3.5 rebuild + +* Mon Aug 24 2015 Steve Milner - 13.1.2-1 +- Update for upstream release. + +* Thu Jun 18 2015 Fedora Release Engineering - 12.0.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Mon Mar 16 2015 Matej Stuchlik - 12.0.7-1 +- Update to 12.0.7 + +* Thu Jan 15 2015 Matthias Runge - 1.11.6-2 +- add a python3-package, thanks to Matej Stuchlik (rhbz#1179150) + +* Wed Jul 09 2014 Matthias Runge - 1.11.6-1 +- update to 1.11.6: + Upstream updated setuptools to 3.6, updated pip to 1.5.6 + +* Sun Jun 08 2014 Fedora Release Engineering - 1.10.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Thu Aug 15 2013 Steve 'Ashcrow' Milner - 1.10.1-1 +- Upstream upgraded pip to v1.4.1 +- Upstream upgraded setuptools to v0.9.8 (fixes CVE-2013-1633) + +* Sun Aug 04 2013 Fedora Release Engineering - 1.9.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Tue May 14 2013 Toshio Kuratomi - 1.9.1-1 +- Update to upstream 1.9.1 because of security issues with the bundled + python-pip in older releases. This is just a quick fix until a + python-virtualenv maintainer can unbundle the python-pip package + see: https://bugzilla.redhat.com/show_bug.cgi?id=749378 + +* Thu Feb 14 2013 Fedora Release Engineering - 1.7.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Tue Aug 14 2012 Steve Milner - 1.7.2-1 +- Update for upstream bug fixes. +- Added path for versioned binary. +- Patch no longer required. + +* Sat Jul 21 2012 Fedora Release Engineering - 1.7.1.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Wed Mar 14 2012 Steve 'Ashcrow' Milner - 1.7.1.2-1 +- Update for upstream bug fixes. +- Added patch for sphinx building + +* Sat Jan 14 2012 Fedora Release Engineering - 1.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Dec 20 2011 Steve 'Ashcrow' Milner - 1.7-1 +- Update for https://bugzilla.redhat.com/show_bug.cgi?id=769067 + +* Wed Feb 09 2011 Fedora Release Engineering - 1.5.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Sat Oct 16 2010 Steve 'Ashcrow' Milner - 1.5.1-1 +- Added _weakrefset requirement for Python 2.7.1. +- Add support for PyPy. +- Uses a proper temporary dir when installing environment requirements. +- Add --prompt option to be able to override the default prompt prefix. +- Add fish and csh activate scripts. + +* Thu Jul 22 2010 David Malcolm - 1.4.8-4 +- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild + +* Wed Jul 7 2010 Steve 'Ashcrow' Milner - 1.4.8-3 +- Fixed EPEL installation issue from BZ#611536 + +* Wed Jun 9 2010 Steve 'Ashcrow' Milner - 1.4.8-2 +- Only replace the python shebang on the first line (Robert Buchholz) + +* Wed Apr 28 2010 Steve 'Ashcrow' Milner - 1.4.8-1 +- update pip to 0.7 +- move regen-docs into bin/ +- Fix #31, make activate_this.py work on Windows (use Lib/site-packages) +unset PYTHONHOME envioronment variable -- first step towards fixing the PYTHONHOME issue; see e.g. https://bugs.launchpad.net/virtualenv/+bug/290844 +- unset PYTHONHOME in the (Unix) activate script (and reset it in deactivate()) +- use the activate.sh in virtualenv.py via running bin/rebuild-script.py +- add warning message if PYTHONHOME is set + +* Fri Apr 2 2010 Steve 'Ashcrow' Milner - 1.4.6-1 +- allow script creation without setuptools +- fix problem with --relocate when bin/ has subdirs (fixes #12) +- Allow more flexible .pth file fixup +- make nt a required module, along with posix. it may not be a builtin module on jython +- don't mess with PEP 302-supplied __file__, from CPython, and merge in a small startup optimization for Jython, from Jython + +* Tue Dec 22 2009 Steve 'Ashcrow' Milner - 1.4.3-1 +- Updated for upstream release. + +* Thu Nov 12 2009 Steve 'Ashcrow' Milner - 1.4.2-1 +- Updated for upstream release. + +* Sun Jul 26 2009 Fedora Release Engineering - 1.3.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Tue Apr 28 2009 Steve 'Ashcrow' Milner - 1.3.3-1 +- Updated for upstream release. + +* Thu Feb 26 2009 Fedora Release Engineering - 1.3.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Thu Dec 25 2008 Steve 'Ashcrow' Milner - 1.3.2-1 +- Updated for upstream release. + +* Thu Dec 04 2008 Ignacio Vazquez-Abrams - 1.3.1-4 +- Rebuild for Python 2.6 + +* Mon Dec 1 2008 Steve 'Ashcrow' Milner - 1.3.1-3 +- Added missing dependencies. + +* Sat Nov 29 2008 Ignacio Vazquez-Abrams - 1.3.1-2 +- Rebuild for Python 2.6 + +* Fri Nov 28 2008 Steve 'Ashcrow' Milner - 1.3.1-1 +- Updated for upstream release + +* Sun Sep 28 2008 Steve 'Ashcrow' Milner - 1.3-1 +- Updated for upstream release + +* Sat Aug 30 2008 Steve 'Ashcrow' Milner - 1.2-1 +- Updated for upstream release + +* Fri Aug 29 2008 Steve 'Ashcrow' Milner - 1.1-3 +- Updated from review notes + +* Thu Aug 28 2008 Steve 'Ashcrow' Milner - 1.1-2 +- Updated from review notes + +* Tue Aug 26 2008 Steve 'Ashcrow' Milner - 1.1-1 +- Initial Version diff --git a/rpm-wheels.patch b/rpm-wheels.patch new file mode 100644 index 0000000..e6604a3 --- /dev/null +++ b/rpm-wheels.patch @@ -0,0 +1,128 @@ +From 1fd2cb13860a9111c98a0151e1951fdbac49ee16 Mon Sep 17 00:00:00 2001 +From: Lumir Balhar +Date: Tue, 23 Jun 2020 09:02:20 +0200 +Subject: [PATCH] rpm wheels + +--- + src/virtualenv/run/__init__.py | 5 +++-- + src/virtualenv/seed/embed/base_embed.py | 7 +++++- + src/virtualenv/seed/embed/pip_invoke.py | 1 + + .../seed/embed/via_app_data/via_app_data.py | 1 + + src/virtualenv/seed/wheels/embed/__init__.py | 3 +++ + src/virtualenv/util/path/_system_wheels.py | 22 +++++++++++++++++++ + 6 files changed, 36 insertions(+), 3 deletions(-) + create mode 100644 src/virtualenv/util/path/_system_wheels.py + +diff --git a/src/virtualenv/run/__init__.py b/src/virtualenv/run/__init__.py +index 8de7962..3df28b6 100644 +--- a/src/virtualenv/run/__init__.py ++++ b/src/virtualenv/run/__init__.py +@@ -74,8 +74,9 @@ def build_parser_only(args=None): + + def handle_extra_commands(options): + if options.upgrade_embed_wheels: +- result = manual_upgrade(options.app_data) +- raise SystemExit(result) ++ # result = manual_upgrade(options.app_data) ++ logging.warning("virtualenv installed from the RPM package uses wheels from RPM packages as well. Updating them via virtualenv is not possible. The RPM packaged wheels are updated together with other RPM packages of the system.") ++ raise SystemExit(1) + + + def load_app_data(args, parser, options): +diff --git a/src/virtualenv/seed/embed/base_embed.py b/src/virtualenv/seed/embed/base_embed.py +index f41b5fc..1b8e8fc 100644 +--- a/src/virtualenv/seed/embed/base_embed.py ++++ b/src/virtualenv/seed/embed/base_embed.py +@@ -6,11 +6,12 @@ from six import add_metaclass + + from virtualenv.util.path import Path + from virtualenv.util.six import ensure_str, ensure_text ++from virtualenv.util.path._system_wheels import get_system_wheels_paths + + from ..seeder import Seeder + from ..wheels import Version + +-PERIODIC_UPDATE_ON_BY_DEFAULT = True ++PERIODIC_UPDATE_ON_BY_DEFAULT = False + + + @add_metaclass(ABCMeta) +@@ -115,3 +116,7 @@ class BaseEmbed(Seeder): + + def __repr__(self): + return ensure_str(self.__unicode__()) ++ ++ def insert_system_wheels_paths(self, creator): ++ system_wheels_paths = get_system_wheels_paths(creator.interpreter.executable) ++ self.extra_search_dir = list(system_wheels_paths) + self.extra_search_dir +diff --git a/src/virtualenv/seed/embed/pip_invoke.py b/src/virtualenv/seed/embed/pip_invoke.py +index 372e140..9bedb00 100644 +--- a/src/virtualenv/seed/embed/pip_invoke.py ++++ b/src/virtualenv/seed/embed/pip_invoke.py +@@ -17,6 +17,7 @@ class PipInvoke(BaseEmbed): + def run(self, creator): + if not self.enabled: + return ++ self.insert_system_wheels_paths(creator) + for_py_version = creator.interpreter.version_release_str + with self.get_pip_install_cmd(creator.exe, for_py_version) as cmd: + env = pip_wheel_env_run(self.extra_search_dir, self.app_data) +diff --git a/src/virtualenv/seed/embed/via_app_data/via_app_data.py b/src/virtualenv/seed/embed/via_app_data/via_app_data.py +index 779ee18..d6f2157 100644 +--- a/src/virtualenv/seed/embed/via_app_data/via_app_data.py ++++ b/src/virtualenv/seed/embed/via_app_data/via_app_data.py +@@ -39,6 +39,7 @@ class FromAppData(BaseEmbed): + def run(self, creator): + if not self.enabled: + return ++ self.insert_system_wheels_paths(creator) + with self._get_seed_wheels(creator) as name_to_whl: + pip_version = name_to_whl["pip"].version_tuple if "pip" in name_to_whl else None + installer_class = self.installer_class(pip_version) +diff --git a/src/virtualenv/seed/wheels/embed/__init__.py b/src/virtualenv/seed/wheels/embed/__init__.py +index d118754..bc747d5 100644 +--- a/src/virtualenv/seed/wheels/embed/__init__.py ++++ b/src/virtualenv/seed/wheels/embed/__init__.py +@@ -48,8 +48,11 @@ BUNDLE_SUPPORT = { + } + MAX = "3.10" + ++# Redefined here because bundled wheels are removed in RPM build ++BUNDLE_SUPPORT = None + + def get_embed_wheel(distribution, for_py_version): ++ return None # BUNDLE_SUPPORT == None anyway + path = BUNDLE_FOLDER / (BUNDLE_SUPPORT.get(for_py_version, {}) or BUNDLE_SUPPORT[MAX]).get(distribution) + return Wheel.from_path(path) + +diff --git a/src/virtualenv/util/path/_system_wheels.py b/src/virtualenv/util/path/_system_wheels.py +new file mode 100644 +index 0000000..a968dee +--- /dev/null ++++ b/src/virtualenv/util/path/_system_wheels.py +@@ -0,0 +1,22 @@ ++from subprocess import check_output, CalledProcessError ++ ++from virtualenv.util.path import Path ++ ++ ++def get_system_wheels_paths(executable): ++ # ensurepip wheels ++ # We need subprocess here to check ensurepip with the Python we are creating ++ # a new virtual environment for ++ try: ++ ensurepip_path = check_output((executable, "-u", "-c", 'import ensurepip; print(ensurepip.__path__[0])'), universal_newlines=True) ++ ensurepip_path = Path(ensurepip_path.strip()) / "_bundled" ++ except CalledProcessError: ++ pass ++ else: ++ if ensurepip_path.is_dir(): ++ yield ensurepip_path ++ ++ # Standard wheels path ++ wheels_dir = Path("/usr/share/python-wheels") ++ if wheels_dir.exists(): ++ yield wheels_dir +-- +2.26.2 + diff --git a/sources b/sources new file mode 100644 index 0000000..bd5ae01 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (virtualenv-20.0.32.tar.gz) = 6080a395df16cc4d38a3afa90337fe0f60ce1d6906c4d62f461c90c67df2967a27144def0891407a96405d7b1ca8b838a0daeed4ccc775ffee35f7dc14f54598 diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..cab111c --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,50 @@ +--- +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + repositories: + - repo: "https://src.fedoraproject.org/tests/python.git" + dest: "python" + tests: + - smoke27: + dir: python/smoke + run: VERSION=2.7 METHOD=virtualenv ./venv.sh + - smoke34_optional: + dir: python/smoke + run: VERSION=3.4 METHOD=virtualenv INSTALL_OR_SKIP=true ./venv.sh + - smoke34nd_optional: + dir: python/smoke + run: VERSION=3.4 METHOD=virtualenv-no-download INSTALL_OR_SKIP=true ./venv.sh + - smoke34sp_optional: + dir: python/smoke + run: VERSION=3.4 METHOD=virtualenv-seeder-pip INSTALL_OR_SKIP=true ./venv.sh + - smoke35: + dir: python/smoke + run: VERSION=3.5 METHOD=virtualenv ./venv.sh + - smoke36: + dir: python/smoke + run: VERSION=3.6 METHOD=virtualenv ./venv.sh + - smoke37: + dir: python/smoke + run: VERSION=3.7 METHOD=virtualenv ./venv.sh + - smoke38: + dir: python/smoke + run: VERSION=3.8 METHOD=virtualenv ./venv.sh + - smoke38nd: + dir: python/smoke + run: VERSION=3.8 METHOD=virtualenv-no-download ./venv.sh + - smoke38sp: + dir: python/smoke + run: VERSION=3.8 METHOD=virtualenv-seeder-pip ./venv.sh + required_packages: + - gcc + - virtualenv + - python27 + - python35 + - python36 + - python37 + - python38 + - python3-devel + - python3-tox