diff options
author | Anthon van der Neut <anthon@mnt.org> | 2023-10-03 20:12:31 +0200 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2023-10-03 20:12:31 +0200 |
commit | 06e2cdc5695e2cb5712b468b7e57a53822703364 (patch) | |
tree | 0d7eb388bd5f761fc5dc1a6a35a731744e0aa62e | |
parent | 4f2d0c24bafaec068f17f0d84daf48621b09dc2a (diff) | |
download | ruamel-yaml-clib-code-06e2cdc5695e2cb5712b468b7e57a53822703364.tar.gz |
upgrade Dockerfile
-rw-r--r-- | Dockerfile | 4 | ||||
-rw-r--r-- | compose.yaml (renamed from docker-compose.yaml) | 0 | ||||
-rw-r--r-- | pyproject.toml | 4 | ||||
-rwxr-xr-x | tox.ini | 27 |
4 files changed, 26 insertions, 9 deletions
@@ -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" @@ -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] |