-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
Conversation
6631420
to
9ba74df
Compare
a96efbe
to
f1218e1
Compare
f1218e1
to
aca5385
Compare
There was a problem hiding this 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.
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. |
aca5385
to
3d86b7e
Compare
776ba16
to
eff5643
Compare
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
eff5643
to
7892ac9
Compare
Just random error. Parent PR already merged so this one can be merged too. |
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
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
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.