aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2023-10-03 20:12:31 +0200
committerAnthon van der Neut <anthon@mnt.org>2023-10-03 20:12:31 +0200
commit06e2cdc5695e2cb5712b468b7e57a53822703364 (patch)
tree0d7eb388bd5f761fc5dc1a6a35a731744e0aa62e
parent4f2d0c24bafaec068f17f0d84daf48621b09dc2a (diff)
downloadruamel-yaml-clib-code-06e2cdc5695e2cb5712b468b7e57a53822703364.tar.gz
upgrade Dockerfile
-rw-r--r--Dockerfile4
-rw-r--r--compose.yaml (renamed from docker-compose.yaml)0
-rw-r--r--pyproject.toml4
-rwxr-xr-xtox.ini27
4 files changed, 26 insertions, 9 deletions
diff --git a/Dockerfile b/Dockerfile
index 05e6935..e24e927 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM quay.io/pypa/manylinux1_x86_64:latest
+FROM quay.io/pypa/manylinux_2_28_x86_64:latest
MAINTAINER Anthon van der Neut <a.van.der.neut@ruamel.eu>
@@ -22,4 +22,4 @@ RUN echo ' auditwheel repair "$whl" -w /src/dist/' >> /usr/bin/makewheel
RUN echo 'done' >> /usr/bin/makewheel
RUN chmod 755 /usr/bin/makewheel
-CMD /usr/bin/makewheel 27 35 36 37 38 39
+CMD /usr/bin/makewheel 37 38 39 310 311 312
diff --git a/docker-compose.yaml b/compose.yaml
index a3fc8c9..a3fc8c9 100644
--- a/docker-compose.yaml
+++ b/compose.yaml
diff --git a/pyproject.toml b/pyproject.toml
new file mode 100644
index 0000000..7e66379
--- /dev/null
+++ b/pyproject.toml
@@ -0,0 +1,4 @@
+[build-system]
+requires = ["setuptools", "wheel"]
+# test
+build-backend = "setuptools.build_meta"
diff --git a/tox.ini b/tox.ini
index 4957b2d..0651bd2 100755
--- a/tox.ini
+++ b/tox.ini
@@ -1,36 +1,49 @@
[tox]
-# toxworkdir = /data1/DATA/tox/ruamel.yaml.clib
-envlist = cs,py39,py38,py37,py36,py35
+toxworkdir = /data1/DATA/tox/ruamel.yaml.clib
+envlist = cs,py311,py310,py39,py38,py37,py312,py36
[testenv]
+allowlist_externals = /bin/bash
+install_command = pip install --disable-pip-version-check {opts} {packages}
skip_install = True
commands =
python setup.py bdist_wheel -d /data1/DATA/tox/ruamel.yaml.clib/dist/
pip install --upgrade --find-links=/data1/DATA/tox/ruamel.yaml.clib/dist/ ruamel.yaml.clib
deps =
pytest
+ setuptools
wheel
[testenv:cs]
-basepython = python3.6
+basepython = python3.11
deps =
flake8
- flake8-bugbear;python_version>="3.5"
+ flake8-bugbear;python_version>="3.11"
+ flake8-2020==1.8.1
+ flake8-commas==2.1.0
+ flake8-comprehensions==3.14.0
+ flake8-length==0.3.1
+ flake8-logging-format==0.9.0
commands =
flake8 []{posargs}
[testenv:pep8]
-basepython = python3.6
+basepython = python3.11
deps =
flake8
- flake8-bugbear;python_version>="3.5"
+ flake8-bugbear;python_version>="3.11"
+ flake8-2020==1.8.1
+ flake8-commas==2.1.0
+ flake8-comprehensions==3.14.0
+ flake8-length==0.3.1
+ flake8-logging-format==0.9.0
commands =
flake8 []{posargs}
[flake8]
show-source = True
max-line-length = 95
-ignore = W503,F405,E203
+ignore = W503,F405,E203,C408
exclude = .hg,.git,.tox,dist,.cache,__pycache__,ruamel.zip2tar.egg-info
[pytest]