Skip to content

eng-2352: Add Python 2 deprecation message#106

Merged
chrisimcevoy merged 3 commits into
masterfrom
python2-deprecation-message
May 8, 2023
Merged

eng-2352: Add Python 2 deprecation message#106
chrisimcevoy merged 3 commits into
masterfrom
python2-deprecation-message

Conversation

@chrisimcevoy
Copy link
Copy Markdown
Collaborator

@chrisimcevoy chrisimcevoy commented May 4, 2023

Add a deprecation message to output under Python 2.

The approach here is loosely based on that of pip, more in terms of UX than the implementation.

Users can silence the warning with the --no-python-version-warning flag.

image

@chrisimcevoy chrisimcevoy force-pushed the python2-deprecation-message branch from 89d2a09 to 2c07afa Compare May 8, 2023 10:58
@qlty-cloud-legacy
Copy link
Copy Markdown

Code Climate has analyzed commit 2c07afa and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 83.3% (50% is the threshold).

This pull request will bring the total coverage in the repository to 52.9% (0.1% change).

View more on Code Climate.

@chrisimcevoy chrisimcevoy merged commit 806590a into master May 8, 2023
@chrisimcevoy chrisimcevoy deleted the python2-deprecation-message branch May 8, 2023 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants