Compare commits

...

54 Commits

Author SHA1 Message Date
Fedora Release Engineering 3892e328b5 Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 10:12:51 +00:00
Python Maint ddf10dfd97 Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 14:38:08 +02:00
Python Maint 342ccc3ad6 Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 15:02:25 +02:00
Lukáš Zachar e397ccab93 CI: Drop STI and use tmt instead
Resolves: rhbz#2383051

[skip changelog]
2025-08-05 01:23:26 +02:00
Fedora Release Engineering 5584e15d42 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 10:50:05 +00:00
Python Maint d26fbb9080 Rebuilt for Python 3.14 2025-06-03 17:09:54 +02:00
Python Maint 4376928134 Bootstrap for Python 3.14 2025-06-03 08:00:20 +02:00
Packit 14341febae Update to 0.0.16 upstream release
- Resolves: rhbz#2351720

Upstream tag: v0.0.16
Upstream commit: d4ed1c67

Commit authored by Packit automation (https://packit.dev/)
2025-03-12 17:52:23 +00:00
Packit 209db2d293 Update to 0.0.15 upstream release
- Resolves: rhbz#2349945

Upstream tag: v0.0.15
Upstream commit: 09d599d7

Commit authored by Packit automation (https://packit.dev/)
2025-03-05 09:15:41 +00:00
Miro Hrončok 63e08a75ee Use packit
[skip changelog]
2025-03-05 10:12:24 +01:00
Fedora Release Engineering 06c069c47a Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-18 20:13:09 +00:00
Miro Hrončok fa72b0fde2 Update to 0.0.14
- Introduces --print-dependency-groups-to (PEP 735)
2024-10-29 17:50:30 +01:00
Miro Hrončok 74dbc54dd4 Update to 0.0.12 2024-09-02 11:32:32 +02:00
Miro Hrončok 4d63ff2e74 Allow to use the bootstrap bcond to disable tests
This makes it possible to bootstrap the package in EPEL 10
without flipping the bcond in the spec.

The bootstrap bcond needs to be defined before the Release tag to change %dist value.

[skip changelog]
2024-08-22 00:13:33 +02:00
Fedora Release Engineering 05bd04f5d1 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-19 16:36:38 +00:00
Python Maint 711d8b1e0a Rebuilt for Python 3.13 2024-06-08 00:03:03 +02:00
Python Maint b19590b062 Bootstrap for Python 3.13 2024-06-07 15:10:01 +02:00
Miro Hrončok e211fd32f5 Convert to %autorelease and %autochangelog
[skip changelog]
2024-01-29 15:41:56 +01:00
Fedora Release Engineering db235e6949 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-26 11:55:52 +00:00
Fedora Release Engineering cfeb6f62b4 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-22 08:21:48 +00:00
Fedora Release Engineering 6396237446 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-21 14:52:58 +00:00
Python Maint 1fa73714da Rebuilt for Python 3.12 2023-06-16 08:20:00 +02:00
Python Maint 35402f3233 Bootstrap for Python 3.12 2023-06-14 18:10:10 +02:00
Miro Hrončok eb01aeacf9 Add a tests bcond 2023-06-14 18:08:43 +02:00
Fedora Release Engineering 016585cd11 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 18:00:03 +00:00
Miro Hrončok 2366fa0eb8 Update to 0.0.11 with tox 4.1.2+ support 2023-01-10 17:36:26 +01:00
Miro Hrončok 647bdaa833 Update to 0.0.10 with tox 4 support 2022-12-14 15:36:28 +01:00
Miro Hrončok 6bb0cf1583 Expand %{pypi_name} and %{pypi_under} in spec for better readability 2022-12-08 10:35:56 +01:00
Miro Hrončok f2f7e4abd6 Run tests during the package build 2022-12-08 10:35:56 +01:00
Fedora Release Engineering 6e144e99cd Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 23:01:51 +00:00
Python Maint a9d086676a Rebuilt for Python 3.11 2022-06-13 20:10:35 +02:00
Lumir Balhar 0598f683e3 Exclude hooks[34] from check import 2022-04-20 10:36:27 +02:00
Miro Hrončok 8ec0601a38 Update to 0.0.8 to support allowlist_externals 2022-03-02 22:06:38 +01:00
Miro Hrončok 3a0da78ca2 Update to 0.0.7 to pin tox < 4 2022-02-07 11:44:06 +01:00
Miro Hrončok 984b04bdf0 Use all pyproject-rpm-macros features now when RHEL 9 was synced 2022-02-04 13:39:43 +01:00
Fedora Release Engineering 19b9653c02 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-21 16:06:52 +00:00
Miro Hrončok 9a6b31458f Use %pyproject_save_files 2021-08-05 10:51:57 +02:00
Miro Hrončok 2a49b7e01e In %check, test if the module at least imports 2021-08-05 10:50:23 +02:00
Fedora Release Engineering ae2780e482 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-27 08:23:37 +00:00
Python Maint 4e0ae548bb Rebuilt for Python 3.10 2021-06-02 14:09:32 +02:00
Miro Hrončok 1bcc0066f4 Update to 0.0.6 2021-03-29 14:04:27 +02:00
Fedora Release Engineering dbe7fe79da - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 13:53:52 +00:00
Miro Hrončok 08a36062f8 Update to 0.0.5 2020-11-25 12:10:20 +01:00
Miro Hrončok 7ab0f137fb Update to 0.0.4 2020-11-04 17:21:44 +01:00
Miro Hrončok e7d306b2f0 Add Fedora CI tests for pyroject-rpm-macros %tox 2020-09-30 21:23:47 +02:00
Miro Hrončok 00458f6425 Update to 0.0.3 2020-09-30 21:20:53 +02:00
Lumir Balhar ad78b94031 Use %{python3_pkgversion} to make specfile more universal 2020-09-07 12:22:17 +02:00
Miro Hrončok ea2e8a28d4 Bump release, %changelog
Fixup for 3e7fdc2f6a
2020-08-12 13:19:28 +02:00
Miro Hrončok 3e7fdc2f6a Use %pyproject_buildrequires to fix FTBFS with pyproject-rpm-macros >= 0-23
See https://src.fedoraproject.org/rpms/pyproject-rpm-macros/pull-request/65
2020-08-12 13:16:57 +02:00
Fedora Release Engineering 1e2f8462ed - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 04:21:07 +00:00
Miro Hrončok c363f70790 Rebuilt for Python 3.9 2020-05-23 20:49:13 +02:00
Fedora Release Engineering 0151c43430 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 15:50:49 +00:00
Miro Hrončok e22c46e2a5 Rebuilt for Python 3.8.0rc1 (#1748018) 2019-10-03 14:33:49 +02:00
Miro Hrončok effc749583 Rebuilt for Python 3.8 2019-08-19 10:59:50 +02:00
7 changed files with 167 additions and 27 deletions
+1
View File
@@ -0,0 +1 @@
1
+1
View File
@@ -1,3 +1,4 @@
/tox-current-env-*.tar.gz
/tox_current_env-*.tar.gz
results_python-tox-current-env/
*.rpm
+90
View File
@@ -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
View File
@@ -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]
+35
View File
@@ -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
+28 -26
View File
@@ -1,36 +1,39 @@
%global pypi_name tox-current-env
%global pypi_under tox_current_env
%bcond bootstrap 0
# Tests are enabled by default, unless bootstrapping (for pytest-xdist)
%bcond tests %{without bootstrap}
Name: python-%{pypi_name}
Version: 0.0.2
Release: 1%{?dist}
Name: python-tox-current-env
Version: 0.0.16
Release: %autorelease
Summary: Tox plugin to run tests in current Python environment
License: MIT
URL: https://github.com/fedora-python/tox-current-env
Source0: %{pypi_source}
Source0: %{pypi_source tox_current_env}
BuildArch: noarch
# Don't use %%pyproject_buildrequires to avoid a build dependency loop.
BuildRequires: python3-devel
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: pyproject-rpm-macros
BuildRequires: python3dist(setuptools)
BuildRequires: python3dist(wheel)
%description
The tox-current-env plugin allows to run tests in current Python environment.
%package -n python3-%{pypi_name}
%package -n python%{python3_pkgversion}-tox-current-env
Summary: %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}
%{?python_provide:%python_provide python%{python3_pkgversion}-tox-current-env}
%description -n python3-%{pypi_name}
%description -n python%{python3_pkgversion}-tox-current-env
The tox-current-env plugin allows to run tests in current Python environment.
%prep
%autosetup -n %{pypi_name}-%{version}
%autosetup -n tox_current_env-%{version}
%generate_buildrequires
# Don't use %%pyproject_buildrequires -t/-e to avoid a build dependency loop
%pyproject_buildrequires %{?with_tests:-x tests}
%build
@@ -39,23 +42,22 @@ The tox-current-env plugin allows to run tests in current Python environment.
%install
%pyproject_install
%pyproject_save_files tox_current_env
#check
# the tests currently only work within actual tox and with various Python
# versions installed, so we skip them.
%check
# hooks[34].py are imported in hooks.py based on tox version so we have to
# exclude them here.
%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 python3-%{pypi_name}
%license LICENSE
%files -n python%{python3_pkgversion}-tox-current-env -f %{pyproject_files}
%doc README.rst
%{python3_sitelib}/%{pypi_under}/
%{python3_sitelib}/%{pypi_under}-%{version}.dist-info/
%changelog
* 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
%autochangelog
+1 -1
View File
@@ -1 +1 @@
SHA512 (tox-current-env-0.0.2.tar.gz) = 0adcd103c0d93f894fb931520369fd0d51779ea443dd37129c8fbb12ce77f6fb93e81750c44269c97a7ba43dca6dc6086f2c35d7c655f541ace942a28cd749c0
SHA512 (tox_current_env-0.0.16.tar.gz) = bc97710b266c84219d80979df930953883995ff0526051c4e46fa62074a68865d18013143425851e9cd300d6836b155bfe3b17d9ee618015c631405e52c02805