Skip to content

FIX: Always bootstrap in setup.py to avoid incompatibility with old versioneer#344

Merged
effigies merged 1 commit into
python-versioneer:masterfrom
mgorny:always-bootstrap
Oct 18, 2022
Merged

FIX: Always bootstrap in setup.py to avoid incompatibility with old versioneer#344
effigies merged 1 commit into
python-versioneer:masterfrom
mgorny:always-bootstrap

Conversation

@mgorny

@mgorny mgorny commented Oct 18, 2022

Copy link
Copy Markdown
Contributor

Always bootstrap versioneer and use the newly bootstrapped version in setup.py. This avoids compatibility problems when there is an old version of versioneer installed (<= 0.23) that does not define get_version() and therefore causes setup.py to fail.

Thanks to Chris Markiewicz for the suggested solution.

Fixes #343

Always bootstrap versioneer and use the newly bootstrapped version
in `setup.py`.  This avoids compatibility problems when there is
an old version of versioneer installed (<= 0.23) that does not define
`get_version()` and therefore causes `setup.py` to fail.

Thanks to Chris Markiewicz for the suggested solution.

Fixes python-versioneer#343
@effigies effigies changed the title FIX: always bootstrap to avoid incompatibility with old versioneer FIX: Always bootstrap in setup.py to avoid incompatibility with old versioneer Oct 18, 2022
@effigies

Copy link
Copy Markdown
Contributor

Looks great, and tests are passing. Thanks very much for your help!

@effigies effigies merged commit 779d126 into python-versioneer:master Oct 18, 2022
@mgorny mgorny deleted the always-bootstrap branch October 18, 2022 14:48
@mgorny

mgorny commented Oct 18, 2022

Copy link
Copy Markdown
Contributor Author

Thanks!

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.

setup.py from git fails if versioneer<=0.23 is installed

2 participants