Update to 3.10.1

This commit is contained in:
starlet-dx 2023-05-09 09:08:45 +08:00
parent 3819c832a6
commit a63688c6ec
4 changed files with 32 additions and 4 deletions

BIN
APScheduler-3.10.1.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,25 @@
From 61f66fa165142a65a534646922888d7ab3c72361 Mon Sep 17 00:00:00 2001
From: starlet-dx <15929766099@163.com>
Date: Mon, 8 May 2023 17:34:00 +0800
Subject: [PATCH 1/1] Adapt version constraints for tzlocal in setup.py
---
setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/setup.py b/setup.py
index 3b452aa..41347e5 100644
--- a/setup.py
+++ b/setup.py
@@ -42,7 +42,7 @@ setup(
'setuptools >= 0.7',
'six >= 1.4.0',
'pytz',
- 'tzlocal >= 2.0, != 3.*'
+ 'tzlocal >= 3.0'
],
extras_require={
'gevent': ['gevent'],
--
2.30.0

View File

@ -1,11 +1,12 @@
%global _empty_manifest_terminate_build 0
Name: python-APScheduler
Version: 3.6.3
Version: 3.10.1
Release: 1
Summary: In-process task scheduler with Cron-like capabilities
License: MIT
URL: https://github.com/agronholm/apscheduler
Source0: https://files.pythonhosted.org/packages/89/3d/f65972547c5aa533276ada2bea3c2ef51bb4c4de55b67a66129c111b89ad/APScheduler-3.6.3.tar.gz
Source0: https://files.pythonhosted.org/packages/source/A/APScheduler/APScheduler-%{version}.tar.gz
Patch0: Adapt-version-constraints-for-tzlocal-in-setup.py.patch
BuildArch: noarch
BuildRequires: python-setuptools_scm python3-pip python3-setuptools python3-six python3-pytz
@ -30,7 +31,6 @@ Requires: python3-pytest-cov
Requires: python3-pytest-tornado5
Requires: python3-mock
Requires: python3-pytest-asyncio
Requires: python3-pytest-asyncio
Requires: python3-tornado
Requires: python3-twisted
Requires: python3-kazoo
@ -53,7 +53,7 @@ Provides: python3-APScheduler-doc
Documentation can be found `here <http://readthedocs.org/docs/apscheduler/en/latest/>`_.
%prep
%autosetup -n APScheduler-3.6.3
%autosetup -n APScheduler-%{version} -p1
%build
%py3_build
@ -93,5 +93,8 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
* Tue May 09 2023 yaoxin <yao_xin@hoperun.com> - 3.10.1-1
- Update to 3.10.1
* Tue Aug 18 2020 Python_Bot <Python_Bot@openeuler.org>
- Package Spec generated