-
Notifications
You must be signed in to change notification settings - Fork 110
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
All releases BROKEN due to json-table-schema name change #144
Comments
@davidread the I did not look not at the specific problem here, but, pinning dependencies should have prevented suprises. |
After looking at this and seeing what happened in #143 I urge anyone who is committing to messytables to:
|
Okay - the new version of json-table-schema, deprecating it, has been removed from Pypi. The most recent version available there is 0.2.1. |
Great, thanks @brew for removing the problematic json-tables-schema version 0.5 from PyPI. Looks like there is a fix in the json-table-schema source too, described as version 0.5.1: okfn/json-table-schema-py-old@0be548e |
|
Ok, #135 isn't really about pinning after all. @pwalsh said:
However the article he links to reminds us:
which is the concern that I have. |
@davidread I think you are misreading the quote. To me, the quote says: "when you are building your stuff (local development), don't pin. Only pin when you publish your stuff (the product)". A MessyTables release is a product. |
The reasoning is because a product uses lots of libraries with lots of dependencies. If two libraries have a common dependency, then it is clearly helpful for them to both specify the range of versions that they are compatible with. If they both pin to a particular version, purely so their own tests pass, then chances are they won't agree and then setuptools prevents you from running your software until you hack the libraries' setup.py to agree and then reinstall them. |
@davidread yes I agree on ranges, but not on open ended deps. as we have here in messytables. Again, it is just a risk calculation. There is simply risk in unpinned (or, unranged) deps. In any event, this case is quite particular due to us taking over abandoned code. |
Cool with ranges then. |
The Python Packaging Guide recommends the flexible pinning style for So requirements.txt represents the list of specific versions for a repeatable installation, whereas I'm not sure that would help much in this case, as |
json-table-schema is a broken dependency as of yesterday. This affects current and previous releases on pypi.
To fix this at this end we've changed the dep #143 and now messytables installs from source again, but it needs a release to pypi. I don't have permission for this.
The text was updated successfully, but these errors were encountered: