Skip to content

Drop 2.7 support#550

Merged
ingydotnet merged 7 commits intorelease/6.0from
drop-2.7-support
Sep 21, 2021
Merged

Drop 2.7 support#550
ingydotnet merged 7 commits intorelease/6.0from
drop-2.7-support

Conversation

@Thom1729
Copy link
Copy Markdown
Contributor

@Thom1729 Thom1729 commented Sep 2, 2021

Remove the original lib directories and move the lib3 stuff to replace them.

Fixes #476. Includes #550. Supersedes #490.

@Thom1729
Copy link
Copy Markdown
Contributor Author

Thom1729 commented Sep 3, 2021

Being unfamiliar with the CI, I'm not sure to evaluate the test failures. The error when installing python3 doesn't seem related to the content of the PR, but then they're not failing on #549.

@hugovk
Copy link
Copy Markdown
Contributor

hugovk commented Sep 5, 2021

Being unfamiliar with the CI, I'm not sure to evaluate the test failures. The error when installing python3 doesn't seem related to the content of the PR, but then they're not failing on #549.

Looks like temporary network failures on AppVeyor, you could make an update to trigger a new build to see if it works this time.

@Thom1729
Copy link
Copy Markdown
Contributor Author

Thom1729 commented Sep 5, 2021

That did it; thanks.

Copy link
Copy Markdown
Member

@ingydotnet ingydotnet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm worried that this PR does a lot more than necessary and that will make all the other PRs we want to merge more difficult.

.appveyor.yml Outdated
# matrix:
# - PYTHON_VER: Python27
# - PYTHON_VER: Python27-x64
# - PYTHON_VER: Python35
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is 3.5 in or out?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch; removed.

@Thom1729
Copy link
Copy Markdown
Contributor Author

Thom1729 commented Sep 21, 2021

This PR removes the old 2.7 files, then moves the 3.X files where they were. The diff is huge and scary because it thinks the PR removed the 3.X files and edited the 2.7 files. If you look at the commits in order, the actual changes are minor and limited to removing references to 2.7 and 3.5.

@ingydotnet ingydotnet merged commit d4c449b into release/6.0 Sep 21, 2021
@Thom1729 Thom1729 deleted the drop-2.7-support branch September 21, 2021 22:26
stuhood pushed a commit to pantsbuild/pants that referenced this pull request Oct 20, 2021
PyYAML 6:
```
6.0 (2021-10-13)

* yaml/pyyaml#327 -- Change README format to Markdown
* yaml/pyyaml#483 -- Add a test for YAML 1.1 types
* yaml/pyyaml#497 -- fix float resolver to ignore `.` and `._`
* yaml/pyyaml#550 -- drop Python 2.7
* yaml/pyyaml#553 -- Fix spelling of “hexadecimal”
* yaml/pyyaml#556 -- fix representation of Enum subclasses
* yaml/pyyaml#557 -- fix libyaml extension compiler warnings
* yaml/pyyaml#560 -- fix ResourceWarning on leaked file descriptors
* yaml/pyyaml#561 -- always require `Loader` arg to `yaml.load()`
* yaml/pyyaml#564 -- remove remaining direct distutils usage
```
halstead pushed a commit to openembedded/openembedded-core that referenced this pull request Oct 23, 2021
Now uses "vendored" distutils from setuptools by default
rather than from Python stdlib.

Changes
=======

* yaml/pyyaml#327
  -- Change README format to Markdown
* yaml/pyyaml#483
  -- Add a test for YAML 1.1 types
* yaml/pyyaml#497
  -- fix float resolver to ignore `.` and `._`
* yaml/pyyaml#550
  -- drop Python 2.7
* yaml/pyyaml#553
  -- Fix spelling of “hexadecimal”
* yaml/pyyaml#556
  -- fix representation of Enum subclasses
* yaml/pyyaml#557
  -- fix libyaml extension compiler warnings
* yaml/pyyaml#560
  -- fix ResourceWarning on leaked file descriptors
* yaml/pyyaml#561
  -- always require `Loader` arg to `yaml.load()`
* yaml/pyyaml#564
  -- remove remaining direct distutils usage

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
seambot pushed a commit to seamapi/poky that referenced this pull request Oct 23, 2021
Now uses "vendored" distutils from setuptools by default
rather than from Python stdlib.

Changes
=======

* yaml/pyyaml#327
  -- Change README format to Markdown
* yaml/pyyaml#483
  -- Add a test for YAML 1.1 types
* yaml/pyyaml#497
  -- fix float resolver to ignore `.` and `._`
* yaml/pyyaml#550
  -- drop Python 2.7
* yaml/pyyaml#553
  -- Fix spelling of “hexadecimal”
* yaml/pyyaml#556
  -- fix representation of Enum subclasses
* yaml/pyyaml#557
  -- fix libyaml extension compiler warnings
* yaml/pyyaml#560
  -- fix ResourceWarning on leaked file descriptors
* yaml/pyyaml#561
  -- always require `Loader` arg to `yaml.load()`
* yaml/pyyaml#564
  -- remove remaining direct distutils usage

(From OE-Core rev: 2abc7a612a71b3594f3183fbb824a708269ae694)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.

3 participants