-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Release 0.36.1 breaks arcgis import #216
Comments
@martijnlbos I have the impression that 0.35.2 does not have this problem. |
I haven't really had time to look at this but a minimal reproducer would definitely help in making time -- specifically I can't reproduce when simply installing the package (nor of course can CI here) -- specifically, even on 3.10:
has no errors. And we do already pin to a version of typing-extensions which has support for these. So yeah, example certainly welcome! |
A simple reproducer would be:
|
That would sound like an alpine packaging bug, which doesn't appear to be installing the typing-extensions dependency. |
>>> import referencing [...] TypeError: 'default' is an invalid keyword argument for typevar() Ref: python-jsonschema/referencing#216 Closes: https://gitlab.alpinelinux.org/alpine/aports/-/issues/16877
Going to close this as as far as I can see this was a bug downstream in Alpine which it seems has now been fixed but if someone has a reproducer in some other environment feel free to share. |
Thank you very much for the quick information. That fixed the issue for Alpine edge. |
Apologies, I probably reported this in the wrong place, and/or am misunderstanding my issue. I'm still experiencing the same behaviour, but I don't know how to provide a minimal reproducer since I am working on a Databricks platform I am using their 13.3 LTS compute, which seems to use Ubuntu 22.04.2 LTS, Apache Spark 3.4.1, and Python 3.10.12 if that helps, and then I am installing |
I'd ask for support from Databricks perhaps in that case. Don't take this as being rude hopefully, it's not at all meant to be! -- but I don't do unpaid support for paid products, and it would seem initially quite likely that the issue is on Databricks's side (or your installing within Databricks rather than via normal means). Again no offense meant, just being realistic that I won't look at this if the only way to reproduce is in a commercial product. I'm of course happy to do paid support myself if you need it, or to come back to this if anyone else experiences the issue in some usual environment. |
@Julian No offence taken, thanks for the reply! I was just reporting this because I initially thought I came across an issue in an open source project -and since we're using this freely- the least I can do is report it. So thanks for looking at this and pointing out the problem is most likely on the Databricks platform side! |
[ commit cacfa25bf878ae3790ab825901f87b265d76c48a ] >>> import referencing [...] TypeError: 'default' is an invalid keyword argument for typevar() Ref: python-jsonschema/referencing#216 Closes: https://gitlab.alpinelinux.org/alpine/aports/-/issues/16877
Importing the
arcgis
package with version0.36.1
ofreferencing
installed doesn't work.Previously, with version
0.35.1
installed, the commandimport arcgis
worked. Now it returns the error below.Pinning this version of
referencing
worked for us, but since doing apip install arcgis
automatically uses the latest version ofreferencing
I thought it might be useful to report this behaviour.Error for
import arcgis
with the latest version:The text was updated successfully, but these errors were encountered: