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

Fix python 3.10 support in vendored in cgroupspy #22208

Merged
merged 1 commit into from
Mar 20, 2022

Conversation

potiuk
Copy link
Member

@potiuk potiuk commented Mar 12, 2022

The cgrouppspy is not Python 3.10 compliant due to Iterable
being imported directly from collections.

This is captured in cloudsigma/cgroupspy#13

We fix it in our vendored-in version of cgroupspy until
hopefully new version of it is released.

This is part of the effort needed to implement Python 3.10
compatibility: #22050


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.

@potiuk potiuk force-pushed the fix-cgroupspy-python-3.10-compatibility branch from 64b8390 to 9a8af80 Compare March 12, 2022 16:41
@potiuk potiuk closed this Mar 12, 2022
@potiuk potiuk reopened this Mar 12, 2022
@potiuk potiuk mentioned this pull request Mar 12, 2022
@potiuk potiuk closed this Mar 12, 2022
@potiuk potiuk reopened this Mar 12, 2022
@potiuk potiuk force-pushed the fix-cgroupspy-python-3.10-compatibility branch 2 times, most recently from 06ea3ff to 47e1ecb Compare March 14, 2022 18:27
@potiuk potiuk force-pushed the fix-cgroupspy-python-3.10-compatibility branch 2 times, most recently from f0dfeb5 to 391e813 Compare March 20, 2022 09:58
The cgrouppspy is not Python 3.10 compliant due to Iterable
being imported directly from collections.

This is captured in cloudsigma/cgroupspy#13

We fix it in our vendored-in version of cgroupspy until
hopefully new version of it is released.

This is part of the effort needed to implement Python 3.10
compatibility: apache#22050
@potiuk potiuk force-pushed the fix-cgroupspy-python-3.10-compatibility branch from 391e813 to 0c7507b Compare March 20, 2022 11:21
@potiuk
Copy link
Member Author

potiuk commented Mar 20, 2022

This is the next one for Python 3.10 :)

@github-actions
Copy link

The PR most likely needs to run full matrix of tests because it modifies parts of the core of Airflow. However, committers might decide to merge it quickly and take the risk. If they don't merge it quickly - please rebase it to the latest main at your convenience, or amend the last commit of the PR, and push it with --force-with-lease.

@github-actions github-actions bot added the full tests needed We need to run full set of tests for this PR to merge label Mar 20, 2022
@potiuk potiuk merged commit 76d6089 into apache:main Mar 20, 2022
@potiuk potiuk deleted the fix-cgroupspy-python-3.10-compatibility branch March 20, 2022 16:51
potiuk added a commit to potiuk/airflow that referenced this pull request Apr 4, 2022
The 0.2.2 release of `cgroupspy` makes it Python 3.10 compatible.
We can remove vendoring done as of apache#22209 apache#22208 apache#2207 apache#22206

Discussion and links:

* cloudsigma/cgroupspy#14
@potiuk potiuk mentioned this pull request Apr 4, 2022
potiuk added a commit that referenced this pull request Apr 4, 2022
The 0.2.2 release of `cgroupspy` makes it Python 3.10 compatible.
We can remove vendoring done as of #22209 #22208 #2207 #22206

Discussion and links:

* cloudsigma/cgroupspy#14
@ephraimbuddy ephraimbuddy added the changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) label Apr 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) full tests needed We need to run full set of tests for this PR to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants