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

Drop Python 3.7 support #1710

Merged
merged 5 commits into from
Sep 22, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,10 @@ Install ``plone.restapi`` by adding it to your buildout.
Python / Plone Compatibility
============================

plone.restapi 8 requires Python 3 and works with Plone 5.2 and Plone 6.x.

plone.restapi 8 does not officially support Python 3.6.
plone.restapi 8 and 9 require Python 3 and work with Plone 5.2 and Plone 6.x.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mauritsvanrees @davisagli FYI: I updated the README to reflect our "more strict" policy regarding old Python versions.


Python versions that reached their `end-of-life <https://devguide.python.org/versions/>`_,
including Python 3.6, might still work, but the maintainers do not guarantee this in any way.
including Python 3.6 and Python 3.7 are not supported any longer.

Use plone.restapi 7 if you are running Python 2.7 or Plone versions below 5.2.

Expand Down
3 changes: 1 addition & 2 deletions news/1.bugfix
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
Fix stored XSS (Cross Site Scripting) for SVG image in user portrait.
Done by forcing a download instead of displaying inline.
Normal accessing via an image tag is not affected and is safe.
See `security advisory <https://github.com/plone/plone.restapi/security/advisories/GHSA-hc5c-r8m5-2gfh>`_.
[maurits]
See `security advisory <https://github.com/plone/plone.restapi/security/advisories/GHSA-hc5c-r8m5-2gfh>`_. @maurits
3 changes: 1 addition & 2 deletions news/1570.bugfix
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
Use incoming request to produce location for @tus-upload
[instification]
Use incoming request to produce location for @tus-upload @instification
tisto marked this conversation as resolved.
Show resolved Hide resolved
1 change: 1 addition & 0 deletions news/1709.breaking
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Drop support for Python 3.7. Set python_requires to >= 3.8 @tisto
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ def read(filename):
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
Expand All @@ -83,7 +82,7 @@ def read(filename):
packages=find_packages("src"),
package_dir={"": "src"},
namespace_packages=["plone"],
python_requires=">=3.6",
python_requires=">=3.8",
include_package_data=True,
zip_safe=False,
install_requires=[
Expand Down