-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Vendor-in json-merge-patch and add --no-dev to direct uv tool install #48210
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
Conversation
3bd090d to
7cb9d34
Compare
|
Ok. Seems that limiting setuptools in devel deps is not enough - I will add it to main airlfow deps for now |
7cb9d34 to
b53d0b6
Compare
|
Let's see this time |
b53d0b6 to
d7cd6fb
Compare
|
And .. note to self .. naming both your module and function as |
|
Thanks for the fix, Jarek! I'm just catching up with the mayhem. |
amoghrajesh
left a comment
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.
My goodness!
|
Unfortunately more fixes needed |
d7cd6fb to
98451a0
Compare
|
Another attempt |
|
Geeee.. also |
|
What a buuuuuuumer |
|
ok. Setuptools |
Great news! |
98451a0 to
91001c0
Compare
|
Updated the description/title to reflect the actual scope. Actually it's been an interesting case and few small fixes were applied after it :) |
The setuptools 78.0.1 started to fail old packages that had dash metadata keys and had only .sdist installation. This caused failures of three of our dependencies: * json-merge-patch * pykylin * pyspark The `josn-merge-patch` is a library released in 2017 (v 0.2) that implements the [RFC7386](https://datatracker.ietf.org/doc/html/rfc7386) standard of patching json. It has been used in only one place in our repo in google provider, in order to merge json patches (well - obvious :). Seems like the best approach is to vendor-in the code (70 lines or so) rather than rely on 2017-released package The change also revealed that in pre-commit we could use `--no-dev` flag to skip installing development dependencies, because we only care about the codegen deps.
91001c0 to
63dec40
Compare
|
Random k8s issue. Merging |
…ll (apache#48210) The setuptools 78.0.1 started to fail old packages that had dash metadata keys and had only .sdist installation. This caused failures of three of our dependencies: * json-merge-patch * pykylin * pyspark The `josn-merge-patch` is a library released in 2017 (v 0.2) that implements the [RFC7386](https://datatracker.ietf.org/doc/html/rfc7386) standard of patching json. It has been used in only one place in our repo in google provider, in order to merge json patches (well - obvious :). Seems like the best approach is to vendor-in the code (70 lines or so) rather than rely on 2017-released package The change also revealed that in pre-commit we could use `--no-dev` flag to skip installing development dependencies, because we only care about the codegen deps.
…ll (apache#48210) The setuptools 78.0.1 started to fail old packages that had dash metadata keys and had only .sdist installation. This caused failures of three of our dependencies: * json-merge-patch * pykylin * pyspark The `josn-merge-patch` is a library released in 2017 (v 0.2) that implements the [RFC7386](https://datatracker.ietf.org/doc/html/rfc7386) standard of patching json. It has been used in only one place in our repo in google provider, in order to merge json patches (well - obvious :). Seems like the best approach is to vendor-in the code (70 lines or so) rather than rely on 2017-released package The change also revealed that in pre-commit we could use `--no-dev` flag to skip installing development dependencies, because we only care about the codegen deps.
…ll (apache#48210) The setuptools 78.0.1 started to fail old packages that had dash metadata keys and had only .sdist installation. This caused failures of three of our dependencies: * json-merge-patch * pykylin * pyspark The `josn-merge-patch` is a library released in 2017 (v 0.2) that implements the [RFC7386](https://datatracker.ietf.org/doc/html/rfc7386) standard of patching json. It has been used in only one place in our repo in google provider, in order to merge json patches (well - obvious :). Seems like the best approach is to vendor-in the code (70 lines or so) rather than rely on 2017-released package The change also revealed that in pre-commit we could use `--no-dev` flag to skip installing development dependencies, because we only care about the codegen deps.
…ll (apache#48210) The setuptools 78.0.1 started to fail old packages that had dash metadata keys and had only .sdist installation. This caused failures of three of our dependencies: * json-merge-patch * pykylin * pyspark The `josn-merge-patch` is a library released in 2017 (v 0.2) that implements the [RFC7386](https://datatracker.ietf.org/doc/html/rfc7386) standard of patching json. It has been used in only one place in our repo in google provider, in order to merge json patches (well - obvious :). Seems like the best approach is to vendor-in the code (70 lines or so) rather than rely on 2017-released package The change also revealed that in pre-commit we could use `--no-dev` flag to skip installing development dependencies, because we only care about the codegen deps.
The setuptools 78.0.1 started to fail old packages that had dash
metadata keys and had only .sdist installation. This caused failures
of three of our dependencies:
The
josn-merge-patchis a library released in 2017 (v 0.2) that implementsthe RFC7386 standard
of patching json. It has been used in only one place in our repo
in google provider, in order to merge json patches (well - obvious :).
Seems like the best approach is to vendor-in the code (70 lines or so)
rather than rely on 2017-released package
The change also revealed that in two places we could use
--no-devflag to skip installing development dependencies, because in both cases
we only care about the actual deps (codegen in case of task-sdk module
and only PyPI / production dependencies for constraint generation
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an 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 a newsfragment file, named
{pr_number}.significant.rstor{issue_number}.significant.rst, in newsfragments.