We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Just reporting an issue when installing hydra with Python 3.11 on conda=forge. Currently, hydra=1.3.0 is pinned to omegaconf~=2.2 (>=2.2, <2.3) (see https://github.com/facebookresearch/hydra/blob/v1.3.0/requirements/requirements.txt#L1). Support for Python 3.11 in hydra was added in #2443, but Python 3.11 support was only added in omegaconf=2.3 (see https://github.com/omry/omegaconf/releases/tag/v2.3.0).
hydra
hydra=1.3.0
omegaconf~=2.2
omegaconf=2.3
So for Python 3.11 to work properly, the version pinning needs to be relaxed to something like omegaconf>=2.2 instead.
omegaconf>=2.2
** Minimal Code/Config snippet to reproduce **
mamba create -n temp python=3.11 hydra-core=1.3.0
** Stack trace/error message **
Encountered problems while solving: - package hydra-core-1.3.0-pyhd8ed1ab_0 requires omegaconf 2.2.*, but none of the providers can be installed
The installation command should work
Add any other context about the problem here.
The unpinning will need to be done first on https://github.com/facebookresearch/hydra, and a patch version (1.3.1?) released, before the change can be propagated to https://github.com/conda-forge/hydra-core-feedstock.
The text was updated successfully, but these errors were encountered:
Excellent, thanks for opening this issue @weiji14.
TODO:
Sorry, something went wrong.
Done. Here's Hydra v1.3.1 on pypi.
No branches or pull requests
🐛 Bug
Description
Just reporting an issue when installing
hydra
with Python 3.11 on conda=forge. Currently,hydra=1.3.0
is pinned toomegaconf~=2.2
(>=2.2, <2.3) (see https://github.com/facebookresearch/hydra/blob/v1.3.0/requirements/requirements.txt#L1). Support for Python 3.11 inhydra
was added in #2443, but Python 3.11 support was only added inomegaconf=2.3
(see https://github.com/omry/omegaconf/releases/tag/v2.3.0).So for Python 3.11 to work properly, the version pinning needs to be relaxed to something like
omegaconf>=2.2
instead.Checklist
To reproduce
** Minimal Code/Config snippet to reproduce **
** Stack trace/error message **
Expected Behavior
The installation command should work
System information
Additional context
Add any other context about the problem here.
The unpinning will need to be done first on https://github.com/facebookresearch/hydra, and a patch version (1.3.1?) released, before the change can be propagated to https://github.com/conda-forge/hydra-core-feedstock.
The text was updated successfully, but these errors were encountered: