-
Notifications
You must be signed in to change notification settings - Fork 354
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
Yanked package types-pkg-resources
causes failures when evaluating on sqlfluff
#199
Comments
I'm honestly confused how the dependency ends up there. It appears directly in
so I would assume I should either find it in our |
@klieret I think it's redirected to
|
Thanks @HejiaZ2023, indeed https://github.com/sqlfluff/sqlfluff/blob/0.7.0/requirements_dev.txt shows In fact, they only removed it last week when the package was yanked: sqlfluff/sqlfluff#6039 |
@klieret any idea when this will be fixed? is there a workaround until then? |
I'll open a PR with a workaround later today/early tomorrow (there's a few ways to do this and Carlos/John also wanted to take a look, so I was waiting for feedback) |
@klieret / @john-b-yang / @carlosejimenez - I wanted to circle back on this issue and see if you got a chance to look at it. Thanks |
Thanks @john-b-yang for resolving this issue 👍 |
See also princeton-nlp/SWE-agent#707, first reported by @waterson samizdis.
The package
types-pkg-resources
package was yanked from pypi (see pypi.org/project/types-pkg-resources/#history and pypi.org/project/types-pkg-resources).This means that any package with
requirements.txt
that specifies it will fail installing.Steps to reproduce:
all_preds.jsonl
forsqlfluff__sqlfluff-1625
, like the one belowGrep for
yanked
to find error inbuild_image.log
.Possible fix: Identify all versions of
sqlfluff
that havetypes-pkg-resources
in therequirements.txt
and explicitly pin and installtypes-pkg-resources
(probably to the latest version) in the extra pip packages.The text was updated successfully, but these errors were encountered: