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

Flag to install oldest matching dependency versions #396

Open
mdekstrand opened this issue Mar 2, 2021 · 1 comment
Open

Flag to install oldest matching dependency versions #396

mdekstrand opened this issue Mar 2, 2021 · 1 comment

Comments

@mdekstrand
Copy link

For testing purposes, it would be useful for Flit to be able to install the oldest acceptable versions of a project's dependencies. I don't think this should extend to the oldest matching versions of transitive dependencies — that would require all transitive deps to have their minimum versions correctly specified — but for a project that is trying to maintain accurate lower bounds on dependency versions, being able to quickly install minimal acceptable dependencies would be very useful.

@takluyver
Copy link
Member

I'm open to the idea, but note that ultimately I expect pip to handle installation again. You can already pip install . a Flit project from source. The missing piece is editable installs: pip install -e . only works with setuptools, so we have the equivalent flit install -s. But even there, Flit calls pip to install the dependencies.

So you might want to ask pip for this! I agree that there are cases where it would be useful.

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

No branches or pull requests

2 participants