From 428f5083a2c8ef17ca3c1a19631542da595630d0 Mon Sep 17 00:00:00 2001
From: simleo <simleo@crs4.it>
Date: Tue, 24 Sep 2024 17:35:19 +0200
Subject: [PATCH] bump supported python versions

---
 .github/workflows/python-package.yml | 2 +-
 Dockerfile                           | 2 +-
 README.md                            | 2 +-
 setup.py                             | 6 +++---
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml
index 2069e54..1dff7a4 100644
--- a/.github/workflows/python-package.yml
+++ b/.github/workflows/python-package.yml
@@ -19,7 +19,7 @@ jobs:
     strategy:
       matrix:
         os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
-        python-version: ['3.8', '3.9', '3.10', '3.11']
+        python-version: ['3.9', '3.10', '3.11', '3.12']
 
     runs-on: ${{ matrix.os }}
 
diff --git a/Dockerfile b/Dockerfile
index 3991820..415a652 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM python:3.7-buster
+FROM python:3.12
 
 COPY ./ /ro-crate-py
 WORKDIR /ro-crate-py
diff --git a/README.md b/README.md
index 978492d..1550e1f 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,7 @@ ro-crate-py is a Python library to create and consume [Research Object Crates](h
 
 ## Installation
 
-ro-crate-py requires Python 3.7 or later. The easiest way to install is via [pip](https://docs.python.org/3/installing/):
+ro-crate-py requires Python 3.9 or later. The easiest way to install is via [pip](https://docs.python.org/3/installing/):
 
 ```
 pip install rocrate
diff --git a/setup.py b/setup.py
index fdb62d3..242ef7c 100755
--- a/setup.py
+++ b/setup.py
@@ -71,7 +71,7 @@
         'RaĆ¼l Sirvent',
         'Stian Soiland-Reyes'
     )),
-    python_requires='>=3.7',
+    python_requires='>=3.9',
     author_email='stain@apache.org',
     package_data={'': ['data/*.jsonld', 'templates/*.j2']},
     # SPDX, pending https://github.com/pombredanne/spdx-pypi-pep/pull/2
@@ -88,10 +88,10 @@
         'Intended Audience :: Information Technology',
         'Topic :: Software Development :: Libraries',
         'Programming Language :: Python :: 3',
-        'Programming Language :: Python :: 3.7',
-        'Programming Language :: Python :: 3.8',
         'Programming Language :: Python :: 3.9',
         'Programming Language :: Python :: 3.10',
+        'Programming Language :: Python :: 3.11',
+        'Programming Language :: Python :: 3.12',
         'Topic :: Internet',
         'Topic :: Internet :: WWW/HTTP',
         'Topic :: System :: Archiving',