Compare commits
32 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3892e328b5 | |||
| ddf10dfd97 | |||
| 342ccc3ad6 | |||
| e397ccab93 | |||
| 5584e15d42 | |||
| d26fbb9080 | |||
| 4376928134 | |||
| 14341febae | |||
| 209db2d293 | |||
| 63e08a75ee | |||
| 06c069c47a | |||
| fa72b0fde2 | |||
| 74dbc54dd4 | |||
| 4d63ff2e74 | |||
| 05bd04f5d1 | |||
| 711d8b1e0a | |||
| b19590b062 | |||
| e211fd32f5 | |||
| db235e6949 | |||
| cfeb6f62b4 | |||
| 6396237446 | |||
| 1fa73714da | |||
| 35402f3233 | |||
| eb01aeacf9 | |||
| 016585cd11 | |||
| 2366fa0eb8 | |||
| 647bdaa833 | |||
| 6bb0cf1583 | |||
| f2f7e4abd6 | |||
| 6e144e99cd | |||
| a9d086676a | |||
| 0598f683e3 |
@@ -0,0 +1 @@
|
|||||||
|
1
|
||||||
@@ -1,3 +1,4 @@
|
|||||||
/tox-current-env-*.tar.gz
|
/tox-current-env-*.tar.gz
|
||||||
|
/tox_current_env-*.tar.gz
|
||||||
results_python-tox-current-env/
|
results_python-tox-current-env/
|
||||||
*.rpm
|
*.rpm
|
||||||
|
|||||||
@@ -0,0 +1,90 @@
|
|||||||
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.11-7
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.11-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.11-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jun 16 2023 Python Maint <python-maint@redhat.com> - 0.0.11-4
|
||||||
|
- Rebuilt for Python 3.12
|
||||||
|
|
||||||
|
* Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 0.0.11-3
|
||||||
|
- Bootstrap for Python 3.12
|
||||||
|
|
||||||
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.11-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jan 10 2023 Miro Hrončok <mhroncok@redhat.com> - 0.0.11-1
|
||||||
|
- Update to 0.0.11 with tox 4.1.2+ support
|
||||||
|
|
||||||
|
* Wed Dec 14 2022 Miro Hrončok <mhroncok@redhat.com> - 0.0.10-1
|
||||||
|
- Update to 0.0.10 with tox 4 support
|
||||||
|
|
||||||
|
* Wed Dec 07 2022 Miro Hrončok <mhroncok@redhat.com> - 0.0.8-4
|
||||||
|
- Run tests during the package build
|
||||||
|
|
||||||
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.8-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.0.8-2
|
||||||
|
- Rebuilt for Python 3.11
|
||||||
|
|
||||||
|
* Wed Mar 02 2022 Miro Hrončok <mhroncok@redhat.com> - 0.0.8-1
|
||||||
|
- Update to 0.0.8 to support allowlist_externals
|
||||||
|
|
||||||
|
* Mon Feb 07 2022 Miro Hrončok <mhroncok@redhat.com> - 0.0.7-1
|
||||||
|
- Update to 0.0.7 to pin tox < 4
|
||||||
|
|
||||||
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Aug 05 2021 Miro Hrončok <mhroncok@redhat.com> - 0.0.6-4
|
||||||
|
- In %%check, test if the module at least imports
|
||||||
|
|
||||||
|
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-3
|
||||||
|
- Second attempt - Rebuilt for
|
||||||
|
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 0.0.6-2
|
||||||
|
- Rebuilt for Python 3.10
|
||||||
|
|
||||||
|
* Mon Mar 29 2021 Miro Hrončok <mhroncok@redhat.com> - 0.0.6-1
|
||||||
|
- Update to 0.0.6
|
||||||
|
|
||||||
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Nov 25 2020 Miro Hrončok <mhroncok@redhat.com> - 0.0.5-1
|
||||||
|
- Update to 0.0.5
|
||||||
|
|
||||||
|
* Wed Nov 04 2020 Miro Hrončok <mhroncok@redhat.com> - 0.0.4-1
|
||||||
|
- Update to 0.0.4
|
||||||
|
|
||||||
|
* Wed Sep 30 2020 Miro Hrončok <mhroncok@redhat.com> - 0.0.3-1
|
||||||
|
- Update to 0.0.3
|
||||||
|
|
||||||
|
* Wed Aug 12 2020 Miro Hrončok <mhroncok@redhat.com> - 0.0.2-7
|
||||||
|
- Fix FTBFS with pyproject-rpm-macros >= 0-23
|
||||||
|
|
||||||
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.2-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 0.0.2-5
|
||||||
|
- Rebuilt for Python 3.9
|
||||||
|
|
||||||
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.2-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.0.2-3
|
||||||
|
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
||||||
|
|
||||||
|
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.0.2-2
|
||||||
|
- Rebuilt for Python 3.8
|
||||||
|
|
||||||
|
* Mon Aug 12 2019 Miro Hrončok <mhroncok@redhat.com> - 0.0.2-1
|
||||||
|
- Update to 0.0.2
|
||||||
|
|
||||||
|
* Wed Jul 24 2019 Miro Hrončok <mhroncok@redhat.com> - 0.0.1-1
|
||||||
|
- Initial package
|
||||||
+11
@@ -0,0 +1,11 @@
|
|||||||
|
upstream_project_url: https://github.com/fedora-python/tox-current-env
|
||||||
|
copy_upstream_release_description: false
|
||||||
|
create_sync_note: false
|
||||||
|
upstream_tag_template: v{version}
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
- job: pull_from_upstream
|
||||||
|
trigger: release
|
||||||
|
dist_git_branches:
|
||||||
|
rawhide:
|
||||||
|
fast_forward_merge_into: [fedora-branched, epel-10]
|
||||||
@@ -0,0 +1,35 @@
|
|||||||
|
execute:
|
||||||
|
how: tmt
|
||||||
|
|
||||||
|
discover:
|
||||||
|
- name: rpms_pyproject-rpm-macros
|
||||||
|
how: shell
|
||||||
|
url: https://src.fedoraproject.org/rpms/pyproject-rpm-macros.git
|
||||||
|
tests:
|
||||||
|
- name: pyproject_pytest
|
||||||
|
path: /tests
|
||||||
|
test: ./mocktest.sh python-pytest
|
||||||
|
- name: pyproject_pluggy
|
||||||
|
path: /tests
|
||||||
|
test: ./mocktest.sh python-pluggy
|
||||||
|
- name: pyproject_openqa_client
|
||||||
|
path: /tests
|
||||||
|
test: ./mocktest.sh python-openqa_client
|
||||||
|
- name: pyproject_httpbin
|
||||||
|
path: /tests
|
||||||
|
test: ./mocktest.sh python-httpbin
|
||||||
|
- name: pyproject_ldap
|
||||||
|
path: /tests
|
||||||
|
test: ./mocktest.sh python-ldap
|
||||||
|
|
||||||
|
prepare:
|
||||||
|
- name: Install dependencies
|
||||||
|
how: install
|
||||||
|
package:
|
||||||
|
- mock
|
||||||
|
- rpmdevtools
|
||||||
|
- rpm-build
|
||||||
|
- dnf
|
||||||
|
- name: Update packages
|
||||||
|
how: shell
|
||||||
|
script: dnf upgrade -y
|
||||||
+22
-73
@@ -1,14 +1,15 @@
|
|||||||
%global pypi_name tox-current-env
|
%bcond bootstrap 0
|
||||||
%global pypi_under tox_current_env
|
# Tests are enabled by default, unless bootstrapping (for pytest-xdist)
|
||||||
|
%bcond tests %{without bootstrap}
|
||||||
|
|
||||||
Name: python-%{pypi_name}
|
Name: python-tox-current-env
|
||||||
Version: 0.0.8
|
Version: 0.0.16
|
||||||
Release: 1%{?dist}
|
Release: %autorelease
|
||||||
Summary: Tox plugin to run tests in current Python environment
|
Summary: Tox plugin to run tests in current Python environment
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/fedora-python/tox-current-env
|
URL: https://github.com/fedora-python/tox-current-env
|
||||||
Source0: %{pypi_source}
|
Source0: %{pypi_source tox_current_env}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: python%{python3_pkgversion}-devel
|
BuildRequires: python%{python3_pkgversion}-devel
|
||||||
@@ -18,21 +19,21 @@ BuildRequires: pyproject-rpm-macros
|
|||||||
The tox-current-env plugin allows to run tests in current Python environment.
|
The tox-current-env plugin allows to run tests in current Python environment.
|
||||||
|
|
||||||
|
|
||||||
%package -n python%{python3_pkgversion}-%{pypi_name}
|
%package -n python%{python3_pkgversion}-tox-current-env
|
||||||
Summary: %{summary}
|
Summary: %{summary}
|
||||||
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}
|
%{?python_provide:%python_provide python%{python3_pkgversion}-tox-current-env}
|
||||||
|
|
||||||
%description -n python%{python3_pkgversion}-%{pypi_name}
|
%description -n python%{python3_pkgversion}-tox-current-env
|
||||||
The tox-current-env plugin allows to run tests in current Python environment.
|
The tox-current-env plugin allows to run tests in current Python environment.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{pypi_name}-%{version}
|
%autosetup -n tox_current_env-%{version}
|
||||||
|
|
||||||
|
|
||||||
%generate_buildrequires
|
%generate_buildrequires
|
||||||
# Don't use %%pyproject_buildrequires -t/-e to avoid a build dependency loop
|
# Don't use %%pyproject_buildrequires -t/-e to avoid a build dependency loop
|
||||||
%pyproject_buildrequires -r
|
%pyproject_buildrequires %{?with_tests:-x tests}
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@@ -41,74 +42,22 @@ The tox-current-env plugin allows to run tests in current Python environment.
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%pyproject_install
|
%pyproject_install
|
||||||
%pyproject_save_files %{pypi_under}
|
%pyproject_save_files tox_current_env
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# the tests currently only work within actual tox and with various Python
|
# hooks[34].py are imported in hooks.py based on tox version so we have to
|
||||||
# versions installed, so we skip them and do an import check only instead:
|
# exclude them here.
|
||||||
%pyproject_check_import
|
%pyproject_check_import -e '*.hooks?'
|
||||||
|
%if %{with tests}
|
||||||
|
# deselected tests run tox without the options for this plugin and hence they need internet
|
||||||
|
%pytest -k "not regular and not noquiet_installed_packages[None]"
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%files -n python%{python3_pkgversion}-%{pypi_name} -f %{pyproject_files}
|
%files -n python%{python3_pkgversion}-tox-current-env -f %{pyproject_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Mar 02 2022 Miro Hrončok <mhroncok@redhat.com> - 0.0.8-1
|
%autochangelog
|
||||||
- Update to 0.0.8 to support allowlist_externals
|
|
||||||
|
|
||||||
* Mon Feb 07 2022 Miro Hrončok <mhroncok@redhat.com> - 0.0.7-1
|
|
||||||
- Update to 0.0.7 to pin tox < 4
|
|
||||||
|
|
||||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-5
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Aug 05 2021 Miro Hrončok <mhroncok@redhat.com> - 0.0.6-4
|
|
||||||
- In %%check, test if the module at least imports
|
|
||||||
|
|
||||||
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-3
|
|
||||||
- Second attempt - Rebuilt for
|
|
||||||
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 0.0.6-2
|
|
||||||
- Rebuilt for Python 3.10
|
|
||||||
|
|
||||||
* Mon Mar 29 2021 Miro Hrončok <mhroncok@redhat.com> - 0.0.6-1
|
|
||||||
- Update to 0.0.6
|
|
||||||
|
|
||||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Nov 25 2020 Miro Hrončok <mhroncok@redhat.com> - 0.0.5-1
|
|
||||||
- Update to 0.0.5
|
|
||||||
|
|
||||||
* Wed Nov 04 2020 Miro Hrončok <mhroncok@redhat.com> - 0.0.4-1
|
|
||||||
- Update to 0.0.4
|
|
||||||
|
|
||||||
* Wed Sep 30 2020 Miro Hrončok <mhroncok@redhat.com> - 0.0.3-1
|
|
||||||
- Update to 0.0.3
|
|
||||||
|
|
||||||
* Wed Aug 12 2020 Miro Hrončok <mhroncok@redhat.com> - 0.0.2-7
|
|
||||||
- Fix FTBFS with pyproject-rpm-macros >= 0-23
|
|
||||||
|
|
||||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.2-6
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 0.0.2-5
|
|
||||||
- Rebuilt for Python 3.9
|
|
||||||
|
|
||||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.2-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.0.2-3
|
|
||||||
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
||||||
|
|
||||||
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.0.2-2
|
|
||||||
- Rebuilt for Python 3.8
|
|
||||||
|
|
||||||
* Mon Aug 12 2019 Miro Hrončok <mhroncok@redhat.com> - 0.0.2-1
|
|
||||||
- Update to 0.0.2
|
|
||||||
|
|
||||||
* Wed Jul 24 2019 Miro Hrončok <mhroncok@redhat.com> - 0.0.1-1
|
|
||||||
- Initial package
|
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
SHA512 (tox-current-env-0.0.8.tar.gz) = b169cae94a984b78ecfcaadb0b68fc2cd3f1e037320b87824439d4c0f19f04e07d05a618b7e7532da62479a41fa6606e0bbadd6e5cf626f62d21eb66c6ef34cb
|
SHA512 (tox_current_env-0.0.16.tar.gz) = bc97710b266c84219d80979df930953883995ff0526051c4e46fa62074a68865d18013143425851e9cd300d6836b155bfe3b17d9ee618015c631405e52c02805
|
||||||
|
|||||||
@@ -1,29 +0,0 @@
|
|||||||
---
|
|
||||||
- hosts: localhost
|
|
||||||
roles:
|
|
||||||
- role: standard-test-basic
|
|
||||||
tags:
|
|
||||||
- classic
|
|
||||||
repositories:
|
|
||||||
- repo: "https://src.fedoraproject.org/rpms/pyproject-rpm-macros.git"
|
|
||||||
dest: "pyproject-rpm-macros"
|
|
||||||
tests:
|
|
||||||
- pyproject_pytest:
|
|
||||||
dir: pyproject-rpm-macros/tests
|
|
||||||
run: ./mocktest.sh python-pytest
|
|
||||||
- pyproject_pluggy:
|
|
||||||
dir: pyproject-rpm-macros/tests
|
|
||||||
run: ./mocktest.sh python-pluggy
|
|
||||||
- pyproject_openqa_client:
|
|
||||||
dir: pyproject-rpm-macros/tests
|
|
||||||
run: ./mocktest.sh python-openqa_client
|
|
||||||
- pyproject_httpbin:
|
|
||||||
dir: pyproject-rpm-macros/tests
|
|
||||||
run: ./mocktest.sh python-httpbin
|
|
||||||
- pyproject_ldap:
|
|
||||||
dir: pyproject-rpm-macros/tests
|
|
||||||
run: ./mocktest.sh python-ldap
|
|
||||||
required_packages:
|
|
||||||
- mock
|
|
||||||
- rpmdevtools
|
|
||||||
- rpm-build
|
|
||||||
Reference in New Issue
Block a user