Skip to content

Comments

version.text replaces pretty_version#549

Merged
radoering merged 2 commits intopython-poetry:mainfrom
dimbleby:no-pretty-version
Jan 22, 2023
Merged

version.text replaces pretty_version#549
radoering merged 2 commits intopython-poetry:mainfrom
dimbleby:no-pretty-version

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
@sonarqubecloud
Copy link

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

Development

Successfully merging this pull request may close these issues.

2 participants