matrix:
include:
- os: ubuntu-20.04
- python: 3.8
- - os: ubuntu-20.04
- python: 3.9
+ python: "3.10"
- os: ubuntu-22.04
python: "3.10"
+ - os: ubuntu-22.04
+ python: "3.11"
steps:
- uses: actions/checkout@v2
+ - name: Add deadsnakes PPA
+ if: matrix.os == 'ubuntu-20.04'
+ run: sudo add-apt-repository --yes ppa:deadsnakes/ppa
- name: Setup Python
uses: actions/setup-python@v2
with:
matrix:
include:
- os: ubuntu-20.04
- python: 3.8
- - os: ubuntu-20.04
- python: 3.9
+ python: "3.10"
- os: ubuntu-22.04
python: "3.10"
+ - os: ubuntu-22.04
+ python: "3.11"
steps:
+ - name: Add deadsnakes PPA
+ if: matrix.os == 'ubuntu-20.04'
+ run: sudo add-apt-repository --yes ppa:deadsnakes/ppa
- name: Set up Python
uses: actions/setup-python@v3
with:
build:
os: ubuntu-22.04
tools:
- python: "3.8"
+ python: "3.10"
python:
install:
- method: pip
exit 1
fi
-# This dance is to keep us from using 3.6, even on systems where it is the OS's
-# preferred version. Can be dropped when no teuthology lab in production requires
-# an older version.
+# Use the newest version we find
if [ -z "$PYTHON" ]; then
- for i in 10 9 8 7; do
+ for i in 12 11 10; do
command -v "python3.$i" && PYTHON="python3.$i" && break
done
# This would be bizarre, but I suppose possible
-sphinx == 4.4.0
+sphinx >= 5.0.0 # for python 3.10
sphinxcontrib-programoutput
mock == 2.0.0
Operating System :: POSIX :: Linux
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
- 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
Programming Language :: Python :: Implementation :: CPython
Topic :: Software Development :: Quality Assurance
Topic :: Software Development :: Testing
summary = Ceph test framework
[options]
-python_requires = >=3.8
+python_requires = >=3.10
packages = find:
install_requires =
PyYAML
[Service]
Type=simple
User=teuthworker
-ExecStart=/home/teuthworker/src/git.ceph.com_git_teuthology_main/virtualenv/bin/python3.8 \
+ExecStart=/home/teuthworker/src/git.ceph.com_git_teuthology_main/virtualenv/bin/python3 \
/home/teuthworker/src/git.ceph.com_git_teuthology_main/virtualenv/bin/teuthology-dispatcher \
-v \
--archive-dir /home/teuthworker/archive \