diff --git a/APScheduler-3.10.1.tar.gz b/APScheduler-3.10.1.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..b8d94f0e5ea45b7de76ce8f3d43f4a909ff13962
Binary files /dev/null and b/APScheduler-3.10.1.tar.gz differ
diff --git a/APScheduler-3.6.3.tar.gz b/APScheduler-3.6.3.tar.gz
deleted file mode 100644
index 8ac63e01ea22014d0cdbc76ae8b8f94d52c443e5..0000000000000000000000000000000000000000
Binary files a/APScheduler-3.6.3.tar.gz and /dev/null differ
diff --git a/Adapt-version-constraints-for-tzlocal-in-setup.py.patch b/Adapt-version-constraints-for-tzlocal-in-setup.py.patch
new file mode 100644
index 0000000000000000000000000000000000000000..10e89f1f99930b9119374d5f53a7ab95b2871f1c
--- /dev/null
+++ b/Adapt-version-constraints-for-tzlocal-in-setup.py.patch
@@ -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
+
diff --git a/python-apscheduler.spec b/python-apscheduler.spec
index 06f4774d36dbdc0404b3988ff08c70292d7077db..da4145aec5e0fe3a0162901f235f42363e36a75d 100644
--- a/python-apscheduler.spec
+++ b/python-apscheduler.spec
@@ -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 `_.
%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 - 3.10.1-1
+- Update to 3.10.1
+
* Tue Aug 18 2020 Python_Bot
- Package Spec generated