Skip to content

bpo-27593: Get SCM build info from git instead of hg #1327

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

Merged
merged 1 commit into from
May 2, 2017
Merged

bpo-27593: Get SCM build info from git instead of hg #1327

merged 1 commit into from
May 2, 2017

Conversation

vstinner
Copy link
Member

Based on commit 5c4b0d0 by Ned
Deily, which is based on original patches by Brett Cannon and Steve
Dower.

Remove also the private _Py_svnversion() function and SVNVERSION
variable.

Note: Py_SubversionRevision() and Py_SubversionShortBranch() are
unchanged, they are part of the public API.

Based on commit 5c4b0d0 by Ned
Deily, which is based on original patches by Brett Cannon and Steve
Dower.

Remove also the private _Py_svnversion() function and SVNVERSION
variable.

Note: Py_SubversionRevision() and Py_SubversionShortBranch() are
unchanged, they are part of the public API.
@@ -134,6 +134,10 @@ Documentation
Build
-----

- bpo-27593: sys.version and the platform module python_build(),
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hum, I copied the news item from master, but I forgot to update it.

@vstinner vstinner merged commit 2c7085f into python:2.7 May 2, 2017
@vstinner vstinner deleted the sys_git branch May 2, 2017 14:55
@vstinner
Copy link
Member Author

vstinner commented May 2, 2017

Ok, merged. Thanks for the review @brettcannon !

markbt added a commit to dgrunwald/rust-cpython that referenced this pull request Feb 12, 2018
Upstream python removed `_Py_svnversion`, `_Py_hgversion` and
`_Py_hgidentifier` in python/cpython#1327,
replacing them with `_Py_gitversion` and `_Py_gitidentifier`.

These are private symbols which shouldn't be exposed here anyway, so
just remove them.
markbt added a commit to dgrunwald/rust-cpython that referenced this pull request Feb 13, 2018
Upstream python removed `_Py_svnversion`, `_Py_hgversion` and
`_Py_hgidentifier` in python/cpython#1327,
replacing them with `_Py_gitversion` and `_Py_gitidentifier`.

These are private symbols which shouldn't be exposed here anyway, so
just remove them.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants