NVIDIA-Merlin / models

Merlin Models is a collection of deep learning recommender system model reference implementations
https://nvidia-merlin.github.io/models/main/index.html
Apache License 2.0
248 stars 50 forks source link

fix dependencies in docs build #1236

Closed edknv closed 6 months ago

edknv commented 6 months ago

docs-build in the CI is failing due to pip failing to resolve dependencies, e.g.,

Collecting nbformat~=5.0 (from myst-nb->-r requirements/docs.txt (line 4))
  Downloading nbformat-5.9.1-py3-none-any.whl.metadata (3.3 kB)
INFO: pip is still looking at multiple versions of pydata-sphinx-theme to determine which version is compatible with other requirements. This could take a while.
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.
INFO: pip is still looking at multiple versions of sqlalchemy to determine which version is compatible with other requirements. This could take a while.
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.

This PR fixes package versions in requirements/docs.txt to help the dependency resolver. It also replaces test.txt with dev.txt since the requirements in the latter are narrower and dev.txt doesn't install the unnecessary requirements that cause conflicts.

github-actions[bot] commented 6 months ago

Documentation preview

https://nvidia-merlin.github.io/models/review/pr-1236