torchx
torchx copied to clipboard
Error from pyyaml cython build
🐛 Bug
Module (check all that applies):
- [ ]
torchx.spec
- [ ]
torchx.component
- [ ]
torchx.apps
- [ ]
torchx.runtime
- [x]
torchx.cli
- [ ]
torchx.schedulers
- [ ]
torchx.pipelines
- [ ]
torchx.aws
- [ ]
torchx.examples
- [ ]
other
To Reproduce
Steps to reproduce the behavior:
- Run on an x86 3.10 vm
-
pip install 'torchx[dev]==0.5.0'
- observe an error like this: https://github.com/yaml/pyyaml/issues/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: