From cb7dffadf2d907f321339c80a09680c699aa2141 Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Sat, 19 Dec 2015 15:43:20 -0500 Subject: [PATCH 01/53] Initial packaging Credit goes to Tristan Cacqueray for the initial version of the packaging. I just cleaned it up and added python3 support. Closes #235431 Co-Authored-By: Tristan de Cacqueray Signed-off-by: Paul Belanger --- .gitignore | 1 + python-APScheduler.spec | 123 ++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 125 insertions(+) create mode 100644 python-APScheduler.spec diff --git a/.gitignore b/.gitignore index e69de29..700ecbf 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/APScheduler-3.0.5.tar.gz diff --git a/python-APScheduler.spec b/python-APScheduler.spec new file mode 100644 index 0000000..d085744 --- /dev/null +++ b/python-APScheduler.spec @@ -0,0 +1,123 @@ +%global pypi_name APScheduler +%if 0%{?fedora} +%global with_python3 1 +%endif + +Name: python-%{pypi_name} +Version: 3.0.5 +Release: 1%{?dist} +Summary: In-process task scheduler with Cron-like capabilities + +License: MIT +URL: https://pypi.python.org/pypi/%{pypi_name} +Source0: https://pypi.python.org/packages/source/A/%{pypi_name}/%{pypi_name}-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: python2-devel +BuildRequires: python-funcsigs +BuildRequires: python-futures +BuildRequires: python-setuptools +BuildRequires: python-six >= 1.4.0 +BuildRequires: python-tzlocal +# Unit testing +BuildRequires: python-mock +BuildRequires: python-pytest + +%if 0%{?with_python3} +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-six >= 1.4.0 +BuildRequires: python3-tzlocal +# Unit testing +BuildRequires: python3-mock +BuildRequires: python3-pytest +%endif + +%description +Advanced Python Scheduler (APScheduler) is a Python library that lets you +schedule your Python code to be executed later, either just once or +periodically. + +%package -n python2-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python2-%{pypi_name}} + +Requires: python-funcsigs +Requires: python-futures +Requires: python-six >= 1.4.0 +Requires: python-tzlocal + +%description -n python2-%{pypi_name} +Advanced Python Scheduler (APScheduler) is a Python library that lets you +schedule your Python code to be executed later, either just once or +periodically. + +%if 0%{?with_python3} +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +Requires: python3-six >= 1.4.0 +Requires: python3-tzlocal + +%description -n python3-%{pypi_name} +Advanced Python Scheduler (APScheduler) is a Python library that lets you +schedule your Python code to be executed later, either just once or +periodically. +%endif + +%package doc +Summary: Documentation of the Advanced Python Scheduler library +BuildRequires: python-sphinx + +%description doc +Documentation of the Advanced Python Scheduler library. + +%prep +%autosetup -n %{pypi_name}-%{version} +rm -rf %{pypi_name}.egg-info + +%build +%py2_build +%if 0%{?with_python3} +%py3_build +%endif + +## generate html docs +%{__python} setup.py build_sphinx +rm -rf docs/_build/html/.{doctrees,buildinfo} docs/_build/html/objects.inv + +%install +%py2_install +%if 0%{?with_python3} +%py3_install +%endif + +%check +# Default timezone to UTC otherwise unit tests fail. +export TZ=UTC +%{__python2} -m pytest +%if 0%{?with_python3} +%{__python3} -m pytest +%endif + +%files -n python2-%{pypi_name} +%license LICENSE.txt +%doc README.rst +%{python2_sitelib}/%{pypi_name}-%{version}-py%{python2_version}.egg-info/ +%{python2_sitelib}/apscheduler/ + +%if 0%{?with_python3} +%files -n python3-%{pypi_name} +%license LICENSE.txt +%doc README.rst +%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/ +%{python3_sitelib}/apscheduler/ +%endif + +%files doc +%doc docs/_build/html + +%changelog +* Sat Dec 19 2015 Paul Belanger - 3.0.5-1 +- Initial packaging (#1218410) diff --git a/sources b/sources index e69de29..2ee5a03 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +d8e588edac319591f2c7e926cba7a622 APScheduler-3.0.5.tar.gz From 92f24036ce15f8bf218b71fa69c73935d6310cb1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 4 Feb 2016 18:50:25 +0000 Subject: [PATCH 02/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild --- python-APScheduler.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-APScheduler.spec b/python-APScheduler.spec index d085744..967cf5d 100644 --- a/python-APScheduler.spec +++ b/python-APScheduler.spec @@ -5,7 +5,7 @@ Name: python-%{pypi_name} Version: 3.0.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: In-process task scheduler with Cron-like capabilities License: MIT @@ -119,5 +119,8 @@ export TZ=UTC %doc docs/_build/html %changelog +* Thu Feb 04 2016 Fedora Release Engineering - 3.0.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + * Sat Dec 19 2015 Paul Belanger - 3.0.5-1 - Initial packaging (#1218410) From 2e6a5d0b3c44b63c2b3c54f07ce44f3f3ea2fa12 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 19 Jul 2016 08:40:24 +0000 Subject: [PATCH 03/53] - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages --- python-APScheduler.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-APScheduler.spec b/python-APScheduler.spec index 967cf5d..571ca20 100644 --- a/python-APScheduler.spec +++ b/python-APScheduler.spec @@ -5,7 +5,7 @@ Name: python-%{pypi_name} Version: 3.0.5 -Release: 2%{?dist} +Release: 3%{?dist} Summary: In-process task scheduler with Cron-like capabilities License: MIT @@ -119,6 +119,9 @@ export TZ=UTC %doc docs/_build/html %changelog +* Tue Jul 19 2016 Fedora Release Engineering - 3.0.5-3 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + * Thu Feb 04 2016 Fedora Release Engineering - 3.0.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild From c873c85c94cff0d9fcef5927b6a7cb3aaff6cadf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 19 Dec 2016 18:20:37 +0100 Subject: [PATCH 04/53] Rebuild for Python 3.6 --- python-APScheduler.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-APScheduler.spec b/python-APScheduler.spec index 571ca20..6a856fa 100644 --- a/python-APScheduler.spec +++ b/python-APScheduler.spec @@ -5,7 +5,7 @@ Name: python-%{pypi_name} Version: 3.0.5 -Release: 3%{?dist} +Release: 4%{?dist} Summary: In-process task scheduler with Cron-like capabilities License: MIT @@ -119,6 +119,9 @@ export TZ=UTC %doc docs/_build/html %changelog +* Mon Dec 19 2016 Miro Hrončok - 3.0.5-4 +- Rebuild for Python 3.6 + * Tue Jul 19 2016 Fedora Release Engineering - 3.0.5-3 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages From 84010bb4da34fc62ec23f82f33204fe88711dbaa Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 11 Feb 2017 08:11:23 +0000 Subject: [PATCH 05/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- python-APScheduler.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-APScheduler.spec b/python-APScheduler.spec index 6a856fa..51578c5 100644 --- a/python-APScheduler.spec +++ b/python-APScheduler.spec @@ -5,7 +5,7 @@ Name: python-%{pypi_name} Version: 3.0.5 -Release: 4%{?dist} +Release: 5%{?dist} Summary: In-process task scheduler with Cron-like capabilities License: MIT @@ -119,6 +119,9 @@ export TZ=UTC %doc docs/_build/html %changelog +* Sat Feb 11 2017 Fedora Release Engineering - 3.0.5-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Mon Dec 19 2016 Miro Hrončok - 3.0.5-4 - Rebuild for Python 3.6 From 0a6a6d0117d49dfb62783fbdea040e821b04200c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 27 Jul 2017 09:25:48 +0000 Subject: [PATCH 06/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- python-APScheduler.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-APScheduler.spec b/python-APScheduler.spec index 51578c5..107a531 100644 --- a/python-APScheduler.spec +++ b/python-APScheduler.spec @@ -5,7 +5,7 @@ Name: python-%{pypi_name} Version: 3.0.5 -Release: 5%{?dist} +Release: 6%{?dist} Summary: In-process task scheduler with Cron-like capabilities License: MIT @@ -119,6 +119,9 @@ export TZ=UTC %doc docs/_build/html %changelog +* Thu Jul 27 2017 Fedora Release Engineering - 3.0.5-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Sat Feb 11 2017 Fedora Release Engineering - 3.0.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild From 4e9760b77fc564413b5f21c0c41382aa670ba5f8 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 9 Feb 2018 06:21:20 +0000 Subject: [PATCH 07/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-APScheduler.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-APScheduler.spec b/python-APScheduler.spec index 107a531..7332175 100644 --- a/python-APScheduler.spec +++ b/python-APScheduler.spec @@ -5,7 +5,7 @@ Name: python-%{pypi_name} Version: 3.0.5 -Release: 6%{?dist} +Release: 7%{?dist} Summary: In-process task scheduler with Cron-like capabilities License: MIT @@ -119,6 +119,9 @@ export TZ=UTC %doc docs/_build/html %changelog +* Fri Feb 09 2018 Fedora Release Engineering - 3.0.5-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Thu Jul 27 2017 Fedora Release Engineering - 3.0.5-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From c7a61b34e663cdeb28d7c2c072eb48ffe285d5b8 Mon Sep 17 00:00:00 2001 From: Iryna Shcherbina Date: Wed, 21 Feb 2018 03:22:24 +0100 Subject: [PATCH 08/53] Update Python 2 dependency declarations to new packaging standards --- python-APScheduler.spec | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/python-APScheduler.spec b/python-APScheduler.spec index 7332175..f08fd5f 100644 --- a/python-APScheduler.spec +++ b/python-APScheduler.spec @@ -5,7 +5,7 @@ Name: python-%{pypi_name} Version: 3.0.5 -Release: 7%{?dist} +Release: 8%{?dist} Summary: In-process task scheduler with Cron-like capabilities License: MIT @@ -14,14 +14,14 @@ Source0: https://pypi.python.org/packages/source/A/%{pypi_name}/%{pypi_name}-% BuildArch: noarch BuildRequires: python2-devel -BuildRequires: python-funcsigs -BuildRequires: python-futures -BuildRequires: python-setuptools -BuildRequires: python-six >= 1.4.0 -BuildRequires: python-tzlocal +BuildRequires: python2-funcsigs +BuildRequires: python2-futures +BuildRequires: python2-setuptools +BuildRequires: python2-six >= 1.4.0 +BuildRequires: python2-tzlocal # Unit testing -BuildRequires: python-mock -BuildRequires: python-pytest +BuildRequires: python2-mock +BuildRequires: python2-pytest %if 0%{?with_python3} BuildRequires: python3-devel @@ -42,10 +42,10 @@ periodically. Summary: %{summary} %{?python_provide:%python_provide python2-%{pypi_name}} -Requires: python-funcsigs -Requires: python-futures -Requires: python-six >= 1.4.0 -Requires: python-tzlocal +Requires: python2-funcsigs +Requires: python2-futures +Requires: python2-six >= 1.4.0 +Requires: python2-tzlocal %description -n python2-%{pypi_name} Advanced Python Scheduler (APScheduler) is a Python library that lets you @@ -68,7 +68,7 @@ periodically. %package doc Summary: Documentation of the Advanced Python Scheduler library -BuildRequires: python-sphinx +BuildRequires: python2-sphinx %description doc Documentation of the Advanced Python Scheduler library. @@ -119,6 +119,10 @@ export TZ=UTC %doc docs/_build/html %changelog +* Wed Feb 21 2018 Iryna Shcherbina - 3.0.5-8 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + * Fri Feb 09 2018 Fedora Release Engineering - 3.0.5-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From fc09e15b3a3f026303078721b9dc2cc4092c5a3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 19 Jun 2018 10:51:31 +0200 Subject: [PATCH 09/53] Rebuilt for Python 3.7 --- python-APScheduler.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-APScheduler.spec b/python-APScheduler.spec index f08fd5f..718869d 100644 --- a/python-APScheduler.spec +++ b/python-APScheduler.spec @@ -5,7 +5,7 @@ Name: python-%{pypi_name} Version: 3.0.5 -Release: 8%{?dist} +Release: 9%{?dist} Summary: In-process task scheduler with Cron-like capabilities License: MIT @@ -119,6 +119,9 @@ export TZ=UTC %doc docs/_build/html %changelog +* Tue Jun 19 2018 Miro Hrončok - 3.0.5-9 +- Rebuilt for Python 3.7 + * Wed Feb 21 2018 Iryna Shcherbina - 3.0.5-8 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) From 48d606949b9a610adc01ee9999631aeb272d623a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 13 Jul 2018 23:15:09 +0000 Subject: [PATCH 10/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-APScheduler.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-APScheduler.spec b/python-APScheduler.spec index 718869d..ad0429a 100644 --- a/python-APScheduler.spec +++ b/python-APScheduler.spec @@ -5,7 +5,7 @@ Name: python-%{pypi_name} Version: 3.0.5 -Release: 9%{?dist} +Release: 10%{?dist} Summary: In-process task scheduler with Cron-like capabilities License: MIT @@ -119,6 +119,9 @@ export TZ=UTC %doc docs/_build/html %changelog +* Fri Jul 13 2018 Fedora Release Engineering - 3.0.5-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Tue Jun 19 2018 Miro Hrončok - 3.0.5-9 - Rebuilt for Python 3.7 From 8a92a43aa4b1cdf75404adcf151671544bded07e Mon Sep 17 00:00:00 2001 From: Haikel Guemar Date: Mon, 20 Aug 2018 15:27:33 +0200 Subject: [PATCH 11/53] Upstream 3.5.3 (RHBZ#1605579) --- .gitignore | 1 + python-APScheduler.spec | 23 +++++++++++++++++++---- sources | 2 +- 3 files changed, 21 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 700ecbf..54c9fb9 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /APScheduler-3.0.5.tar.gz +/APScheduler-3.5.3.tar.gz diff --git a/python-APScheduler.spec b/python-APScheduler.spec index ad0429a..83d6cf3 100644 --- a/python-APScheduler.spec +++ b/python-APScheduler.spec @@ -4,8 +4,8 @@ %endif Name: python-%{pypi_name} -Version: 3.0.5 -Release: 10%{?dist} +Version: 3.5.3 +Release: 1%{?dist} Summary: In-process task scheduler with Cron-like capabilities License: MIT @@ -17,20 +17,28 @@ BuildRequires: python2-devel BuildRequires: python2-funcsigs BuildRequires: python2-futures BuildRequires: python2-setuptools +BuildRequires: python2-setuptools_scm BuildRequires: python2-six >= 1.4.0 BuildRequires: python2-tzlocal # Unit testing BuildRequires: python2-mock BuildRequires: python2-pytest +BuildRequires: python2-pytest-cov +BuildRequires: python2-tornado %if 0%{?with_python3} BuildRequires: python3-devel BuildRequires: python3-setuptools +BuildRequires: python3-setuptools_scm BuildRequires: python3-six >= 1.4.0 BuildRequires: python3-tzlocal # Unit testing BuildRequires: python3-mock BuildRequires: python3-pytest +BuildRequires: python3-pytest-cov +BuildRequires: python3-pytest-asyncio +BuildRequires: python3-pytest-tornado +BuildRequires: python3-tornado %endif %description @@ -84,11 +92,13 @@ rm -rf %{pypi_name}.egg-info %endif ## generate html docs -%{__python} setup.py build_sphinx +%{__python2} setup.py build_sphinx rm -rf docs/_build/html/.{doctrees,buildinfo} docs/_build/html/objects.inv %install %py2_install +# Remove python3 only files as they mess up with byte-compilation +rm %{buildroot}%{python2_sitelib}/apscheduler/executors/base_py3.py %if 0%{?with_python3} %py3_install %endif @@ -98,7 +108,9 @@ rm -rf docs/_build/html/.{doctrees,buildinfo} docs/_build/html/objects.inv export TZ=UTC %{__python2} -m pytest %if 0%{?with_python3} -%{__python3} -m pytest +# FIXME(hguemar): two test cases fail, one of them being a false positive +# Needs more investigation for the other +%{__python3} -m pytest ||: %endif %files -n python2-%{pypi_name} @@ -119,6 +131,9 @@ export TZ=UTC %doc docs/_build/html %changelog +* Mon Aug 20 2018 Haïkel Guémar - 3.5.3-1 +- Upstream 3.5.3 (RHBZ#1605579) + * Fri Jul 13 2018 Fedora Release Engineering - 3.0.5-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/sources b/sources index 2ee5a03..d83af5c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -d8e588edac319591f2c7e926cba7a622 APScheduler-3.0.5.tar.gz +SHA512 (APScheduler-3.5.3.tar.gz) = dd3e98d0f474511851bdc109a1c65f7f97d221f95d086603d12b3f280285460234724369f05816e1754d58d94adadbec0deb8a0fa63fcd6531914d4a1f4fb3fc From e81783d8cc389d602a93cab32e0c97afe38b5468 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Sun, 16 Dec 2018 01:04:31 +0100 Subject: [PATCH 12/53] Subpackage python2-APScheduler has been removed --- python-APScheduler.spec | 63 +++++------------------------------------ 1 file changed, 7 insertions(+), 56 deletions(-) diff --git a/python-APScheduler.spec b/python-APScheduler.spec index 83d6cf3..ae4038e 100644 --- a/python-APScheduler.spec +++ b/python-APScheduler.spec @@ -1,11 +1,8 @@ %global pypi_name APScheduler -%if 0%{?fedora} -%global with_python3 1 -%endif Name: python-%{pypi_name} Version: 3.5.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: In-process task scheduler with Cron-like capabilities License: MIT @@ -13,20 +10,6 @@ URL: https://pypi.python.org/pypi/%{pypi_name} Source0: https://pypi.python.org/packages/source/A/%{pypi_name}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch -BuildRequires: python2-devel -BuildRequires: python2-funcsigs -BuildRequires: python2-futures -BuildRequires: python2-setuptools -BuildRequires: python2-setuptools_scm -BuildRequires: python2-six >= 1.4.0 -BuildRequires: python2-tzlocal -# Unit testing -BuildRequires: python2-mock -BuildRequires: python2-pytest -BuildRequires: python2-pytest-cov -BuildRequires: python2-tornado - -%if 0%{?with_python3} BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-setuptools_scm @@ -39,28 +22,12 @@ BuildRequires: python3-pytest-cov BuildRequires: python3-pytest-asyncio BuildRequires: python3-pytest-tornado BuildRequires: python3-tornado -%endif %description Advanced Python Scheduler (APScheduler) is a Python library that lets you schedule your Python code to be executed later, either just once or periodically. -%package -n python2-%{pypi_name} -Summary: %{summary} -%{?python_provide:%python_provide python2-%{pypi_name}} - -Requires: python2-funcsigs -Requires: python2-futures -Requires: python2-six >= 1.4.0 -Requires: python2-tzlocal - -%description -n python2-%{pypi_name} -Advanced Python Scheduler (APScheduler) is a Python library that lets you -schedule your Python code to be executed later, either just once or -periodically. - -%if 0%{?with_python3} %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} @@ -72,11 +39,10 @@ Requires: python3-tzlocal Advanced Python Scheduler (APScheduler) is a Python library that lets you schedule your Python code to be executed later, either just once or periodically. -%endif %package doc Summary: Documentation of the Advanced Python Scheduler library -BuildRequires: python2-sphinx +BuildRequires: python3-sphinx %description doc Documentation of the Advanced Python Scheduler library. @@ -86,51 +52,36 @@ Documentation of the Advanced Python Scheduler library. rm -rf %{pypi_name}.egg-info %build -%py2_build -%if 0%{?with_python3} %py3_build -%endif ## generate html docs -%{__python2} setup.py build_sphinx +%{__python3} setup.py build_sphinx rm -rf docs/_build/html/.{doctrees,buildinfo} docs/_build/html/objects.inv %install -%py2_install -# Remove python3 only files as they mess up with byte-compilation -rm %{buildroot}%{python2_sitelib}/apscheduler/executors/base_py3.py -%if 0%{?with_python3} %py3_install -%endif %check # Default timezone to UTC otherwise unit tests fail. export TZ=UTC -%{__python2} -m pytest -%if 0%{?with_python3} # FIXME(hguemar): two test cases fail, one of them being a false positive # Needs more investigation for the other %{__python3} -m pytest ||: -%endif -%files -n python2-%{pypi_name} -%license LICENSE.txt -%doc README.rst -%{python2_sitelib}/%{pypi_name}-%{version}-py%{python2_version}.egg-info/ -%{python2_sitelib}/apscheduler/ - -%if 0%{?with_python3} %files -n python3-%{pypi_name} %license LICENSE.txt %doc README.rst %{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/ %{python3_sitelib}/apscheduler/ -%endif %files doc %doc docs/_build/html %changelog +* Sun Dec 16 2018 Miro Hrončok - 3.5.3-2 +- Subpackage python2-APScheduler has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + * Mon Aug 20 2018 Haïkel Guémar - 3.5.3-1 - Upstream 3.5.3 (RHBZ#1605579) From 4526c614eeb7063e952a5e21b897af24683ee799 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Sun, 16 Dec 2018 01:16:04 +0100 Subject: [PATCH 13/53] Add test failures explanations, only deselect the 2 --- python-APScheduler.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/python-APScheduler.spec b/python-APScheduler.spec index ae4038e..762b3da 100644 --- a/python-APScheduler.spec +++ b/python-APScheduler.spec @@ -64,9 +64,10 @@ rm -rf docs/_build/html/.{doctrees,buildinfo} docs/_build/html/objects.inv %check # Default timezone to UTC otherwise unit tests fail. export TZ=UTC -# FIXME(hguemar): two test cases fail, one of them being a false positive -# Needs more investigation for the other -%{__python3} -m pytest ||: +# TestBaseScheduler.test_create_trigger_bad_plugin_type does incorrect mocking +# TestIntervalTrigger.test_repr - changed timedelta repr in Python 3.7 +# both fixed upstream +%{__python3} -m pytest -k "not (TestIntervalTrigger and test_repr) and not test_create_trigger_bad_plugin_type" %files -n python3-%{pypi_name} %license LICENSE.txt From 2a4b45a7faf5b5aa015587db6ff62776de941f9e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 2 Feb 2019 05:20:08 +0000 Subject: [PATCH 14/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-APScheduler.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-APScheduler.spec b/python-APScheduler.spec index 762b3da..4cfbe67 100644 --- a/python-APScheduler.spec +++ b/python-APScheduler.spec @@ -2,7 +2,7 @@ Name: python-%{pypi_name} Version: 3.5.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: In-process task scheduler with Cron-like capabilities License: MIT @@ -79,6 +79,9 @@ export TZ=UTC %doc docs/_build/html %changelog +* Sat Feb 02 2019 Fedora Release Engineering - 3.5.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Sun Dec 16 2018 Miro Hrončok - 3.5.3-2 - Subpackage python2-APScheduler has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal From 6dff37f0e2cb2682073bd170a55b210409c3a4f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 19 Aug 2019 10:24:45 +0200 Subject: [PATCH 15/53] Rebuilt for Python 3.8 --- python-APScheduler.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-APScheduler.spec b/python-APScheduler.spec index 4cfbe67..9d17455 100644 --- a/python-APScheduler.spec +++ b/python-APScheduler.spec @@ -2,7 +2,7 @@ Name: python-%{pypi_name} Version: 3.5.3 -Release: 3%{?dist} +Release: 4%{?dist} Summary: In-process task scheduler with Cron-like capabilities License: MIT @@ -79,6 +79,9 @@ export TZ=UTC %doc docs/_build/html %changelog +* Mon Aug 19 2019 Miro Hrončok - 3.5.3-4 +- Rebuilt for Python 3.8 + * Sat Feb 02 2019 Fedora Release Engineering - 3.5.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From 72a490495097e4e3a0df9de985e29af2105bc9eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Fri, 11 Oct 2019 00:04:41 +0200 Subject: [PATCH 16/53] Orphaned for 6+ weeks --- .gitignore | 2 - dead.package | 1 + python-APScheduler.spec | 124 ---------------------------------------- sources | 1 - 4 files changed, 1 insertion(+), 127 deletions(-) delete mode 100644 .gitignore create mode 100644 dead.package delete mode 100644 python-APScheduler.spec delete mode 100644 sources diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 54c9fb9..0000000 --- a/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/APScheduler-3.0.5.tar.gz -/APScheduler-3.5.3.tar.gz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..5204a84 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Orphaned for 6+ weeks diff --git a/python-APScheduler.spec b/python-APScheduler.spec deleted file mode 100644 index 9d17455..0000000 --- a/python-APScheduler.spec +++ /dev/null @@ -1,124 +0,0 @@ -%global pypi_name APScheduler - -Name: python-%{pypi_name} -Version: 3.5.3 -Release: 4%{?dist} -Summary: In-process task scheduler with Cron-like capabilities - -License: MIT -URL: https://pypi.python.org/pypi/%{pypi_name} -Source0: https://pypi.python.org/packages/source/A/%{pypi_name}/%{pypi_name}-%{version}.tar.gz -BuildArch: noarch - -BuildRequires: python3-devel -BuildRequires: python3-setuptools -BuildRequires: python3-setuptools_scm -BuildRequires: python3-six >= 1.4.0 -BuildRequires: python3-tzlocal -# Unit testing -BuildRequires: python3-mock -BuildRequires: python3-pytest -BuildRequires: python3-pytest-cov -BuildRequires: python3-pytest-asyncio -BuildRequires: python3-pytest-tornado -BuildRequires: python3-tornado - -%description -Advanced Python Scheduler (APScheduler) is a Python library that lets you -schedule your Python code to be executed later, either just once or -periodically. - -%package -n python3-%{pypi_name} -Summary: %{summary} -%{?python_provide:%python_provide python3-%{pypi_name}} - -Requires: python3-six >= 1.4.0 -Requires: python3-tzlocal - -%description -n python3-%{pypi_name} -Advanced Python Scheduler (APScheduler) is a Python library that lets you -schedule your Python code to be executed later, either just once or -periodically. - -%package doc -Summary: Documentation of the Advanced Python Scheduler library -BuildRequires: python3-sphinx - -%description doc -Documentation of the Advanced Python Scheduler library. - -%prep -%autosetup -n %{pypi_name}-%{version} -rm -rf %{pypi_name}.egg-info - -%build -%py3_build - -## generate html docs -%{__python3} setup.py build_sphinx -rm -rf docs/_build/html/.{doctrees,buildinfo} docs/_build/html/objects.inv - -%install -%py3_install - -%check -# Default timezone to UTC otherwise unit tests fail. -export TZ=UTC -# TestBaseScheduler.test_create_trigger_bad_plugin_type does incorrect mocking -# TestIntervalTrigger.test_repr - changed timedelta repr in Python 3.7 -# both fixed upstream -%{__python3} -m pytest -k "not (TestIntervalTrigger and test_repr) and not test_create_trigger_bad_plugin_type" - -%files -n python3-%{pypi_name} -%license LICENSE.txt -%doc README.rst -%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/ -%{python3_sitelib}/apscheduler/ - -%files doc -%doc docs/_build/html - -%changelog -* Mon Aug 19 2019 Miro Hrončok - 3.5.3-4 -- Rebuilt for Python 3.8 - -* Sat Feb 02 2019 Fedora Release Engineering - 3.5.3-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Sun Dec 16 2018 Miro Hrončok - 3.5.3-2 -- Subpackage python2-APScheduler has been removed - See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal - -* Mon Aug 20 2018 Haïkel Guémar - 3.5.3-1 -- Upstream 3.5.3 (RHBZ#1605579) - -* Fri Jul 13 2018 Fedora Release Engineering - 3.0.5-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Tue Jun 19 2018 Miro Hrončok - 3.0.5-9 -- Rebuilt for Python 3.7 - -* Wed Feb 21 2018 Iryna Shcherbina - 3.0.5-8 -- Update Python 2 dependency declarations to new packaging standards - (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) - -* Fri Feb 09 2018 Fedora Release Engineering - 3.0.5-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Thu Jul 27 2017 Fedora Release Engineering - 3.0.5-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Sat Feb 11 2017 Fedora Release Engineering - 3.0.5-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Mon Dec 19 2016 Miro Hrončok - 3.0.5-4 -- Rebuild for Python 3.6 - -* Tue Jul 19 2016 Fedora Release Engineering - 3.0.5-3 -- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages - -* Thu Feb 04 2016 Fedora Release Engineering - 3.0.5-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Sat Dec 19 2015 Paul Belanger - 3.0.5-1 -- Initial packaging (#1218410) diff --git a/sources b/sources deleted file mode 100644 index d83af5c..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (APScheduler-3.5.3.tar.gz) = dd3e98d0f474511851bdc109a1c65f7f97d221f95d086603d12b3f280285460234724369f05816e1754d58d94adadbec0deb8a0fa63fcd6531914d4a1f4fb3fc From 00b9ac4c1492a2b0538252a74f33f2344c2c68fe Mon Sep 17 00:00:00 2001 From: Tomas Hrcka Date: Wed, 18 Mar 2020 09:11:44 +0100 Subject: [PATCH 17/53] Revert "Orphaned for 6+ weeks" This reverts commit 72a490495097e4e3a0df9de985e29af2105bc9eb. Unretirement request: https://pagure.io/releng/issue/9330 Signed-off-by: Tomas Hrcka --- .gitignore | 2 + dead.package | 1 - python-APScheduler.spec | 124 ++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 127 insertions(+), 1 deletion(-) create mode 100644 .gitignore delete mode 100644 dead.package create mode 100644 python-APScheduler.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..54c9fb9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/APScheduler-3.0.5.tar.gz +/APScheduler-3.5.3.tar.gz diff --git a/dead.package b/dead.package deleted file mode 100644 index 5204a84..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -Orphaned for 6+ weeks diff --git a/python-APScheduler.spec b/python-APScheduler.spec new file mode 100644 index 0000000..9d17455 --- /dev/null +++ b/python-APScheduler.spec @@ -0,0 +1,124 @@ +%global pypi_name APScheduler + +Name: python-%{pypi_name} +Version: 3.5.3 +Release: 4%{?dist} +Summary: In-process task scheduler with Cron-like capabilities + +License: MIT +URL: https://pypi.python.org/pypi/%{pypi_name} +Source0: https://pypi.python.org/packages/source/A/%{pypi_name}/%{pypi_name}-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-setuptools_scm +BuildRequires: python3-six >= 1.4.0 +BuildRequires: python3-tzlocal +# Unit testing +BuildRequires: python3-mock +BuildRequires: python3-pytest +BuildRequires: python3-pytest-cov +BuildRequires: python3-pytest-asyncio +BuildRequires: python3-pytest-tornado +BuildRequires: python3-tornado + +%description +Advanced Python Scheduler (APScheduler) is a Python library that lets you +schedule your Python code to be executed later, either just once or +periodically. + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +Requires: python3-six >= 1.4.0 +Requires: python3-tzlocal + +%description -n python3-%{pypi_name} +Advanced Python Scheduler (APScheduler) is a Python library that lets you +schedule your Python code to be executed later, either just once or +periodically. + +%package doc +Summary: Documentation of the Advanced Python Scheduler library +BuildRequires: python3-sphinx + +%description doc +Documentation of the Advanced Python Scheduler library. + +%prep +%autosetup -n %{pypi_name}-%{version} +rm -rf %{pypi_name}.egg-info + +%build +%py3_build + +## generate html docs +%{__python3} setup.py build_sphinx +rm -rf docs/_build/html/.{doctrees,buildinfo} docs/_build/html/objects.inv + +%install +%py3_install + +%check +# Default timezone to UTC otherwise unit tests fail. +export TZ=UTC +# TestBaseScheduler.test_create_trigger_bad_plugin_type does incorrect mocking +# TestIntervalTrigger.test_repr - changed timedelta repr in Python 3.7 +# both fixed upstream +%{__python3} -m pytest -k "not (TestIntervalTrigger and test_repr) and not test_create_trigger_bad_plugin_type" + +%files -n python3-%{pypi_name} +%license LICENSE.txt +%doc README.rst +%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/ +%{python3_sitelib}/apscheduler/ + +%files doc +%doc docs/_build/html + +%changelog +* Mon Aug 19 2019 Miro Hrončok - 3.5.3-4 +- Rebuilt for Python 3.8 + +* Sat Feb 02 2019 Fedora Release Engineering - 3.5.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sun Dec 16 2018 Miro Hrončok - 3.5.3-2 +- Subpackage python2-APScheduler has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + +* Mon Aug 20 2018 Haïkel Guémar - 3.5.3-1 +- Upstream 3.5.3 (RHBZ#1605579) + +* Fri Jul 13 2018 Fedora Release Engineering - 3.0.5-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 19 2018 Miro Hrončok - 3.0.5-9 +- Rebuilt for Python 3.7 + +* Wed Feb 21 2018 Iryna Shcherbina - 3.0.5-8 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + +* Fri Feb 09 2018 Fedora Release Engineering - 3.0.5-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 3.0.5-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 3.0.5-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Dec 19 2016 Miro Hrončok - 3.0.5-4 +- Rebuild for Python 3.6 + +* Tue Jul 19 2016 Fedora Release Engineering - 3.0.5-3 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Thu Feb 04 2016 Fedora Release Engineering - 3.0.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Sat Dec 19 2015 Paul Belanger - 3.0.5-1 +- Initial packaging (#1218410) diff --git a/sources b/sources new file mode 100644 index 0000000..d83af5c --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (APScheduler-3.5.3.tar.gz) = dd3e98d0f474511851bdc109a1c65f7f97d221f95d086603d12b3f280285460234724369f05816e1754d58d94adadbec0deb8a0fa63fcd6531914d4a1f4fb3fc From 72979fa85c3854ce28c2a93a16c60314cbac6fb1 Mon Sep 17 00:00:00 2001 From: Fabien Boucher Date: Wed, 18 Mar 2020 14:57:35 +0000 Subject: [PATCH 18/53] Inport from SF packaging and bump to 3.6.3 (#1813957) --- .gitignore | 1 + python-APScheduler.spec | 104 +++++++++++++++++++--------------------- sources | 2 +- 3 files changed, 50 insertions(+), 57 deletions(-) diff --git a/.gitignore b/.gitignore index 54c9fb9..6b992a2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /APScheduler-3.0.5.tar.gz /APScheduler-3.5.3.tar.gz +/APScheduler-3.6.3.tar.gz diff --git a/python-APScheduler.spec b/python-APScheduler.spec index 9d17455..0fe8cf8 100644 --- a/python-APScheduler.spec +++ b/python-APScheduler.spec @@ -1,84 +1,76 @@ -%global pypi_name APScheduler - -Name: python-%{pypi_name} -Version: 3.5.3 -Release: 4%{?dist} -Summary: In-process task scheduler with Cron-like capabilities - -License: MIT -URL: https://pypi.python.org/pypi/%{pypi_name} -Source0: https://pypi.python.org/packages/source/A/%{pypi_name}/%{pypi_name}-%{version}.tar.gz -BuildArch: noarch - -BuildRequires: python3-devel -BuildRequires: python3-setuptools -BuildRequires: python3-setuptools_scm -BuildRequires: python3-six >= 1.4.0 -BuildRequires: python3-tzlocal -# Unit testing -BuildRequires: python3-mock -BuildRequires: python3-pytest -BuildRequires: python3-pytest-cov -BuildRequires: python3-pytest-asyncio -BuildRequires: python3-pytest-tornado -BuildRequires: python3-tornado - -%description +%global srcname APScheduler +%global _description %{expand: Advanced Python Scheduler (APScheduler) is a Python library that lets you schedule your Python code to be executed later, either just once or -periodically. +periodically. You can add new jobs or remove old ones on the fly as you +please. If you store your jobs in a database, they will also survive +scheduler restarts and maintain their state. When the scheduler is +restarted, it will then run all the jobs it should have run while it was +offline.} -%package -n python3-%{pypi_name} -Summary: %{summary} -%{?python_provide:%python_provide python3-%{pypi_name}} +Name: python-APScheduler +Version: 3.6.3 +Release: 1%{?dist} +Summary: In-process task scheduler with Cron-like capabilities -Requires: python3-six >= 1.4.0 -Requires: python3-tzlocal +License: MIT +URL: http://pythonhosted.org/APScheduler/ +Source0: %pypi_source -%description -n python3-%{pypi_name} -Advanced Python Scheduler (APScheduler) is a Python library that lets you -schedule your Python code to be executed later, either just once or -periodically. +BuildArch: noarch -%package doc -Summary: Documentation of the Advanced Python Scheduler library -BuildRequires: python3-sphinx +%description %_description -%description doc -Documentation of the Advanced Python Scheduler library. +%package -n python3-%{srcname} +Summary: %{summary} +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-setuptools_scm +BuildRequires: python3-pytest +BuildRequires: python3-pytest-asyncio +BuildRequires: python3-pytest-tornado +BuildRequires: python3-pytest-cov +BuildRequires: python3-tornado +BuildRequires: python3-twisted +BuildRequires: python3-redis +BuildRequires: python3-kazoo +BuildRequires: python3-gevent +BuildRequires: python3-sqlalchemy +BuildRequires: python3-pymongo +BuildRequires: python3-pytz +BuildRequires: python3-tzlocal +%{?python_provide:%python_provide python3-%{srcname}} + +%description -n python3-%{srcname} %_description %prep -%autosetup -n %{pypi_name}-%{version} -rm -rf %{pypi_name}.egg-info +%autosetup -n %{srcname}-%{version} -p1 +# Remove that test as it require services (redis, zookeeper, ...) +# up and running. Upstream provides a docker compose to spawn +# services before running these tests. +rm tests/test_jobstores.py %build %py3_build -## generate html docs -%{__python3} setup.py build_sphinx -rm -rf docs/_build/html/.{doctrees,buildinfo} docs/_build/html/objects.inv - %install %py3_install %check # Default timezone to UTC otherwise unit tests fail. export TZ=UTC -# TestBaseScheduler.test_create_trigger_bad_plugin_type does incorrect mocking -# TestIntervalTrigger.test_repr - changed timedelta repr in Python 3.7 -# both fixed upstream -%{__python3} -m pytest -k "not (TestIntervalTrigger and test_repr) and not test_create_trigger_bad_plugin_type" +%{python3} -m pytest -s tests -%files -n python3-%{pypi_name} +%files -n python3-%{srcname} %license LICENSE.txt %doc README.rst -%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/ +%{python3_sitelib}/%{srcname}-*.egg-info/ %{python3_sitelib}/apscheduler/ -%files doc -%doc docs/_build/html - %changelog +* Wed Mar 11 2020 Fabien Boucher - 3.6.3-1 +- Inport from SF packaging and bump to 3.6.3 (#1813957) + * Mon Aug 19 2019 Miro Hrončok - 3.5.3-4 - Rebuilt for Python 3.8 diff --git a/sources b/sources index d83af5c..286a564 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (APScheduler-3.5.3.tar.gz) = dd3e98d0f474511851bdc109a1c65f7f97d221f95d086603d12b3f280285460234724369f05816e1754d58d94adadbec0deb8a0fa63fcd6531914d4a1f4fb3fc +SHA512 (APScheduler-3.6.3.tar.gz) = 4c348a4f37a7973633554a69635f334b3c293c8942fe853b309b4b65335f5d4d553d7d42fd4661b0e6a36f5e97446d296a2c8971bdb51dad3bc8ee6b6d3b20ba From 17757f6810f6d5d63106cb108456eb581a857024 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 26 May 2020 02:58:46 +0200 Subject: [PATCH 19/53] Rebuilt for Python 3.9 --- python-APScheduler.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-APScheduler.spec b/python-APScheduler.spec index 0fe8cf8..3f70cd1 100644 --- a/python-APScheduler.spec +++ b/python-APScheduler.spec @@ -10,7 +10,7 @@ offline.} Name: python-APScheduler Version: 3.6.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: In-process task scheduler with Cron-like capabilities License: MIT @@ -68,6 +68,9 @@ export TZ=UTC %{python3_sitelib}/apscheduler/ %changelog +* Tue May 26 2020 Miro Hrončok - 3.6.3-2 +- Rebuilt for Python 3.9 + * Wed Mar 11 2020 Fabien Boucher - 3.6.3-1 - Inport from SF packaging and bump to 3.6.3 (#1813957) From d74fb8a0b9356c1b62f31acac3803d2d078de6a6 Mon Sep 17 00:00:00 2001 From: Fabien Boucher Date: Mon, 20 Jul 2020 17:38:54 +0200 Subject: [PATCH 20/53] Update project URL --- python-APScheduler.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-APScheduler.spec b/python-APScheduler.spec index 3f70cd1..98a8700 100644 --- a/python-APScheduler.spec +++ b/python-APScheduler.spec @@ -10,11 +10,11 @@ offline.} Name: python-APScheduler Version: 3.6.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: In-process task scheduler with Cron-like capabilities License: MIT -URL: http://pythonhosted.org/APScheduler/ +URL: https://github.com/agronholm/apscheduler Source0: %pypi_source BuildArch: noarch @@ -68,6 +68,9 @@ export TZ=UTC %{python3_sitelib}/apscheduler/ %changelog +* Mon Jul 20 2020 Fabien Boucher - 3.6.3-3 +- Update project url + * Tue May 26 2020 Miro Hrončok - 3.6.3-2 - Rebuilt for Python 3.9 From 009fc9b0542585641c19f14ca4201fff6ccdf708 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jul 2020 23:24:51 +0000 Subject: [PATCH 21/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-APScheduler.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-APScheduler.spec b/python-APScheduler.spec index 98a8700..efd40e6 100644 --- a/python-APScheduler.spec +++ b/python-APScheduler.spec @@ -10,7 +10,7 @@ offline.} Name: python-APScheduler Version: 3.6.3 -Release: 3%{?dist} +Release: 4%{?dist} Summary: In-process task scheduler with Cron-like capabilities License: MIT @@ -68,6 +68,9 @@ export TZ=UTC %{python3_sitelib}/apscheduler/ %changelog +* Tue Jul 28 2020 Fedora Release Engineering - 3.6.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Mon Jul 20 2020 Fabien Boucher - 3.6.3-3 - Update project url From faaf7ac99c1e64d3e26efaf390cb5b3992334d8d Mon Sep 17 00:00:00 2001 From: Fabien Boucher Date: Wed, 20 Jan 2021 10:28:25 +0000 Subject: [PATCH 22/53] Bump upstream to 3.7.0 --- .gitignore | 1 + python-APScheduler.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 6b992a2..f18a972 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /APScheduler-3.0.5.tar.gz /APScheduler-3.5.3.tar.gz /APScheduler-3.6.3.tar.gz +/APScheduler-3.7.0.tar.gz diff --git a/python-APScheduler.spec b/python-APScheduler.spec index efd40e6..7f5b271 100644 --- a/python-APScheduler.spec +++ b/python-APScheduler.spec @@ -9,8 +9,8 @@ restarted, it will then run all the jobs it should have run while it was offline.} Name: python-APScheduler -Version: 3.6.3 -Release: 4%{?dist} +Version: 3.7.0 +Release: 1%{?dist} Summary: In-process task scheduler with Cron-like capabilities License: MIT @@ -68,6 +68,9 @@ export TZ=UTC %{python3_sitelib}/apscheduler/ %changelog +* Wed Jan 20 2021 Fabien Boucher - 3.7.0-1 +- Upstream 3.7.0 (RHBZ#1917870) + * Tue Jul 28 2020 Fedora Release Engineering - 3.6.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index 286a564..82b826b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (APScheduler-3.6.3.tar.gz) = 4c348a4f37a7973633554a69635f334b3c293c8942fe853b309b4b65335f5d4d553d7d42fd4661b0e6a36f5e97446d296a2c8971bdb51dad3bc8ee6b6d3b20ba +SHA512 (APScheduler-3.7.0.tar.gz) = 549f65883affb2bc6d7c24e027204151090e741a733440b94c18a68efe00503e241c95374ee51b9e059029d02197091b91fdde6696f7e162e2eb0b4d7575ff62 From a77eff0e3c26ce56140c18c6ba691666b7ba0acb Mon Sep 17 00:00:00 2001 From: Fabien Boucher Date: Wed, 20 Jan 2021 10:34:12 +0000 Subject: [PATCH 23/53] Add basic functional test --- tests/simple-test/runtest.sh | 19 +++++++++++++++++++ tests/tests.yml | 11 +++++++++++ 2 files changed, 30 insertions(+) create mode 100644 tests/simple-test/runtest.sh create mode 100644 tests/tests.yml diff --git a/tests/simple-test/runtest.sh b/tests/simple-test/runtest.sh new file mode 100644 index 0000000..715fcfe --- /dev/null +++ b/tests/simple-test/runtest.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +# Include Beaker environment +. /usr/bin/rhts-environment.sh +. /usr/lib/beakerlib/beakerlib.sh + +PACKAGE="python3-APScheduler" + +rlJournalStart + rlPhaseStartSetup + rlAssertRpm $PACKAGE + rlPhaseEnd + + rlPhaseStartTest + rlRun "python3 -c 'import apscheduler'" + rlPhaseEnd + +rlJournalPrintText +rlJournalEnd diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..63a8539 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,11 @@ +--- +- hosts: localhost + roles: + - role: standard-test-beakerlib + tags: + - classic + - atomic + tests: + - simple-test + required_packages: + - python3-APScheduler From ef96dc43b5021e8d80d2a2406d2ff150aa50e2eb Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 27 Jan 2021 08:59:00 +0000 Subject: [PATCH 24/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-APScheduler.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-APScheduler.spec b/python-APScheduler.spec index 7f5b271..49916a8 100644 --- a/python-APScheduler.spec +++ b/python-APScheduler.spec @@ -10,7 +10,7 @@ offline.} Name: python-APScheduler Version: 3.7.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: In-process task scheduler with Cron-like capabilities License: MIT @@ -68,6 +68,9 @@ export TZ=UTC %{python3_sitelib}/apscheduler/ %changelog +* Wed Jan 27 2021 Fedora Release Engineering - 3.7.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Wed Jan 20 2021 Fabien Boucher - 3.7.0-1 - Upstream 3.7.0 (RHBZ#1917870) From a4b835a3385ba7363ad87e55ae8fff7914c3243b Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 4 Jun 2021 20:20:38 +0200 Subject: [PATCH 25/53] Rebuilt for Python 3.10 --- python-APScheduler.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-APScheduler.spec b/python-APScheduler.spec index 49916a8..fddd264 100644 --- a/python-APScheduler.spec +++ b/python-APScheduler.spec @@ -10,7 +10,7 @@ offline.} Name: python-APScheduler Version: 3.7.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: In-process task scheduler with Cron-like capabilities License: MIT @@ -68,6 +68,9 @@ export TZ=UTC %{python3_sitelib}/apscheduler/ %changelog +* Fri Jun 04 2021 Python Maint - 3.7.0-3 +- Rebuilt for Python 3.10 + * Wed Jan 27 2021 Fedora Release Engineering - 3.7.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From ae2d27931b5c3b59949dac0032fe7c6c441751c3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 23 Jul 2021 04:32:28 +0000 Subject: [PATCH 26/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-APScheduler.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-APScheduler.spec b/python-APScheduler.spec index fddd264..be922ae 100644 --- a/python-APScheduler.spec +++ b/python-APScheduler.spec @@ -10,7 +10,7 @@ offline.} Name: python-APScheduler Version: 3.7.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: In-process task scheduler with Cron-like capabilities License: MIT @@ -68,6 +68,9 @@ export TZ=UTC %{python3_sitelib}/apscheduler/ %changelog +* Fri Jul 23 2021 Fedora Release Engineering - 3.7.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Fri Jun 04 2021 Python Maint - 3.7.0-3 - Rebuilt for Python 3.10 From 96ef3125be66387f7bf4f925fab74ece9146af63 Mon Sep 17 00:00:00 2001 From: Fedora Release Monitoring Date: Thu, 23 Sep 2021 22:57:05 +0000 Subject: [PATCH 27/53] Update to 3.8.0 (#1917870) --- .gitignore | 1 + python-APScheduler.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index f18a972..c5224a6 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /APScheduler-3.5.3.tar.gz /APScheduler-3.6.3.tar.gz /APScheduler-3.7.0.tar.gz +/APScheduler-3.8.0.tar.gz diff --git a/python-APScheduler.spec b/python-APScheduler.spec index be922ae..6730bc7 100644 --- a/python-APScheduler.spec +++ b/python-APScheduler.spec @@ -9,8 +9,8 @@ restarted, it will then run all the jobs it should have run while it was offline.} Name: python-APScheduler -Version: 3.7.0 -Release: 4%{?dist} +Version: 3.8.0 +Release: 1%{?dist} Summary: In-process task scheduler with Cron-like capabilities License: MIT @@ -68,6 +68,9 @@ export TZ=UTC %{python3_sitelib}/apscheduler/ %changelog +* Thu Sep 23 2021 Fedora Release Monitoring - 3.8.0-1 +- Update to 3.8.0 (#1917870) + * Fri Jul 23 2021 Fedora Release Engineering - 3.7.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index 82b826b..53ab9cb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (APScheduler-3.7.0.tar.gz) = 549f65883affb2bc6d7c24e027204151090e741a733440b94c18a68efe00503e241c95374ee51b9e059029d02197091b91fdde6696f7e162e2eb0b4d7575ff62 +SHA512 (APScheduler-3.8.0.tar.gz) = 669770409113835bab772ef76030487171c79d0bbe78a61999a92c4312adefa51eb53305db700039f47ed1b22675b1a831d35f5a83c248f2f5bd55ca75b548c7 From c858224f6b5f300c7253a52da2fbcf32ac5d5cab Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jan 2022 09:55:01 +0000 Subject: [PATCH 28/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-APScheduler.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-APScheduler.spec b/python-APScheduler.spec index 6730bc7..2757a77 100644 --- a/python-APScheduler.spec +++ b/python-APScheduler.spec @@ -10,7 +10,7 @@ offline.} Name: python-APScheduler Version: 3.8.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: In-process task scheduler with Cron-like capabilities License: MIT @@ -68,6 +68,9 @@ export TZ=UTC %{python3_sitelib}/apscheduler/ %changelog +* Fri Jan 21 2022 Fedora Release Engineering - 3.8.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Thu Sep 23 2021 Fedora Release Monitoring - 3.8.0-1 - Update to 3.8.0 (#1917870) From 99efb769b4dbc3b0074a585b99caafdff89fe026 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Tue, 14 Jun 2022 14:35:02 +0200 Subject: [PATCH 29/53] Rebuilt for Python 3.11 --- python-APScheduler.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-APScheduler.spec b/python-APScheduler.spec index 2757a77..0356b6d 100644 --- a/python-APScheduler.spec +++ b/python-APScheduler.spec @@ -10,7 +10,7 @@ offline.} Name: python-APScheduler Version: 3.8.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: In-process task scheduler with Cron-like capabilities License: MIT @@ -68,6 +68,9 @@ export TZ=UTC %{python3_sitelib}/apscheduler/ %changelog +* Tue Jun 14 2022 Python Maint - 3.8.0-3 +- Rebuilt for Python 3.11 + * Fri Jan 21 2022 Fedora Release Engineering - 3.8.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From 9b1f6eb4ba078ff426b4eb413a4cf7b6caa62b07 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 22 Jul 2022 15:54:25 +0000 Subject: [PATCH 30/53] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-APScheduler.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-APScheduler.spec b/python-APScheduler.spec index 0356b6d..928aa12 100644 --- a/python-APScheduler.spec +++ b/python-APScheduler.spec @@ -10,7 +10,7 @@ offline.} Name: python-APScheduler Version: 3.8.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: In-process task scheduler with Cron-like capabilities License: MIT @@ -68,6 +68,9 @@ export TZ=UTC %{python3_sitelib}/apscheduler/ %changelog +* Fri Jul 22 2022 Fedora Release Engineering - 3.8.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Tue Jun 14 2022 Python Maint - 3.8.0-3 - Rebuilt for Python 3.11 From 37519e539e5843ea3ad736607820920000ce0291 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 8 Nov 2022 15:30:55 +0100 Subject: [PATCH 31/53] Orphaned for 6+ weeks --- .gitignore | 5 -- dead.package | 1 + python-APScheduler.spec | 149 ----------------------------------- sources | 1 - tests/simple-test/runtest.sh | 19 ----- tests/tests.yml | 11 --- 6 files changed, 1 insertion(+), 185 deletions(-) delete mode 100644 .gitignore create mode 100644 dead.package delete mode 100644 python-APScheduler.spec delete mode 100644 sources delete mode 100644 tests/simple-test/runtest.sh delete mode 100644 tests/tests.yml diff --git a/.gitignore b/.gitignore deleted file mode 100644 index c5224a6..0000000 --- a/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -/APScheduler-3.0.5.tar.gz -/APScheduler-3.5.3.tar.gz -/APScheduler-3.6.3.tar.gz -/APScheduler-3.7.0.tar.gz -/APScheduler-3.8.0.tar.gz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..5204a84 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Orphaned for 6+ weeks diff --git a/python-APScheduler.spec b/python-APScheduler.spec deleted file mode 100644 index 928aa12..0000000 --- a/python-APScheduler.spec +++ /dev/null @@ -1,149 +0,0 @@ -%global srcname APScheduler -%global _description %{expand: -Advanced Python Scheduler (APScheduler) is a Python library that lets you -schedule your Python code to be executed later, either just once or -periodically. You can add new jobs or remove old ones on the fly as you -please. If you store your jobs in a database, they will also survive -scheduler restarts and maintain their state. When the scheduler is -restarted, it will then run all the jobs it should have run while it was -offline.} - -Name: python-APScheduler -Version: 3.8.0 -Release: 4%{?dist} -Summary: In-process task scheduler with Cron-like capabilities - -License: MIT -URL: https://github.com/agronholm/apscheduler -Source0: %pypi_source - -BuildArch: noarch - -%description %_description - -%package -n python3-%{srcname} -Summary: %{summary} -BuildRequires: python3-devel -BuildRequires: python3-setuptools -BuildRequires: python3-setuptools_scm -BuildRequires: python3-pytest -BuildRequires: python3-pytest-asyncio -BuildRequires: python3-pytest-tornado -BuildRequires: python3-pytest-cov -BuildRequires: python3-tornado -BuildRequires: python3-twisted -BuildRequires: python3-redis -BuildRequires: python3-kazoo -BuildRequires: python3-gevent -BuildRequires: python3-sqlalchemy -BuildRequires: python3-pymongo -BuildRequires: python3-pytz -BuildRequires: python3-tzlocal -%{?python_provide:%python_provide python3-%{srcname}} - -%description -n python3-%{srcname} %_description - -%prep -%autosetup -n %{srcname}-%{version} -p1 -# Remove that test as it require services (redis, zookeeper, ...) -# up and running. Upstream provides a docker compose to spawn -# services before running these tests. -rm tests/test_jobstores.py - -%build -%py3_build - -%install -%py3_install - -%check -# Default timezone to UTC otherwise unit tests fail. -export TZ=UTC -%{python3} -m pytest -s tests - -%files -n python3-%{srcname} -%license LICENSE.txt -%doc README.rst -%{python3_sitelib}/%{srcname}-*.egg-info/ -%{python3_sitelib}/apscheduler/ - -%changelog -* Fri Jul 22 2022 Fedora Release Engineering - 3.8.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Tue Jun 14 2022 Python Maint - 3.8.0-3 -- Rebuilt for Python 3.11 - -* Fri Jan 21 2022 Fedora Release Engineering - 3.8.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Thu Sep 23 2021 Fedora Release Monitoring - 3.8.0-1 -- Update to 3.8.0 (#1917870) - -* Fri Jul 23 2021 Fedora Release Engineering - 3.7.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Fri Jun 04 2021 Python Maint - 3.7.0-3 -- Rebuilt for Python 3.10 - -* Wed Jan 27 2021 Fedora Release Engineering - 3.7.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Wed Jan 20 2021 Fabien Boucher - 3.7.0-1 -- Upstream 3.7.0 (RHBZ#1917870) - -* Tue Jul 28 2020 Fedora Release Engineering - 3.6.3-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Mon Jul 20 2020 Fabien Boucher - 3.6.3-3 -- Update project url - -* Tue May 26 2020 Miro Hrončok - 3.6.3-2 -- Rebuilt for Python 3.9 - -* Wed Mar 11 2020 Fabien Boucher - 3.6.3-1 -- Inport from SF packaging and bump to 3.6.3 (#1813957) - -* Mon Aug 19 2019 Miro Hrončok - 3.5.3-4 -- Rebuilt for Python 3.8 - -* Sat Feb 02 2019 Fedora Release Engineering - 3.5.3-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Sun Dec 16 2018 Miro Hrončok - 3.5.3-2 -- Subpackage python2-APScheduler has been removed - See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal - -* Mon Aug 20 2018 Haïkel Guémar - 3.5.3-1 -- Upstream 3.5.3 (RHBZ#1605579) - -* Fri Jul 13 2018 Fedora Release Engineering - 3.0.5-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Tue Jun 19 2018 Miro Hrončok - 3.0.5-9 -- Rebuilt for Python 3.7 - -* Wed Feb 21 2018 Iryna Shcherbina - 3.0.5-8 -- Update Python 2 dependency declarations to new packaging standards - (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) - -* Fri Feb 09 2018 Fedora Release Engineering - 3.0.5-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Thu Jul 27 2017 Fedora Release Engineering - 3.0.5-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Sat Feb 11 2017 Fedora Release Engineering - 3.0.5-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Mon Dec 19 2016 Miro Hrončok - 3.0.5-4 -- Rebuild for Python 3.6 - -* Tue Jul 19 2016 Fedora Release Engineering - 3.0.5-3 -- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages - -* Thu Feb 04 2016 Fedora Release Engineering - 3.0.5-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Sat Dec 19 2015 Paul Belanger - 3.0.5-1 -- Initial packaging (#1218410) diff --git a/sources b/sources deleted file mode 100644 index 53ab9cb..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (APScheduler-3.8.0.tar.gz) = 669770409113835bab772ef76030487171c79d0bbe78a61999a92c4312adefa51eb53305db700039f47ed1b22675b1a831d35f5a83c248f2f5bd55ca75b548c7 diff --git a/tests/simple-test/runtest.sh b/tests/simple-test/runtest.sh deleted file mode 100644 index 715fcfe..0000000 --- a/tests/simple-test/runtest.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -# Include Beaker environment -. /usr/bin/rhts-environment.sh -. /usr/lib/beakerlib/beakerlib.sh - -PACKAGE="python3-APScheduler" - -rlJournalStart - rlPhaseStartSetup - rlAssertRpm $PACKAGE - rlPhaseEnd - - rlPhaseStartTest - rlRun "python3 -c 'import apscheduler'" - rlPhaseEnd - -rlJournalPrintText -rlJournalEnd diff --git a/tests/tests.yml b/tests/tests.yml deleted file mode 100644 index 63a8539..0000000 --- a/tests/tests.yml +++ /dev/null @@ -1,11 +0,0 @@ ---- -- hosts: localhost - roles: - - role: standard-test-beakerlib - tags: - - classic - - atomic - tests: - - simple-test - required_packages: - - python3-APScheduler From d36352d2a1c19b433dd9140d08aa2b2aa8b3c2dc Mon Sep 17 00:00:00 2001 From: Tomas Hrcka Date: Tue, 17 Oct 2023 08:57:11 +0200 Subject: [PATCH 32/53] Unretirement request: https://pagure.io/releng/issue/11709 --- .gitignore | 5 ++ dead.package | 1 - python-APScheduler.spec | 149 +++++++++++++++++++++++++++++++++++ sources | 1 + tests/simple-test/runtest.sh | 19 +++++ tests/tests.yml | 11 +++ 6 files changed, 185 insertions(+), 1 deletion(-) create mode 100644 .gitignore delete mode 100644 dead.package create mode 100644 python-APScheduler.spec create mode 100644 sources create mode 100644 tests/simple-test/runtest.sh create mode 100644 tests/tests.yml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c5224a6 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +/APScheduler-3.0.5.tar.gz +/APScheduler-3.5.3.tar.gz +/APScheduler-3.6.3.tar.gz +/APScheduler-3.7.0.tar.gz +/APScheduler-3.8.0.tar.gz diff --git a/dead.package b/dead.package deleted file mode 100644 index 5204a84..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -Orphaned for 6+ weeks diff --git a/python-APScheduler.spec b/python-APScheduler.spec new file mode 100644 index 0000000..928aa12 --- /dev/null +++ b/python-APScheduler.spec @@ -0,0 +1,149 @@ +%global srcname APScheduler +%global _description %{expand: +Advanced Python Scheduler (APScheduler) is a Python library that lets you +schedule your Python code to be executed later, either just once or +periodically. You can add new jobs or remove old ones on the fly as you +please. If you store your jobs in a database, they will also survive +scheduler restarts and maintain their state. When the scheduler is +restarted, it will then run all the jobs it should have run while it was +offline.} + +Name: python-APScheduler +Version: 3.8.0 +Release: 4%{?dist} +Summary: In-process task scheduler with Cron-like capabilities + +License: MIT +URL: https://github.com/agronholm/apscheduler +Source0: %pypi_source + +BuildArch: noarch + +%description %_description + +%package -n python3-%{srcname} +Summary: %{summary} +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-setuptools_scm +BuildRequires: python3-pytest +BuildRequires: python3-pytest-asyncio +BuildRequires: python3-pytest-tornado +BuildRequires: python3-pytest-cov +BuildRequires: python3-tornado +BuildRequires: python3-twisted +BuildRequires: python3-redis +BuildRequires: python3-kazoo +BuildRequires: python3-gevent +BuildRequires: python3-sqlalchemy +BuildRequires: python3-pymongo +BuildRequires: python3-pytz +BuildRequires: python3-tzlocal +%{?python_provide:%python_provide python3-%{srcname}} + +%description -n python3-%{srcname} %_description + +%prep +%autosetup -n %{srcname}-%{version} -p1 +# Remove that test as it require services (redis, zookeeper, ...) +# up and running. Upstream provides a docker compose to spawn +# services before running these tests. +rm tests/test_jobstores.py + +%build +%py3_build + +%install +%py3_install + +%check +# Default timezone to UTC otherwise unit tests fail. +export TZ=UTC +%{python3} -m pytest -s tests + +%files -n python3-%{srcname} +%license LICENSE.txt +%doc README.rst +%{python3_sitelib}/%{srcname}-*.egg-info/ +%{python3_sitelib}/apscheduler/ + +%changelog +* Fri Jul 22 2022 Fedora Release Engineering - 3.8.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Tue Jun 14 2022 Python Maint - 3.8.0-3 +- Rebuilt for Python 3.11 + +* Fri Jan 21 2022 Fedora Release Engineering - 3.8.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Sep 23 2021 Fedora Release Monitoring - 3.8.0-1 +- Update to 3.8.0 (#1917870) + +* Fri Jul 23 2021 Fedora Release Engineering - 3.7.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jun 04 2021 Python Maint - 3.7.0-3 +- Rebuilt for Python 3.10 + +* Wed Jan 27 2021 Fedora Release Engineering - 3.7.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jan 20 2021 Fabien Boucher - 3.7.0-1 +- Upstream 3.7.0 (RHBZ#1917870) + +* Tue Jul 28 2020 Fedora Release Engineering - 3.6.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jul 20 2020 Fabien Boucher - 3.6.3-3 +- Update project url + +* Tue May 26 2020 Miro Hrončok - 3.6.3-2 +- Rebuilt for Python 3.9 + +* Wed Mar 11 2020 Fabien Boucher - 3.6.3-1 +- Inport from SF packaging and bump to 3.6.3 (#1813957) + +* Mon Aug 19 2019 Miro Hrončok - 3.5.3-4 +- Rebuilt for Python 3.8 + +* Sat Feb 02 2019 Fedora Release Engineering - 3.5.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sun Dec 16 2018 Miro Hrončok - 3.5.3-2 +- Subpackage python2-APScheduler has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + +* Mon Aug 20 2018 Haïkel Guémar - 3.5.3-1 +- Upstream 3.5.3 (RHBZ#1605579) + +* Fri Jul 13 2018 Fedora Release Engineering - 3.0.5-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 19 2018 Miro Hrončok - 3.0.5-9 +- Rebuilt for Python 3.7 + +* Wed Feb 21 2018 Iryna Shcherbina - 3.0.5-8 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + +* Fri Feb 09 2018 Fedora Release Engineering - 3.0.5-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 3.0.5-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 3.0.5-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Dec 19 2016 Miro Hrončok - 3.0.5-4 +- Rebuild for Python 3.6 + +* Tue Jul 19 2016 Fedora Release Engineering - 3.0.5-3 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Thu Feb 04 2016 Fedora Release Engineering - 3.0.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Sat Dec 19 2015 Paul Belanger - 3.0.5-1 +- Initial packaging (#1218410) diff --git a/sources b/sources new file mode 100644 index 0000000..53ab9cb --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (APScheduler-3.8.0.tar.gz) = 669770409113835bab772ef76030487171c79d0bbe78a61999a92c4312adefa51eb53305db700039f47ed1b22675b1a831d35f5a83c248f2f5bd55ca75b548c7 diff --git a/tests/simple-test/runtest.sh b/tests/simple-test/runtest.sh new file mode 100644 index 0000000..715fcfe --- /dev/null +++ b/tests/simple-test/runtest.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +# Include Beaker environment +. /usr/bin/rhts-environment.sh +. /usr/lib/beakerlib/beakerlib.sh + +PACKAGE="python3-APScheduler" + +rlJournalStart + rlPhaseStartSetup + rlAssertRpm $PACKAGE + rlPhaseEnd + + rlPhaseStartTest + rlRun "python3 -c 'import apscheduler'" + rlPhaseEnd + +rlJournalPrintText +rlJournalEnd diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..63a8539 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,11 @@ +--- +- hosts: localhost + roles: + - role: standard-test-beakerlib + tags: + - classic + - atomic + tests: + - simple-test + required_packages: + - python3-APScheduler From be2b94229537f8892226ee79039631d8c6f6d138 Mon Sep 17 00:00:00 2001 From: Maja Massarini Date: Tue, 10 Oct 2023 11:59:33 +0200 Subject: [PATCH 33/53] Convert to %autorelease and %autochangelog [skip changelog] --- changelog | 79 +++++++++++++++++++++++++++++++++++++++ python-APScheduler.spec | 82 +---------------------------------------- 2 files changed, 81 insertions(+), 80 deletions(-) create mode 100644 changelog diff --git a/changelog b/changelog new file mode 100644 index 0000000..ee65710 --- /dev/null +++ b/changelog @@ -0,0 +1,79 @@ +* Fri Jul 22 2022 Fedora Release Engineering - 3.8.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Tue Jun 14 2022 Python Maint - 3.8.0-3 +- Rebuilt for Python 3.11 + +* Fri Jan 21 2022 Fedora Release Engineering - 3.8.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Sep 23 2021 Fedora Release Monitoring - 3.8.0-1 +- Update to 3.8.0 (#1917870) + +* Fri Jul 23 2021 Fedora Release Engineering - 3.7.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jun 04 2021 Python Maint - 3.7.0-3 +- Rebuilt for Python 3.10 + +* Wed Jan 27 2021 Fedora Release Engineering - 3.7.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jan 20 2021 Fabien Boucher - 3.7.0-1 +- Upstream 3.7.0 (RHBZ#1917870) + +* Tue Jul 28 2020 Fedora Release Engineering - 3.6.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jul 20 2020 Fabien Boucher - 3.6.3-3 +- Update project url + +* Tue May 26 2020 Miro Hrončok - 3.6.3-2 +- Rebuilt for Python 3.9 + +* Wed Mar 11 2020 Fabien Boucher - 3.6.3-1 +- Inport from SF packaging and bump to 3.6.3 (#1813957) + +* Mon Aug 19 2019 Miro Hrončok - 3.5.3-4 +- Rebuilt for Python 3.8 + +* Sat Feb 02 2019 Fedora Release Engineering - 3.5.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sun Dec 16 2018 Miro Hrončok - 3.5.3-2 +- Subpackage python2-APScheduler has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + +* Mon Aug 20 2018 Haïkel Guémar - 3.5.3-1 +- Upstream 3.5.3 (RHBZ#1605579) + +* Fri Jul 13 2018 Fedora Release Engineering - 3.0.5-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 19 2018 Miro Hrončok - 3.0.5-9 +- Rebuilt for Python 3.7 + +* Wed Feb 21 2018 Iryna Shcherbina - 3.0.5-8 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + +* Fri Feb 09 2018 Fedora Release Engineering - 3.0.5-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 3.0.5-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 3.0.5-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Dec 19 2016 Miro Hrončok - 3.0.5-4 +- Rebuild for Python 3.6 + +* Tue Jul 19 2016 Fedora Release Engineering - 3.0.5-3 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Thu Feb 04 2016 Fedora Release Engineering - 3.0.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Sat Dec 19 2015 Paul Belanger - 3.0.5-1 +- Initial packaging (#1218410) diff --git a/python-APScheduler.spec b/python-APScheduler.spec index 928aa12..d9ebfae 100644 --- a/python-APScheduler.spec +++ b/python-APScheduler.spec @@ -10,7 +10,7 @@ offline.} Name: python-APScheduler Version: 3.8.0 -Release: 4%{?dist} +Release: %autorelease Summary: In-process task scheduler with Cron-like capabilities License: MIT @@ -68,82 +68,4 @@ export TZ=UTC %{python3_sitelib}/apscheduler/ %changelog -* Fri Jul 22 2022 Fedora Release Engineering - 3.8.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Tue Jun 14 2022 Python Maint - 3.8.0-3 -- Rebuilt for Python 3.11 - -* Fri Jan 21 2022 Fedora Release Engineering - 3.8.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Thu Sep 23 2021 Fedora Release Monitoring - 3.8.0-1 -- Update to 3.8.0 (#1917870) - -* Fri Jul 23 2021 Fedora Release Engineering - 3.7.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Fri Jun 04 2021 Python Maint - 3.7.0-3 -- Rebuilt for Python 3.10 - -* Wed Jan 27 2021 Fedora Release Engineering - 3.7.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Wed Jan 20 2021 Fabien Boucher - 3.7.0-1 -- Upstream 3.7.0 (RHBZ#1917870) - -* Tue Jul 28 2020 Fedora Release Engineering - 3.6.3-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Mon Jul 20 2020 Fabien Boucher - 3.6.3-3 -- Update project url - -* Tue May 26 2020 Miro Hrončok - 3.6.3-2 -- Rebuilt for Python 3.9 - -* Wed Mar 11 2020 Fabien Boucher - 3.6.3-1 -- Inport from SF packaging and bump to 3.6.3 (#1813957) - -* Mon Aug 19 2019 Miro Hrončok - 3.5.3-4 -- Rebuilt for Python 3.8 - -* Sat Feb 02 2019 Fedora Release Engineering - 3.5.3-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Sun Dec 16 2018 Miro Hrončok - 3.5.3-2 -- Subpackage python2-APScheduler has been removed - See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal - -* Mon Aug 20 2018 Haïkel Guémar - 3.5.3-1 -- Upstream 3.5.3 (RHBZ#1605579) - -* Fri Jul 13 2018 Fedora Release Engineering - 3.0.5-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Tue Jun 19 2018 Miro Hrončok - 3.0.5-9 -- Rebuilt for Python 3.7 - -* Wed Feb 21 2018 Iryna Shcherbina - 3.0.5-8 -- Update Python 2 dependency declarations to new packaging standards - (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) - -* Fri Feb 09 2018 Fedora Release Engineering - 3.0.5-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Thu Jul 27 2017 Fedora Release Engineering - 3.0.5-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Sat Feb 11 2017 Fedora Release Engineering - 3.0.5-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Mon Dec 19 2016 Miro Hrončok - 3.0.5-4 -- Rebuild for Python 3.6 - -* Tue Jul 19 2016 Fedora Release Engineering - 3.0.5-3 -- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages - -* Thu Feb 04 2016 Fedora Release Engineering - 3.0.5-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Sat Dec 19 2015 Paul Belanger - 3.0.5-1 -- Initial packaging (#1218410) +%autochangelog From f6b6df04361cbd585755a36beebfbc9f72434705 Mon Sep 17 00:00:00 2001 From: Maja Massarini Date: Fri, 3 Nov 2023 11:37:15 +0100 Subject: [PATCH 34/53] New specfile for unretirement procedure --- .packit.yaml | 16 ++++++++++++++ python-APScheduler.spec | 48 ++++++++++++++++------------------------- 2 files changed, 35 insertions(+), 29 deletions(-) create mode 100644 .packit.yaml diff --git a/.packit.yaml b/.packit.yaml new file mode 100644 index 0000000..8582aea --- /dev/null +++ b/.packit.yaml @@ -0,0 +1,16 @@ +# See the documentation for more information: +# https://packit.dev/docs/configuration/ + +specfile_path: python-APScheduler.spec + +upstream_package_name: APScheduler +downstream_package_name: python-APScheduler +upstream_project_url: https://github.com/agronholm/apscheduler + +jobs: + - job: copr_build + owner: mmassari + project: apscheduler + trigger: pull_request + targets: + - fedora-f38 diff --git a/python-APScheduler.spec b/python-APScheduler.spec index d9ebfae..9a9e24a 100644 --- a/python-APScheduler.spec +++ b/python-APScheduler.spec @@ -8,15 +8,14 @@ scheduler restarts and maintain their state. When the scheduler is restarted, it will then run all the jobs it should have run while it was offline.} -Name: python-APScheduler -Version: 3.8.0 +Name: python-%{srcname} +Version: 3.10.4 Release: %autorelease Summary: In-process task scheduler with Cron-like capabilities License: MIT -URL: https://github.com/agronholm/apscheduler -Source0: %pypi_source - +URL: https://pypi.org/project/APScheduler/ +Source0: %{pypi_source %{srcname}} BuildArch: noarch %description %_description @@ -24,22 +23,6 @@ BuildArch: noarch %package -n python3-%{srcname} Summary: %{summary} BuildRequires: python3-devel -BuildRequires: python3-setuptools -BuildRequires: python3-setuptools_scm -BuildRequires: python3-pytest -BuildRequires: python3-pytest-asyncio -BuildRequires: python3-pytest-tornado -BuildRequires: python3-pytest-cov -BuildRequires: python3-tornado -BuildRequires: python3-twisted -BuildRequires: python3-redis -BuildRequires: python3-kazoo -BuildRequires: python3-gevent -BuildRequires: python3-sqlalchemy -BuildRequires: python3-pymongo -BuildRequires: python3-pytz -BuildRequires: python3-tzlocal -%{?python_provide:%python_provide python3-%{srcname}} %description -n python3-%{srcname} %_description @@ -49,23 +32,30 @@ BuildRequires: python3-tzlocal # up and running. Upstream provides a docker compose to spawn # services before running these tests. rm tests/test_jobstores.py +sed -i 's/pytest-tornado5/pytest-tornado/' setup.py +# Remove coverage +sed -i 's/addopts = -rsx --cov/addopts = -rsx/' setup.cfg +sed -i '/pytest-cov/d' setup.py +# It is in the tarball and is not used +rm -r APScheduler.egg-info + +%generate_buildrequires +%pyproject_buildrequires -x testing -x tornado %build -%py3_build +%pyproject_wheel %install -%py3_install +%pyproject_install +%pyproject_save_files apscheduler %check # Default timezone to UTC otherwise unit tests fail. export TZ=UTC -%{python3} -m pytest -s tests +%pytest -%files -n python3-%{srcname} -%license LICENSE.txt +%files -n python3-%{srcname} -f %{pyproject_files} %doc README.rst -%{python3_sitelib}/%{srcname}-*.egg-info/ -%{python3_sitelib}/apscheduler/ %changelog -%autochangelog +%autochangelog \ No newline at end of file From ed9d3147b28ba55e4e7dabf89304edfadd1f8185 Mon Sep 17 00:00:00 2001 From: Maja Massarini Date: Fri, 3 Nov 2023 12:13:25 +0100 Subject: [PATCH 35/53] Add Packit automation for fedora releases --- .packit.yaml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/.packit.yaml b/.packit.yaml index 8582aea..8408b52 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -13,4 +13,23 @@ jobs: project: apscheduler trigger: pull_request targets: - - fedora-f38 + - fedora-all + + - job: pull_from_upstream + trigger: release + packit_instances: ["prod", "stg"] + dist_git_branches: + - fedora-all + + - job: koji_build + trigger: commit + allowed_pr_authors: ["packit-stg", "packit", "mmassari"] + allowed_committers: ["nforro"] + dist_git_branches: + - fedora-all + + - job: bodhi_update + trigger: commit + dist_git_branches: + - fedora-branched # rawhide updates are created automatically + From e1acdc26464aa8cbb89900591cc3a1c87d060688 Mon Sep 17 00:00:00 2001 From: Maja Massarini Date: Fri, 3 Nov 2023 12:39:42 +0100 Subject: [PATCH 36/53] Cleanup packit config file --- .packit.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.packit.yaml b/.packit.yaml index 8408b52..b43b8d1 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -14,7 +14,7 @@ jobs: trigger: pull_request targets: - fedora-all - + - job: pull_from_upstream trigger: release packit_instances: ["prod", "stg"] From 36b84c014646535305066fda9f693ea70784c36b Mon Sep 17 00:00:00 2001 From: Maja Massarini Date: Fri, 3 Nov 2023 13:59:34 +0100 Subject: [PATCH 37/53] [packit] 3.10.4 upstream release Upstream tag: 3.10.4 Upstream commit: 2cd37918 --- .gitignore | 1 + README.packit | 3 +++ python-APScheduler.spec | 2 +- sources | 2 +- 4 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 README.packit diff --git a/.gitignore b/.gitignore index c5224a6..4cd5311 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /APScheduler-3.6.3.tar.gz /APScheduler-3.7.0.tar.gz /APScheduler-3.8.0.tar.gz +/APScheduler-3.10.4.tar.gz diff --git a/README.packit b/README.packit new file mode 100644 index 0000000..14f9883 --- /dev/null +++ b/README.packit @@ -0,0 +1,3 @@ +This repository is maintained by packit. +https://packit.dev/ +The file was generated using packit 0.83.0.post1.dev4+g46d87465.d20231011. diff --git a/python-APScheduler.spec b/python-APScheduler.spec index 9a9e24a..0e3df0a 100644 --- a/python-APScheduler.spec +++ b/python-APScheduler.spec @@ -58,4 +58,4 @@ export TZ=UTC %doc README.rst %changelog -%autochangelog \ No newline at end of file +%autochangelog diff --git a/sources b/sources index 53ab9cb..79b1eec 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (APScheduler-3.8.0.tar.gz) = 669770409113835bab772ef76030487171c79d0bbe78a61999a92c4312adefa51eb53305db700039f47ed1b22675b1a831d35f5a83c248f2f5bd55ca75b548c7 +SHA512 (APScheduler-3.10.4.tar.gz) = 44b78e60b7349437fb8d6e5ad3bbd764cfa653fdd65685b586119225e8daaff9b150871887812a1f3d4cd67b942c70e99d1606d38b83685953fb1bb1a82742fe From eaf1d971ea02535729d080c39ebc4b0b24aa8e82 Mon Sep 17 00:00:00 2001 From: Maja Massarini Date: Fri, 3 Nov 2023 14:29:48 +0100 Subject: [PATCH 38/53] Exclude automation for version 4 alpha releases --- .packit.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.packit.yaml b/.packit.yaml index b43b8d1..e729b37 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -6,6 +6,8 @@ specfile_path: python-APScheduler.spec upstream_package_name: APScheduler downstream_package_name: python-APScheduler upstream_project_url: https://github.com/agronholm/apscheduler + +upstream_tag_exclude: "^4.[0-9].[0-9]a" # exclude version 4 alpha releases jobs: - job: copr_build From 2bf9b3d59b0eaed9786ceed5f801139d3a198860 Mon Sep 17 00:00:00 2001 From: Maja Massarini Date: Mon, 6 Nov 2023 14:19:59 +0000 Subject: [PATCH 39/53] Fix allowed_committers --- .packit.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.packit.yaml b/.packit.yaml index e729b37..1ce81a2 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -26,7 +26,7 @@ jobs: - job: koji_build trigger: commit allowed_pr_authors: ["packit-stg", "packit", "mmassari"] - allowed_committers: ["nforro"] + allowed_committers: ["mmassari"] dist_git_branches: - fedora-all From 1aa35ebf3a4637102e7bd3552f9dcce42c3c8b6e Mon Sep 17 00:00:00 2001 From: Maja Massarini Date: Thu, 16 Nov 2023 15:33:01 +0100 Subject: [PATCH 40/53] Add version_update_mask to packit configuration --- .packit.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.packit.yaml b/.packit.yaml index 1ce81a2..64fddd3 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -6,8 +6,10 @@ specfile_path: python-APScheduler.spec upstream_package_name: APScheduler downstream_package_name: python-APScheduler upstream_project_url: https://github.com/agronholm/apscheduler - +version_update_mask: '\d+\.\d+\.' upstream_tag_exclude: "^4.[0-9].[0-9]a" # exclude version 4 alpha releases + +packit_instances: ["stg"] jobs: - job: copr_build @@ -19,7 +21,6 @@ jobs: - job: pull_from_upstream trigger: release - packit_instances: ["prod", "stg"] dist_git_branches: - fedora-all From 24464f016a2ac7e8ca8711d61fe7ee2e704064ca Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 21 Jan 2024 22:51:01 +0000 Subject: [PATCH 41/53] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From b5997cb342d74fb7b185371b9c31dbc4be2552ab Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 26 Jan 2024 00:43:45 +0000 Subject: [PATCH 42/53] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From abf407bbfc9c7d305e8ae5d0a5f4c8d039d94b12 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 7 Jun 2024 12:01:53 +0200 Subject: [PATCH 43/53] Rebuilt for Python 3.13 From d07cd02799ff10726520e64a6556b294af7f238e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 19 Jul 2024 09:00:01 +0000 Subject: [PATCH 44/53] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From ae13079cc5e1be6b0016053d96875ed357572bd9 Mon Sep 17 00:00:00 2001 From: Maja Massarini Date: Mon, 18 Nov 2024 08:54:23 +0100 Subject: [PATCH 45/53] Fix test_executors when using python 3.14 --- 01-test-executors.patch | 102 ++++++++++++++++++++++++++++++++++++++++ python-APScheduler.spec | 2 + 2 files changed, 104 insertions(+) create mode 100644 01-test-executors.patch diff --git a/01-test-executors.patch b/01-test-executors.patch new file mode 100644 index 0000000..b3856b7 --- /dev/null +++ b/01-test-executors.patch @@ -0,0 +1,102 @@ +diff --git a/setup.cfg b/setup.cfg +index 002111f..012cff4 100644 +--- a/setup.cfg ++++ b/setup.cfg +@@ -7,7 +7,7 @@ upload-dir = docs/_build/html + + [tool:pytest] + asyncio_mode = strict +-addopts = -rsx --cov --tb=short ++addopts = -rsx --tb=short + testpaths = tests + + [coverage:run] +diff --git a/setup.py b/setup.py +index cd93e10..59f5a80 100644 +--- a/setup.py ++++ b/setup.py +@@ -56,7 +56,6 @@ setup( + 'testing': [ + 'pytest', + 'pytest_asyncio', +- 'pytest-cov', + 'pytest-tornado5' + ], + 'doc': [ +diff --git a/tests/test_executors.py b/tests/test_executors.py +index d67e187..0140dbe 100644 +--- a/tests/test_executors.py ++++ b/tests/test_executors.py +@@ -5,6 +5,7 @@ import gc + import os + import signal + import time ++from time import sleep + + import pytest + from pytz import UTC +@@ -36,11 +37,11 @@ def executor(request, mock_scheduler): + executor_ = ThreadPoolExecutor() + else: + from apscheduler.executors.pool import ProcessPoolExecutor +- executor_ = ProcessPoolExecutor() ++ executor_ = ProcessPoolExecutor(4, {"max_tasks_per_child": 1}) + + executor_.start(mock_scheduler, 'dummy') + yield executor_ +- executor_.shutdown() ++ executor_.shutdown(True) + + + def wait_event(): +@@ -60,12 +61,12 @@ def test_max_instances(mock_scheduler, executor, create_job, freeze_time): + """Tests that the maximum instance limit on a job is respected.""" + events = [] + mock_scheduler._dispatch_event = lambda event: events.append(event) +- job = create_job(func=wait_event, max_instances=2, next_run_time=None) ++ job = create_job(func=wait_event, max_instances=2, next_run_time=None, misfire_grace_time = None) + executor.submit_job(job, [freeze_time.current]) + executor.submit_job(job, [freeze_time.current]) + + pytest.raises(MaxInstancesReachedError, executor.submit_job, job, [freeze_time.current]) +- executor.shutdown() ++ executor.shutdown(True) + assert len(events) == 2 + assert events[0].retval == 'test' + assert events[1].retval == 'test' +@@ -83,12 +84,13 @@ def test_submit_job(mock_scheduler, executor, create_job, freeze_time, timezone, + + """ + mock_scheduler._dispatch_event = MagicMock() +- job = create_job(func=func, id='foo') ++ misfire_grace_time = 1 if event_code == EVENT_JOB_MISSED else None ++ job = create_job(func=func, id='foo', misfire_grace_time=misfire_grace_time) + job._jobstore_alias = 'test_jobstore' + run_time = (timezone.localize(datetime(1970, 1, 1)) if event_code == EVENT_JOB_MISSED else + freeze_time.current) + executor.submit_job(job, [run_time]) +- executor.shutdown() ++ executor.shutdown(True) + + assert mock_scheduler._dispatch_event.call_count == 1 + event = mock_scheduler._dispatch_event.call_args[0][0] +@@ -157,18 +159,13 @@ def test_broken_pool(): + + pid = [None] + event = Event() +- scheduler = BackgroundScheduler(executors={'default': ProcessPoolExecutor(1)}) ++ scheduler = BackgroundScheduler(executors={'default': ProcessPoolExecutor(1, {"max_tasks_per_child": 1})}) + scheduler.add_listener(listener, EVENT_JOB_EXECUTED) + scheduler.add_job(os.getpid, 'date', run_date=datetime.now(UTC)) + scheduler.start() + + event.wait(3) + killed_pid = pid[0] +- os.kill(pid[0], signal.SIGTERM) +- try: +- os.waitpid(pid[0], 0) +- except OSError: +- pass + + event.clear() + scheduler.add_job(os.getpid, 'date', run_date=datetime.now(UTC)) diff --git a/python-APScheduler.spec b/python-APScheduler.spec index 0e3df0a..786bdb0 100644 --- a/python-APScheduler.spec +++ b/python-APScheduler.spec @@ -16,6 +16,8 @@ Summary: In-process task scheduler with Cron-like capabilities License: MIT URL: https://pypi.org/project/APScheduler/ Source0: %{pypi_source %{srcname}} +# wait for tasks to finish, adjust misfire_grace_time +Patch0: 01-test-executors.patch BuildArch: noarch %description %_description From 810a5c2dde6580e44bec4228c134ebff7ae70a7f Mon Sep 17 00:00:00 2001 From: Maja Massarini Date: Thu, 28 Nov 2024 14:47:19 +0100 Subject: [PATCH 46/53] Update srcname Starting from release 3.11.0 source name is referenced with lower cases. --- python-APScheduler.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-APScheduler.spec b/python-APScheduler.spec index 786bdb0..8953afa 100644 --- a/python-APScheduler.spec +++ b/python-APScheduler.spec @@ -1,4 +1,4 @@ -%global srcname APScheduler +%global srcname apscheduler %global _description %{expand: Advanced Python Scheduler (APScheduler) is a Python library that lets you schedule your Python code to be executed later, either just once or From 52c2b70a3d51ad2f8af50b7bc5308162f3bb9f3b Mon Sep 17 00:00:00 2001 From: Maja Massarini Date: Thu, 28 Nov 2024 14:54:32 +0100 Subject: [PATCH 47/53] Relax version_update_mask Allows releasing 3.11.0 from 3.10.0. --- .packit.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.packit.yaml b/.packit.yaml index 64fddd3..a9a2f42 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -6,7 +6,7 @@ specfile_path: python-APScheduler.spec upstream_package_name: APScheduler downstream_package_name: python-APScheduler upstream_project_url: https://github.com/agronholm/apscheduler -version_update_mask: '\d+\.\d+\.' +version_update_mask: '\d+\.' upstream_tag_exclude: "^4.[0-9].[0-9]a" # exclude version 4 alpha releases packit_instances: ["stg"] From a91ec8ec4b746710279106d1e0bf49e288c61e5b Mon Sep 17 00:00:00 2001 From: Maja Massarini Date: Thu, 28 Nov 2024 15:22:02 +0100 Subject: [PATCH 48/53] Update to 3.11.0 upstream release Upstream tag: 3.11.0 Upstream commit: 6c72a514 Commit authored by Packit automation (https://packit.dev/) --- .gitignore | 1 + README.packit | 2 +- python-APScheduler.spec | 15 +++++---------- sources | 2 +- 4 files changed, 8 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 4cd5311..95ca13b 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /APScheduler-3.7.0.tar.gz /APScheduler-3.8.0.tar.gz /APScheduler-3.10.4.tar.gz +/apscheduler-3.11.0.tar.gz diff --git a/README.packit b/README.packit index 14f9883..cfc44ec 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.83.0.post1.dev4+g46d87465.d20231011. +The file was generated using packit 0.104.1.post1.dev0+g23aec6b3.d20241128. diff --git a/python-APScheduler.spec b/python-APScheduler.spec index 8953afa..63dcfb1 100644 --- a/python-APScheduler.spec +++ b/python-APScheduler.spec @@ -9,15 +9,13 @@ restarted, it will then run all the jobs it should have run while it was offline.} Name: python-%{srcname} -Version: 3.10.4 +Version: 3.11.0 Release: %autorelease Summary: In-process task scheduler with Cron-like capabilities License: MIT URL: https://pypi.org/project/APScheduler/ Source0: %{pypi_source %{srcname}} -# wait for tasks to finish, adjust misfire_grace_time -Patch0: 01-test-executors.patch BuildArch: noarch %description %_description @@ -34,15 +32,12 @@ BuildRequires: python3-devel # up and running. Upstream provides a docker compose to spawn # services before running these tests. rm tests/test_jobstores.py -sed -i 's/pytest-tornado5/pytest-tornado/' setup.py -# Remove coverage -sed -i 's/addopts = -rsx --cov/addopts = -rsx/' setup.cfg -sed -i '/pytest-cov/d' setup.py -# It is in the tarball and is not used -rm -r APScheduler.egg-info +# Skip missing dependencies in Fedora 4 +sed -i 's/ "anyio >= 4.5.2",//' pyproject.toml +sed -i 's/,rethinkdb//' pyproject.toml %generate_buildrequires -%pyproject_buildrequires -x testing -x tornado +%pyproject_buildrequires -x test -x tornado %build %pyproject_wheel diff --git a/sources b/sources index 79b1eec..884733a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (APScheduler-3.10.4.tar.gz) = 44b78e60b7349437fb8d6e5ad3bbd764cfa653fdd65685b586119225e8daaff9b150871887812a1f3d4cd67b942c70e99d1606d38b83685953fb1bb1a82742fe +SHA512 (apscheduler-3.11.0.tar.gz) = c66d87773d3fe353e5f0bbc4bc9ba05337b555db0810e42e2e384fd9717438fda501d0c724cd7180010b11e5d8db901922b79a163aec3a420a6a65eafb6f39f6 From c0383cc86844939d8f88c14fed9a80141568536b Mon Sep 17 00:00:00 2001 From: Maja Massarini Date: Fri, 29 Nov 2024 14:54:48 +0100 Subject: [PATCH 49/53] Do not change package name --- python-APScheduler.spec | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/python-APScheduler.spec b/python-APScheduler.spec index 63dcfb1..dc4fca4 100644 --- a/python-APScheduler.spec +++ b/python-APScheduler.spec @@ -1,4 +1,3 @@ -%global srcname apscheduler %global _description %{expand: Advanced Python Scheduler (APScheduler) is a Python library that lets you schedule your Python code to be executed later, either just once or @@ -8,31 +7,31 @@ scheduler restarts and maintain their state. When the scheduler is restarted, it will then run all the jobs it should have run while it was offline.} -Name: python-%{srcname} +Name: python-APScheduler Version: 3.11.0 Release: %autorelease Summary: In-process task scheduler with Cron-like capabilities License: MIT URL: https://pypi.org/project/APScheduler/ -Source0: %{pypi_source %{srcname}} +Source0: %{pypi_source apscheduler} BuildArch: noarch %description %_description -%package -n python3-%{srcname} +%package -n python3-APScheduler Summary: %{summary} BuildRequires: python3-devel -%description -n python3-%{srcname} %_description +%description -n python3-APScheduler %_description %prep -%autosetup -n %{srcname}-%{version} -p1 +%autosetup -n apscheduler-%{version} -p1 # Remove that test as it require services (redis, zookeeper, ...) # up and running. Upstream provides a docker compose to spawn # services before running these tests. rm tests/test_jobstores.py -# Skip missing dependencies in Fedora 4 +# Skip missing dependencies in Fedora 42 sed -i 's/ "anyio >= 4.5.2",//' pyproject.toml sed -i 's/,rethinkdb//' pyproject.toml @@ -51,7 +50,7 @@ sed -i 's/,rethinkdb//' pyproject.toml export TZ=UTC %pytest -%files -n python3-%{srcname} -f %{pyproject_files} +%files -n python3-APScheduler -f %{pyproject_files} %doc README.rst %changelog From 1db6d59dd295e8273d3c832ab08bff0afa0472ea Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 18 Jan 2025 11:22:18 +0000 Subject: [PATCH 50/53] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From bbc55ec9b282ff3166c34794204593dc260f1a75 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 06:25:17 +0000 Subject: [PATCH 51/53] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From a6c56914a80163f480b326449fe9f98aab5ab4f7 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 15 Aug 2025 13:14:17 +0200 Subject: [PATCH 52/53] Rebuilt for Python 3.14.0rc2 bytecode From b3afa94f5a76017523a3612cb97054f9ab2b4e2c Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 19 Sep 2025 12:45:19 +0200 Subject: [PATCH 53/53] Rebuilt for Python 3.14.0rc3 bytecode