From 90ebd8c5660a8bb505b233d75c727559f708fedb Mon Sep 17 00:00:00 2001
From: Maeva Pourpoint <maeva@passcal.nmt.edu>
Date: Thu, 25 Jan 2024 15:01:31 -0700
Subject: [PATCH] Add support for python 3.11

---
 .gitlab-ci.yml | 8 ++++++++
 setup.py       | 1 +
 tox.ini        | 2 +-
 3 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ec21e03..f1ded25 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -46,3 +46,11 @@ python3.10:
   stage: test
   script:
   - python -m unittest
+
+python3.11:
+  image: python:3.11
+  tags:
+  - passoft
+  stage: test
+  script:
+  - python -m unittest
diff --git a/setup.py b/setup.py
index f8ccda7..4ce897a 100644
--- a/setup.py
+++ b/setup.py
@@ -22,6 +22,7 @@ setup(
         'Natural Language :: English',
         'Programming Language :: Python :: 3.9',
         'Programming Language :: Python :: 3.10',
+        'Programming Language :: Python :: 3.11',
     ],
     description="View mseed headers",
     entry_points={
diff --git a/tox.ini b/tox.ini
index 10760b0..a6f1935 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
 [tox]
-envlist = py39, py310, flake8
+envlist = py39, py310, py311, flake8
 
 [testenv:flake8]
 basepython = python
-- 
GitLab