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

Allow latest versions of conda/mamba/ in .readthedocs.yml #10912

Closed
tdegeus opened this issue Nov 20, 2023 · 2 comments · Fixed by #11081
Closed

Allow latest versions of conda/mamba/ in .readthedocs.yml #10912

tdegeus opened this issue Nov 20, 2023 · 2 comments · Fixed by #11081
Labels
Improvement Minor improvement to code Needed: design decision A core team decision is required

Comments

@tdegeus
Copy link

tdegeus commented Nov 20, 2023

What's the problem this feature will solve?

Often one does not care on which version the documentation is build. It would be good if one could accept a default latest version.

Describe the solution you'd like

version: 2

sphinx:
  configuration: docs/conf.py

build:
  os: ubuntu-latest
  tools:
    python: mambaforge-latest

conda:
  environment: environment.yaml

Alternative solutions

An alternative would be to have a bot open PRs on the source's repository if a version changes. Currently a lot of people have to do a lot of manual work for something that they likely don't care about

Additional context

@stsewd
Copy link
Member

stsewd commented Nov 20, 2023

Hi, for latest on build.os, see #8861.

For mamba, since we support python: 3, I think we can support an alias for the other tools.

@stsewd stsewd added Improvement Minor improvement to code Needed: design decision A core team decision is required labels Nov 20, 2023
@stsewd stsewd changed the title Allow latest versions in .readthedocs.yml Allow latest versions of conda/mamba/ in .readthedocs.yml Nov 20, 2023
@github-project-automation github-project-automation bot moved this to Planned in 📍Roadmap Nov 21, 2023
stsewd added a commit that referenced this issue Jan 31, 2024
@github-project-automation github-project-automation bot moved this from Planned to Done in 📍Roadmap Feb 5, 2024
@ericholscher
Copy link
Member

We've just shipped a version of this, so if you'd like to test it out, it should now be live. The version that latest will point to is the most recent in the docs: https://docs.readthedocs.io/en/stable/config-file/v2.html#build-tools-python

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Improvement Minor improvement to code Needed: design decision A core team decision is required
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants