+
Skip to content

Remove compatibility code for old python and webob #167

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

Merged
merged 5 commits into from
Jul 8, 2025

Conversation

kajinamit
Copy link
Contributor

@kajinamit kajinamit commented Jul 8, 2025

Drop code for Python < 3 because the minimum supported version is now Python 3.8 .

In addition, the minimum version of WebOb has been 1.8.0, so any code for older WebOb can be dropped, too.

kajinamit added 2 commits July 8, 2025 14:53
The minimum version of WebOb has been 1.8.0 for some time.
@kajinamit kajinamit changed the title Remove compatibility code for WebOb <= 1.1.1 Remove compatibility code for old python and webob Jul 8, 2025
kajinamit added 2 commits July 8, 2025 15:12
Now the minimum supported is 3.8 .
... because Python 3.5 is no longer supported.
... because the pep8 package was renamed to pycodestyle long ago after
its 1.7.0 release.

Also fix the failures detected by pycodestyle.
@kajinamit
Copy link
Contributor Author

I also noticed the UserWarning caused by pep8 still used

pep8 has been renamed to pycodestyle (GitHub issue #466)
Use of the pep8 tool will be removed in a future release.
Please install and use `pycodestyle` instead.

$ pip install pycodestyle
$ pycodestyle ...

so I included the change to replace it in this PR.

@ryanpetrello
Copy link
Member

ryanpetrello commented Jul 8, 2025

Thanks!

@ryanpetrello ryanpetrello merged commit 1e43f3b into pecan:master Jul 8, 2025
24 checks passed
@kajinamit kajinamit deleted the compat-cleanup branch July 9, 2025 04:03
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
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载