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

Add support for python 3.10 #1399

Merged
merged 2 commits into from
Nov 24, 2021
Merged

Conversation

jules-ch
Copy link
Collaborator

No description provided.

- Remove travis specific section
- Remove universal wheel
- Add support for python 3.10 in metadata
@jules-ch
Copy link
Collaborator Author

There is something wrong with the readthedocs pipeline, it seems to come from docutils 0.18 which is incompatible with sphinx version.

There is a step with some requirements hardcoded, I just don't know where they come from, is it from readthedocs settings?

/home/docs/checkouts/readthedocs.org/user_builds/pint/envs/develop/bin/python -m pip install --upgrade --no-cache-dir mock==1.0.1 pillow==5.4.1 alabaster>=0.7,<0.8,!=0.7.5 commonmark==0.8.1 recommonmark==0.5.0 sphinx<2 sphinx-rtd-theme<0.5 readthedocs-sphinx-ext<2.2

@jules-ch
Copy link
Collaborator Author

it installs sphinx<2, which has docutils>=0.11 in requirements installing docutils 0.18 (released 11hours ago) which is incompatible.
https://github.com/sphinx-doc/sphinx/blob/v1.8.5/setup.py#L18-L31

We'll have to pin some of those requirements & remove the hardcoded steps in read the docs @hgrecco

@hgrecco
Copy link
Owner

hgrecco commented Oct 27, 2021

Can you try editing requirements_docs.txt?

@keewis
Copy link
Contributor

keewis commented Nov 1, 2021

remove the hardcoded steps in read the docs

that's not possible, those are hard-coded by RTD's build system. The official way to override those (according to their docs) is to pin the dependencies in a requirements file.

@jules-ch
Copy link
Collaborator Author

jules-ch commented Nov 1, 2021

We'll do that then

@jules-ch jules-ch merged commit 5bdf010 into hgrecco:master Nov 24, 2021
@keewis keewis mentioned this pull request Jan 16, 2022
21 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants