Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use use_scm_version to get current version from git tag #2429

Merged
merged 3 commits into from Feb 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 11 additions & 0 deletions doc/changes.rst
Expand Up @@ -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)
-----------------------------------

Expand Down
4 changes: 3 additions & 1 deletion doc/conf.py
Expand Up @@ -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 -----------------------------------------------------

Expand Down
6 changes: 2 additions & 4 deletions setup.py
Expand Up @@ -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",
Expand Down