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

Make dependency resolution work with python 3.11 #790

Open
1 of 10 tasks
kiukchung opened this issue Nov 8, 2023 · 0 comments
Open
1 of 10 tasks

Make dependency resolution work with python 3.11 #790

kiukchung opened this issue Nov 8, 2023 · 0 comments

Comments

@kiukchung
Copy link
Collaborator

🐛 Bug

Due to the changes in pip's dependency resolution logic for python 3.11, currently python 3.11 users need to install torchx using the "old" dependency resolver:

pip install --use-deprecated=legacy-resolver .[dev]

Otherwise simply running pip install .[dev] will result in hours of dependency resolution. We need to revise torchx's dependencies and

Module (check all that applies):

  • torchx.spec
  • torchx.component
  • torchx.apps
  • torchx.runtime
  • torchx.cli
  • torchx.schedulers
  • torchx.pipelines
  • torchx.aws
  • torchx.examples
  • other

To Reproduce

Steps to reproduce the behavior:

  1. Install python 3.11
  2. Clone torchx and cd into the project dir
  3. pip install .[dev] <-- will take a loooooooong time.

Expected behavior

pip install .[dev] should take reasonable amount of time.

Environment

  • torchx version (e.g. 0.1.0rc1): 0.1.6dev0
  • Python version: 3.11+
  • OS (e.g., Linux): Linux
  • How you installed torchx (conda, pip, source, docker): pip
  • Docker image and tag (if using docker): N/A
  • Git commit (if installed from source): N/A
  • Execution environment (on-prem, AWS, GCP, Azure etc): N/A
  • Any other relevant information:

Additional context

See: #789

@kiukchung kiukchung mentioned this issue Nov 8, 2023
10 tasks
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

1 participant