diff --git a/doc/changes.rst b/doc/changes.rst index 4124742dac..9f9b5338c0 100644 --- a/doc/changes.rst +++ b/doc/changes.rst @@ -4,6 +4,17 @@ Change log Stable versions ~~~~~~~~~~~~~~~ +Version 1.58.0 (February 19, 2023) +----------------------------------- + +**Bug Fixes & Improvements** + +- Add unarchiving support @Tsuesun (#2391) +- Support full GitHub app authentication @dblanchette (#1986) +- Continue the PR #1899 @Felixoid (#2386) +- feat: add allow\_forking to Repository @IbrahimAH (#2380) +- Add code scanning alerts @eric-nieuwland (#2227) + Version 1.57 (November 05, 2022) ----------------------------------- diff --git a/doc/conf.py b/doc/conf.py index b818794559..3c634cc431 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -35,7 +35,9 @@ # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. sys.path.insert(0, os.path.abspath("..")) -from setup import version as setupVersion # noqa: E402, isort:skip +from importlib.metadata import version # noqa: E402, isort:skip + +setupVersion = version("PyGithub") # -- General configuration ----------------------------------------------------- diff --git a/setup.py b/setup.py index 97e535648d..cb3e805530 100755 --- a/setup.py +++ b/setup.py @@ -44,13 +44,11 @@ import setuptools -version = "1.58.0" - - if __name__ == "__main__": setuptools.setup( name="PyGithub", - version=version, + use_scm_version=True, + setup_requires=["setuptools_scm"], description="Use the full Github API v3", author="Vincent Jacques", author_email="vincent@vincent-jacques.net",