Skip to content

Commit

Permalink
Fix entry point iteration on Python 3.9 (#773)
Browse files Browse the repository at this point in the history
  • Loading branch information
CrypticDriver committed Aug 14, 2023
1 parent 009965e commit 6305f63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apscheduler/schedulers/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class BaseScheduler(six.with_metaclass(ABCMeta)):
.. seealso:: :ref:`scheduler-config`
"""
# The `group=...` API is only available in the backport, used in <=3.7, and in std>=3.10.
if (3, 8) <= sys.version_info <= (3, 9):
if (3, 8) <= sys.version_info < (3, 10):
_trigger_plugins = {ep.name: ep for ep in entry_points()['apscheduler.triggers']}
_executor_plugins = {ep.name: ep for ep in entry_points()['apscheduler.executors']}
_jobstore_plugins = {ep.name: ep for ep in entry_points()['apscheduler.jobstores']}
Expand Down

0 comments on commit 6305f63

Please sign in to comment.