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

Separate dependencies for python 3.7 and 3.9 #3548

Merged
merged 4 commits into from
Mar 20, 2023

Conversation

freddyaboulton
Copy link
Collaborator

Description

The 3.9 and 3.7 dependencies were generated in a linux environment and so it's hard to install all dependencies in windows since there are some incompatible dependencies-of-dependencies (see #3484). When users try to create new test dependencies via bash, they are finding that the set of dependencies generated is not compatible with python 3.7. See #3487.

In order to unblock community contributors, we will have separate dependencies for 3.9 and 3.7. This will enable contributors to generate new dependencies without impacting 3.7 dependencies. The separate 3.7 dependencies will only be kept until June as that's when 3.7 reaches end of life.

Checklist:

  • I have performed a self-review of my own code
  • I have added a short summary of my change to the CHANGELOG.md
  • My code follows the style guidelines of this project
  • I have commented my code in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

A note about the CHANGELOG

Hello 👋 and thank you for contributing to Gradio!

All pull requests must update the change log located in CHANGELOG.md, unless the pull request is labeled with the "no-changelog-update" label.

Please add a brief summary of the change to the Upcoming Release > Full Changelog section of the CHANGELOG.md file and include
a link to the PR (formatted in markdown) and a link to your github profile (if you like). For example, "* Added a cool new feature by [@myusername](link-to-your-github-profile) in [PR 11111](https://github.com/gradio-app/gradio/pull/11111)".

If you would like to elaborate on your change further, feel free to include a longer explanation in the other sections.
If you would like an image/gif/video showcasing your feature, it may be best to edit the CHANGELOG file using the
GitHub web UI since that lets you upload files directly via drag-and-drop.

@gradio-pr-bot
Copy link
Collaborator

All the demos for this PR have been deployed at https://huggingface.co/spaces/gradio-pr-deploys/pr-3548-all-demos

@freddyaboulton freddyaboulton marked this pull request as ready for review March 20, 2023 19:02
@@ -0,0 +1,406 @@
#
# This file is autogenerated by pip-compile with Python 3.9
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# This file is autogenerated by pip-compile with Python 3.9
# This file is autogenerated by pip-compile with Python 3.7

Copy link
Member

@abidlabs abidlabs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this fix @freddyaboulton, just a nit above! Looks like CI is happy, so am I.

@freddyaboulton
Copy link
Collaborator Author

Thank you for the review @abidlabs !

@freddyaboulton freddyaboulton merged commit ce1837f into main Mar 20, 2023
@freddyaboulton freddyaboulton deleted the separate-37-and39-dependency-files branch March 20, 2023 20:02
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.

3 participants