Skip to content

Fix universal wheels #231

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

Merged
merged 1 commit into from
Jun 8, 2015
Merged

Conversation

rbtcollins
Copy link
Contributor

The current universal wheels have static install_requires matching the python version they were built on: so a wheel built on 2.6 claims it needs argparse and repoze.lru on 2.7 and 3.4, etc. This clearly doesn't work :)

environment markers are however honoured by wheels and pip, using this somewhat ugly syntax in extras (I'm looking to improve that, but this works - see the distutils-sig list for some discussion on it recently).

The current universal wheels have static install_requires matching the python version they were built on: so a wheel built on 2.6 claims it needs argparse and repoze.lru on 2.7 and 3.4, etc. This clearly doesn't work :)

environment markers are however honoured by wheels and pip, using this somewhat ugly syntax in extras (I'm looking to improve that, but this works - see the distutils-sig list for some discussion on it recently).
@flaper87
Copy link

flaper87 commented Jun 8, 2015

This should also fix #228

@mdomke
Copy link

mdomke commented Jun 8, 2015

This is basically the same as #230

@rbtcollins
Copy link
Contributor Author

Yeah it is; it doesn't have the cruft for old setuptools; I'll leave it up to the jsonschema maintainers to decide which they want.

@Julian
Copy link
Member

Julian commented Jun 8, 2015

Hey! Thanks. I'm going to merge this even though there isn't anything testing this and that makes me pretty unhappy, but I don't have the bandwidth to get that in place at this very second, and I know people are waiting, so it'll have to be circled back for.

Very much appreciated, I'll try to get another release out with this change.

Julian added a commit that referenced this pull request Jun 8, 2015
@Julian Julian merged commit 792f76a into python-jsonschema:master Jun 8, 2015
@Carreau
Copy link

Carreau commented Jun 8, 2015

+1 for when possible, it's Monday morning and the CI test are starting to fail in a couple of repos.

tanaypf9 pushed a commit to tanaypf9/pf9-requirements that referenced this pull request May 20, 2024
Patch Set 1: Code-Review+2 Workflow+1

Looks from python-jsonschema/jsonschema#231 like a new release is imminent but best to have this break documented in our reqs anyway.

Patch-set: 1
Reviewer: Gerrit User 5263 <5263@4a232e18-c5a9-48ee-94c0-e04e7cca6543>
Label: Code-Review=+2
Label: Workflow=+1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants