Skip to content

Conversation

TimoWilken
Copy link
Contributor

The latest pip versions fail to install a source checkout if its version is set to LAST_TAG, which we do for all untagged commits.

Use setuptools_scm instead, so that we always have a valid, PEP440-compliant version number, even for commits in between tags.

The latest pip versions fail to install a source checkout if its version is set
to `LAST_TAG`, which we do for all untagged commits.

Use setuptools_scm instead, so that we always have a valid, PEP440-compliant
version number, even for commits in between tags.
@codecov
Copy link

codecov bot commented Feb 8, 2023

Codecov Report

Merging #789 (8796810) into master (03aaf5e) will decrease coverage by 0.11%.
The diff coverage is 58.33%.

@@            Coverage Diff             @@
##           master     #789      +/-   ##
==========================================
- Coverage   84.92%   84.81%   -0.11%     
==========================================
  Files          30       30              
  Lines        3064     3075      +11     
==========================================
+ Hits         2602     2608       +6     
- Misses        462      467       +5     
Impacted Files Coverage Δ
alibuild_helpers/__init__.py 58.33% <58.33%> (-41.67%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@TimoWilken TimoWilken marked this pull request as ready for review February 9, 2023 12:47
@TimoWilken
Copy link
Contributor Author

The new coverage misses are in the error checking in __init__.py in case aliBuild is running from a local checkout and setuptools_scm is not installed. This seems unlikely to be worth testing using unittests. Merging.

@TimoWilken TimoWilken merged commit 7e7701f into alisw:master Feb 9, 2023
@TimoWilken TimoWilken deleted the setuptools_scm branch February 9, 2023 13:36
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.

1 participant