pypa / readme_renderer

Safely render long_description/README files in Warehouse
Apache License 2.0
158 stars 88 forks source link

Remove py2-specific dependencies and fix tests #192

Closed mgorny closed 3 years ago

mgorny commented 3 years ago
  1. Fix GitHub actions to actually test against the requested Python version (rather than 2.7 everywhere).
  2. Replace external mock with py3's unittest.mock.
  3. Remove dependency on six.
  4. Use the new pytest executable name.
mgorny commented 3 years ago

I dare say the tests are using Python 2.7 instead of the Python they were supposed to test.

mgorny commented 3 years ago

I'm going to experiment a little trying to fix it.

mgorny commented 3 years ago

Ok, it's ready for review now.

di commented 3 years ago

Great catch, thanks!