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

Render RST using python3 #1456

Merged
merged 5 commits into from
Mar 31, 2021
Merged

Render RST using python3 #1456

merged 5 commits into from
Mar 31, 2021

Conversation

brasic
Copy link
Contributor

@brasic brasic commented Mar 30, 2021

#919 added support for python3, but we were still explicitly shelling out to the python2 executable here. Let's switch that to python3 since python2 is EOL.

This bumps the major version because it's a breaking change for anyone running in an environment with only python2.

Unfortunately it looks like CI is not passing because the travis config is quite outdated. The root cause of the failures appears to be at-least-two-fold:

  • the matrix of ruby versions is out of date
  • the travis config relies on bintray which is about to be shut down and appears to be no longer working.

I attempted to fix travis but I think a better fix is just to switch to Actions, e.g. #1453.

Carl Brasic added 4 commits March 30, 2021 14:44
#919 added support for python3, but
we still explicitly shell out to the `python2` executable.  Let's switch
to python3 now that it's supported.

This bumps the major version because it's a breaking change for anyone
running in an environment with only python2.
This should not be necessary anymore and its presence breaks actual use
of pip which installs into the site-packages directory.
The README.rst fixture had a test that was python2-specific, it asserted
that a segment of markup would be dropped from the output for containing
UTF-8 chars.  That's no longer true, so we can update the fixture
accordingly.
@brasic brasic merged commit 0ed8aff into master Mar 31, 2021
@brasic brasic deleted the python3-rst branch March 31, 2021 15:15
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.

2 participants