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

Error from pyyaml cython build #738

Open
1 of 10 tasks
starpit opened this issue Jul 17, 2023 · 0 comments
Open
1 of 10 tasks

Error from pyyaml cython build #738

starpit opened this issue Jul 17, 2023 · 0 comments

Comments

@starpit
Copy link

starpit commented Jul 17, 2023

🐛 Bug

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. Run on an x86 3.10 vm
  2. pip install 'torchx[dev]==0.5.0'
  3. observe an error like this: Error installing Pyyaml==5.4, Cython_sources yaml/pyyaml#724

This appears to be due to a known issue in pyyaml versus cython. Perhaps it could be addressed here by pinning the version of pyyaml? I see from your requirements.txt that you float the pyyaml version. A new version was just released, resulting in CI/CD runs of ours failing that worked a few minutes prior.

Collecting pyyaml
  Downloading PyYAML-5.4.1.tar.gz (175 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 175.1/175.1 KB 21.6 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [62 lines of output]
      /tmp/pip-build-env-59y_o687/overlay/lib/python3.10/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`

Expected behavior

Successful installation of the CLI

Environment

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

Additional context

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