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

Revert "Merge pull request #633 from cherrypy/debt/drop-py37" #686

Closed
wants to merge 7 commits into from

Conversation

webknjaz
Copy link
Member

@webknjaz webknjaz commented Apr 17, 2024

This reverts commit f82aee6, reversing changes made to 2b3b3eb.

❓ What kind of change does this PR introduce?

  • 🐞 bug fix
  • 🐣 feature
  • πŸ“‹ docs update
  • πŸ“‹ tests/coverage improvement
  • πŸ“‹ refactoring
  • πŸ’₯ other

πŸ“‹ What is the related issue number (starting with #)

N/A

❓ What is the current behavior? (You can also link to an open issue here)

Python 3.6 and 3.7 are not tested in CI and are marked as unsupported in the metadata.

❓ What is the new behavior (if this is a feature change)?

Dropping Python 3.6/3.7 is reverted.

πŸ“‹ Other information:

This is a check for whether the project can still run in the Python 3.6 runtime as needed by one of the downstream projects (Ceph). It is not intended to be merged into main but may end up in a maintenance branch at some point, if I decide to keep a branch with backports for the 10.x stream.

πŸ“‹ Contribution checklist:

(If you're a first-timer, check out
this guide on making great pull requests)

  • I wrote descriptive pull request text above
  • I think the code is well written
  • I wrote good commit messages
  • I have squashed related commits together after
    the changes have been approved
  • Unit tests for the changes exist
  • Integration tests for the changes exist (if applicable)
  • I used the same coding conventions as the rest of the project
  • The new code doesn't generate linter offenses
  • Documentation reflects the changes
  • The PR relates to only one subject with a clear title
    and description in grammatically correct, complete sentences

This change is Reviewable

@webknjaz webknjaz added the enhancement Improvement label Apr 17, 2024
@webknjaz webknjaz self-assigned this Apr 17, 2024
The Python 3.6 runtime seems to be adding a trailing comma in the
argument lists of class `repr()`s. This patch takes that into account
in the regexes used in tests for checking what's logged.
The error is
```python-traceback
ImportError: ../site-packages/cryptography/hazmat/bindings/_openssl.pypy36-pp73-x86_64-linux-gnu.so: undefined symbol: FIPS_mode
```
This is fine for a maintenance branch with older deps.
@webknjaz
Copy link
Member Author

This is now a part of maint/10.0.x and v10.0.1. maint/10.0.x is going to be merged back into main with a few commits re-reverted.

@webknjaz webknjaz closed this Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant