-
Notifications
You must be signed in to change notification settings - Fork 71
Add Python 3.7 #73
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
Add Python 3.7 #73
Conversation
197a12a
to
34fbb86
Compare
34fbb86
to
67625cb
Compare
67625cb
to
265339e
Compare
Dockerfile
Outdated
@@ -11,10 +11,12 @@ ENV LANG C.UTF-8 | |||
ENV PYTHON_VERSION_27 2.7.14 | |||
ENV PYTHON_VERSION_35 3.5.5 | |||
ENV PYTHON_VERSION_36 3.6.4 | |||
ENV CONDA_VERSION 4.4.10 | |||
ENV PYTHON_VERSION_37 3.7.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note from Python 3.7 release schedule:
3.7.1 final: 2018-10-18 (expected)
We might want to hold this one for a bit?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suppose, yes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok! I'll update this PR when 3.7.1 gets released
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! This PR is ready to merge to me.
Backport of readthedocs#73 on the 3.x branch
@humitos this PR now points to Python 3.7.1 |
Thanks! |
@humitos is it possible to add this to latest? |
@webknjaz we are trying to make our releases of docker images available in shorter times, but we could not get there yet. I suppose this won't be available in the couple next weeks at least. Is this blocking your docs to be built? |
Not really, but nice to have :) |
Do you have a timeline for the new images with Python 3.7? I've started a new project and I am using Python 3.7 features that make the import of my modules fail:
|
@stblassitude the import is a warning. I think your problem is because the f-string. You could use Py3.6 with |
Are there any updates to the availability for a python 3.7 friendly image? I'm working on a large application & library which moved to being 3.7 exclusively and the lack of 3.7 friendly image presents a problem with being able to run apidoc & some additional custom workflows for doing document generation. |
We don't have a ETA yet :( If you strictly need py3.7 you could use |
@humitos our requirement for 3.7 is strict. I could test out the anaconda workflow to see if that would work as an alternative for now. |
tl;dr:
Using the following patch to my project I was able to use 3.7 to perform a docs build (my build requires jupyter installed for docs derived from notebooks). This resulted in docs successfully building in the RTD environment while using Python 3.7 in order to execute the build environment.
|
The typing module in python 3.5 has problems with some type annotations so we need to build with 3.7. RTD doesn't yet support py37 natively but we can get it with conda following an example at readthedocs/readthedocs-docker-images#73
Fixes #72 and based on #74