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

Add cgroupspy to _vendor folder #22206

Merged
merged 2 commits into from
Mar 20, 2022
Merged

Conversation

potiuk
Copy link
Member

@potiuk potiuk commented Mar 12, 2022

This is just importing existing cgroupspy library without
code modifications. In the next step we will modify the cgroupspy
code to work from the new location, then we will fix it to
implement Python 3.10 compatibility and finally we will change
airflow to use the vendored package instead of the original
package.

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

This PR is based on #22204 so only look at the last commit.


^ 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 add-cgroupspy-to-vendor branch from 6631420 to 9ba74df Compare March 12, 2022 15:26
@potiuk potiuk changed the title Add cgroupspy to vendor Add cgroupspy to _vendor folder Mar 12, 2022
@potiuk potiuk force-pushed the add-cgroupspy-to-vendor branch 2 times, most recently from a96efbe to f1218e1 Compare March 12, 2022 15:36
@potiuk potiuk requested a review from eladkal March 12, 2022 15:50
@potiuk potiuk force-pushed the add-cgroupspy-to-vendor branch from f1218e1 to aca5385 Compare March 12, 2022 16:17
@potiuk potiuk mentioned this pull request Mar 12, 2022
Copy link
Member

@uranusjr uranusjr left a comment

Choose a reason for hiding this comment

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

Need to merge the vendor structure PR first.

@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 13, 2022
@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.

@potiuk potiuk force-pushed the add-cgroupspy-to-vendor branch from aca5385 to 3d86b7e Compare March 13, 2022 15:03
@potiuk potiuk closed this Mar 13, 2022
@potiuk potiuk reopened this Mar 13, 2022
@potiuk potiuk force-pushed the add-cgroupspy-to-vendor branch 2 times, most recently from 776ba16 to eff5643 Compare March 14, 2022 18:25
potiuk added 2 commits March 19, 2022 22:06
We need to vendor in cgroupspy library in order to make Airflow
compatible with Python 3.10 (see apache#22050) so this is the right time
to make our vendoring process more organized.

I based in parts on the readme described by `bleach` package.
This is just importing existing cgroupspy library without
code modifications. In the next step we will modify the cgroupspy
code to work from the new location, then we will fix it to
implement Python 3.10 compatibility and finally we will change
airflow to use the vendored package instead of the original
package.

This is part of the effort needed to implement Python 3.10
compatibility: apache#22050
@potiuk potiuk force-pushed the add-cgroupspy-to-vendor branch from eff5643 to 7892ac9 Compare March 19, 2022 21:07
@potiuk
Copy link
Member Author

potiuk commented Mar 20, 2022

Just random error. Parent PR already merged so this one can be merged too.

@potiuk potiuk merged commit 68aa019 into apache:main Mar 20, 2022
@potiuk potiuk deleted the add-cgroupspy-to-vendor branch March 20, 2022 09:55
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
@jedcunningham jedcunningham added the changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) label Apr 7, 2022
@potiuk potiuk restored the add-cgroupspy-to-vendor branch April 26, 2022 20:49
@potiuk potiuk deleted the add-cgroupspy-to-vendor branch July 29, 2022 20:04
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