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

version.text replaces pretty_version #549

Merged
merged 2 commits into from
Jan 22, 2023

Conversation

dimbleby
Copy link
Contributor

@dimbleby dimbleby commented Jan 5, 2023

Companion to python-poetry/poetry#7305

Downstream tests should fail until python-poetry/poetry#7305 propagates

I suppose the Package could instead continue to accept the pretty_version in its constructor but just ignore it: while that would be backwards-compatible it would also be rather misleading.

I don't think it's worth it myself - but if you really wanted to go through the deprecation cycle I suppose we could check for not-None pretty_version and warn

@dimbleby dimbleby force-pushed the no-pretty-version branch 2 times, most recently from d589e85 to d207872 Compare January 21, 2023 11:37
@radoering
Copy link
Member

but if you really wanted to go through the deprecation cycle I suppose we could check for not-None pretty_version and warn

I'd prefer this route and appreciate if you can do as proposed.

@dimbleby dimbleby force-pushed the no-pretty-version branch 2 times, most recently from 08f8f81 to a4064ad Compare January 22, 2023 14:19
@sonarcloud
Copy link

sonarcloud bot commented Jan 22, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@radoering
Copy link
Member

Looks like the deprecation revealed further usage. 😄

@radoering radoering merged commit 102f2a5 into python-poetry:main Jan 22, 2023
@dimbleby dimbleby deleted the no-pretty-version branch January 22, 2023 14:50
@radoering radoering mentioned this pull request Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants