## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 12; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %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-%{srcname} Version: 3.10.4 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 %package -n python3-%{srcname} Summary: %{summary} BuildRequires: python3-devel %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 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 %pyproject_wheel %install %pyproject_install %pyproject_save_files apscheduler %check # Default timezone to UTC otherwise unit tests fail. export TZ=UTC %pytest %files -n python3-%{srcname} -f %{pyproject_files} %doc README.rst %changelog ## START: Generated by rpmautospec * Mon Nov 18 2024 Maja Massarini - 3.10.4-12 - Fix test_executors when using python 3.14 * Fri Jul 19 2024 Fedora Release Engineering - 3.10.4-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 3.10.4-10 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 3.10.4-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 3.10.4-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Nov 17 2023 Maja Massarini - 3.10.4-7 - Add version_update_mask to packit configuration * Mon Nov 06 2023 Maja Massarini - 3.10.4-6 - Fix allowed_committers * Fri Nov 03 2023 Maja Massarini - 3.10.4-5 - Exclude automation for version 4 alpha releases * Fri Nov 03 2023 Maja Massarini - 3.10.4-4 - [packit] 3.10.4 upstream release * Fri Nov 03 2023 Maja Massarini - 3.10.4-3 - Cleanup packit config file * Fri Nov 03 2023 Maja Massarini - 3.10.4-2 - Add Packit automation for fedora releases * Fri Nov 03 2023 Maja Massarini - 3.10.4-1 - New specfile for unretirement procedure * 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) ## END: Generated by rpmautospec