Skip to content

Drop Python 2.7 support.#490

Closed
dHannasch wants to merge 4 commits intoyaml:masterfrom
dHannasch:drop-python-2.7-support
Closed

Drop Python 2.7 support.#490
dHannasch wants to merge 4 commits intoyaml:masterfrom
dHannasch:drop-python-2.7-support

Conversation

@dHannasch
Copy link
Copy Markdown

With PyYAML 5.4 released as of recently, we could resolve #476 if we wanted.

@hugovk
Copy link
Copy Markdown
Contributor

hugovk commented Apr 28, 2021

As a minimum also remove these lines:

pyyaml/setup.py

Lines 30 to 31 in ee37f46

"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",

Consider adding "Programming Language :: Python :: 3 :: Only"

And update:

pyyaml/setup.py

Line 295 in ee37f46

python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*',

to:

python_requires='>=3.6', 

@Thom1729 Thom1729 mentioned this pull request Sep 2, 2021
@Thom1729
Copy link
Copy Markdown
Contributor

Superseded by #550.

@Thom1729 Thom1729 closed this Sep 22, 2021
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.

Drop Python 2.7 support

3 participants