Skip to content
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

Check for new versions of wheels in PyPI #55

Closed
wants to merge 2 commits into from

Conversation

natefoo
Copy link
Member

@natefoo natefoo commented Jan 7, 2016

Add the wheel_updates command to list wheels with newer versions on PyPI. Introduce the pinned attribute on packages in wheels.yml to exclude them from this check.

TODO: just realized rather than a "yes/no" pinned state, we may need to support standard pkg_resources version specifiers, e.g. we should get additional patches to mercurial 3.4 but not upgrade to >= 3.5. So mercurial should be "pinned" to <= 3.5

PyPI. Introduce the `pinned` attribute on packages in wheels.yml to
exclude them from this check.
`wheel_updates` subcommand, to allow for pinning using version
comparisons.
@natefoo
Copy link
Member Author

natefoo commented Jan 7, 2016

Added the version_specifier attribute to wheels.yml to allow for pinning for patch updates.

@jmchilton
Copy link
Member

I suggest a new plan - less infrastructure - more standard Python. How about this... we use Pipenv (ala galaxyproject/galaxy#4876) to manage dependencies in dev (sticking with it just as a tool for generating requirements.txt for now) and we sort of say we expect to get dev dependencies from PyPI to move fast in dev. We still use a pinned (and now hashed also) requirements.txt file but once a week we open a PR that updates the locked files with the latest and greatest and run tests and such. Then starforge would kick in at release time, once we have our release dependencies locked down you could write a script that would just grab those and update starforge and deploy the dependencies. This allows us to move fast in development and be very targeted about what we use for releases.

@natefoo
Copy link
Member Author

natefoo commented Oct 26, 2017

+1. One additional step though, once Starforge builds all the dependencies, Galaxy should be tested with those.

@jmchilton
Copy link
Member

Once you open a PR with new hashes the tests should run. Figuring the hashes out may be tough.

@natefoo
Copy link
Member Author

natefoo commented Oct 30, 2017

Starforge already outputs the hashes of built wheels. Or are you referring to something different?

@jmchilton
Copy link
Member

I just meant figuring out how to combine the starforge and PyPI hashes in the requirements file for Galaxy. But it sounds like we are moving this from starforge to cargoport so this probably won't be such a problem - this whole issue seems moot now.

@natefoo
Copy link
Member Author

natefoo commented Jan 19, 2018

Superceded by pipfile/pipenv.

@natefoo natefoo closed this Jan 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants