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

Support Python 3.9 #7554

Closed
Tracked by #29
cjolowicz opened this issue Oct 9, 2020 · 16 comments
Closed
Tracked by #29

Support Python 3.9 #7554

cjolowicz opened this issue Oct 9, 2020 · 16 comments
Labels
Accepted Accepted issue on our roadmap Improvement Minor improvement to code

Comments

@cjolowicz
Copy link

Opening this issue to track when Python 3.9 support becomes available for documentation builds on Read the Docs. Python 3.9.0 was released on October 5, 2020.

For reference, the issue for the previous major Python release (3.8) was #6324. Support for Python 3.8 was added in #6654.

Thank you 🙇‍♂️

Details

Expected Result

Documentation builds use Python 3.9 when this version is specified in .readthedocs.yml:

python:
  version: 3.9

Actual Result

The build fails with the following error message:

Error: Problem in your project's configuration. Invalid "python.version": expected one of (2, 2.7, 3, 3.5, 3.6, 3.7, 3.8, pypy3.5), got 3.9
@graingert
Copy link

it would be good to support 3.10dev at the same time

graingert added a commit to twisted/ldaptor that referenced this issue Oct 11, 2020
@humitos
Copy link
Member

humitos commented Oct 12, 2020

Python 3.9 should be included in our docker images. We have an issue opened for that at readthedocs/readthedocs-docker-images#140

@stsewd stsewd added the Improvement Minor improvement to code label Oct 12, 2020
@stale
Copy link

stale bot commented Nov 26, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Status: stale Issue will be considered inactive soon label Nov 26, 2020
@ThiefMaster
Copy link

certainly not stale ;)

@stale stale bot removed the Status: stale Issue will be considered inactive soon label Nov 26, 2020
@graingert
Copy link

Bump

@humitos humitos added the Accepted Accepted issue on our roadmap label Dec 29, 2020
@staticdev
Copy link

@humitos I would like to add that all my projects are already building the docs with Python 3.9 and I didn't have any problem so far.

@ThiefMaster
Copy link

@staticdev So RTD now finally supports building with Python 3.9? Or are you using any workarounds to use 3.9?

@staticdev
Copy link

@ThiefMaster I didn't use any workaround, it just worked. Did you experience any problem?

@ThiefMaster
Copy link

I haven't tried again this year, but the last time I checked there was no Python 3.9 support on RTD, and when I had a quick look at your repos they still seem to use 3.8 in the RTD config file.

@oddlama
Copy link

oddlama commented Feb 24, 2021

Is there any update on the issue? Python 3.9 is now almost 5 months old.

@ThiefMaster
Copy link

readthedocs/readthedocs-docker-images#159 (comment)

This worked for me.

@humitos
Copy link
Member

humitos commented Feb 24, 2021

@oddlama as @ThiefMaster mentioned, using

build:
  image: testing

in your .readthedocs.yaml file is the way to go for now. Please, report any problem that you may find here as we are still testing this Docker image and Python version.

@oddlama
Copy link

oddlama commented Feb 24, 2021

Thanks! No problems thus far, worked perfectly without other adjustments.

@astrojuanlu
Copy link
Contributor

astrojuanlu commented Jun 9, 2021

Can this be closed then? (See also readthedocs/readthedocs-docker-images#172)

(Edit: bad copy-paste)

lmmx added a commit to lmmx/range-streams that referenced this issue Jul 14, 2021
lmmx added a commit to lmmx/range-streams that referenced this issue Jul 15, 2021
…to classes from module addresses

Update tox.ini

Build docs on 3.9

via readthedocs/readthedocs.org#7554 (comment)

Update __init__.py

Give intersphinx internal package name (ranges)

Use intersphinx to link to external package

typo

Remove non-functional intersphinx aliases

Revert to working python-ranges link
@ri-gilfanov
Copy link

The problem with Python 3.9 is still there.

Problem in your project's configuration. Invalid "python.version": expected one of (2, 2.7, 3, 3.5, 3.6, 3.7, 3.8, pypy3.5), got 3.9

@stsewd
Copy link
Member

stsewd commented Oct 11, 2021

@ri-gilfanov see https://docs.readthedocs.io/en/stable/config-file/v2.html#build-beta-specification

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accepted Accepted issue on our roadmap Improvement Minor improvement to code
Projects
None yet
Development

No branches or pull requests

10 participants