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
Add git rev to local version identifier #3568
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #3568 +/- ##
==========================================
+ Coverage 66.68% 67.53% +0.85%
==========================================
Files 48 47 -1
Lines 8491 8514 +23
Branches 2413 2423 +10
==========================================
+ Hits 5662 5750 +88
+ Misses 1696 1632 -64
+ Partials 1133 1132 -1 ☔ View full report in Codecov by Sentry. |
I wonder why Python 3.6 doesn't work. https://github.com/cocotb/cocotb/actions/runs/7143704333/job/19455778417?pr=3568#step:23:65 |
Huh, dunno yet. But I guess that answers my question about needing a test. |
3.6 was failing because
I confirmed that the new test caught this issue and then resolved it. |
Also additional confirmation that things are working in 3.6 now: |
Gentle reminder on the ready for review. |
I respond well to loud yelling. |
GOOD JOB, YOU DID IT!@ |
Reading deeper into PEP 440: https://peps.python.org/pep-0440/#final-releases
I read this as meaning |
I don't really care |
OK, so what's the verdict? Back to |
Yeah, sorry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your pull request, @toddstrader.
There's a chicken-and-egg problem wrt PR numbers and creating news fragments.
You can use the issue number instead of the PR number for the newsfragment.
Adds the Git rev to the local version label. There's a chicken-and-egg problem wrt PR numbers and creating news fragments. I'll add that next. Also, should I add a test for this? I guess I could check that the
+
exists and there's something git rev-like if it's adev
version?closes #3562