From 82a43db1b938d8fdf60103bd41f329e06c8d3651 Mon Sep 17 00:00:00 2001 From: Sijmen Date: Sat, 25 May 2024 20:40:33 +0200 Subject: [PATCH] Release 1.2.2 (#625) --- AUTHORS.rst | 2 +- HISTORY.rst | 8 ++++++++ docs/conf.py | 4 ++-- docs/development.rst | 7 +++++-- pyproject.toml | 26 ++++++++++++++++++++++++++ setup.cfg | 1 - setup.py | 2 +- 7 files changed, 43 insertions(+), 7 deletions(-) create mode 100644 pyproject.toml diff --git a/AUTHORS.rst b/AUTHORS.rst index 63189ee0..354c8f78 100644 --- a/AUTHORS.rst +++ b/AUTHORS.rst @@ -44,4 +44,4 @@ Thanks to all the wonderful folks who have contributed to schedule over the year - sunpro108 - kurtasov - AnezeR - +- a-detiste diff --git a/HISTORY.rst b/HISTORY.rst index fa6866db..4f94ba1c 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -3,6 +3,14 @@ History ------- +1.2.2 (2024-05-25) +++++++++++++++++++ + +- Fix bugs in cross-timezone scheduling (#601, #602, #604, #623) +- Add support for python 3.12 (#606) +- Remove dependency on old mock (#622) Thanks @a-detiste! + + 1.2.1 (2023-11-01) ++++++++++++++++++ diff --git a/docs/conf.py b/docs/conf.py index b5d1e6cd..125e0a24 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -66,9 +66,9 @@ # built documents. # # The short X.Y version. -version = u"1.2.1" +version = u"1.2.2" # The full version, including alpha/beta/rc tags. -release = u"1.2.1" +release = u"1.2.2" # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/docs/development.rst b/docs/development.rst index 08dccdae..56a6c1d0 100644 --- a/docs/development.rst +++ b/docs/development.rst @@ -59,7 +59,10 @@ Merge these changes into master. Finally: git push --tags pip install --upgrade setuptools twine wheel - python setup.py sdist bdist_wheel --universal + python3 -m build --wheel + # For https://test.pypi.org/project/schedule/ + twine upload --repository schedule-test dist/* + # For https://pypi.org/project/schedule/ twine upload --repository schedule dist/* -This project follows `semantic versioning `_.` \ No newline at end of file +This project follows `semantic versioning `_.` diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 00000000..8f8ab03e --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,26 @@ +[build-system] +requires = ["setuptools >= 61.0"] +build-backend = "setuptools.build_meta" + +[project] +name = "schedule" +description = "Job scheduling for humans." +dynamic = ["version", "classifiers", "keywords", "authors"] +readme = "README.rst" +license = {text = "MIT License"} + +requires-python = ">= 3.7" +dependencies = [] + +maintainers = [ + {name = "Sijmen Huizenga"} +] + +[project.optional-dependencies] +timezone = ["pytz"] + +[project.urls] +Documentation = "https://schedule.readthedocs.io" +Repository = "https://github.com/dbader/schedule.git" +Issues = "https://github.com/dbader/schedule/issues" +Changelog = "https://github.com/dbader/schedule/blob/master/HISTORY.rst" diff --git a/setup.cfg b/setup.cfg index fc1dec8d..c38bcda4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,3 +1,2 @@ [mypy] files=schedule -ignore_missing_imports = True diff --git a/setup.py b/setup.py index 9bd5a4f9..3b340337 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup -SCHEDULE_VERSION = "1.2.1" +SCHEDULE_VERSION = "1.2.2" SCHEDULE_DOWNLOAD_URL = "https://github.com/dbader/schedule/tarball/" + SCHEDULE_VERSION