diff --git a/.deps/noauto.txt b/.deps/noauto.txt new file mode 100644 index 0000000..f148604 --- /dev/null +++ b/.deps/noauto.txt @@ -0,0 +1,6 @@ +requests==2.28.1; python_version == '3.11' +requests==2.31.0; python_version >= '3.12' +filelock==3.9.0; python_version == '3.11' +filelock==3.14.0; python_version >= '3.12' +internetarchive==3.3.0; python_version == '3.11' +internetarchive==3.7.0; python_version >= '3.12' diff --git a/.github/debci.txt b/.github/debci.txt new file mode 100644 index 0000000..0e2b9b7 --- /dev/null +++ b/.github/debci.txt @@ -0,0 +1,3 @@ +langcodes==3.4.0 +language_data==1.2.0 +marisa_trie==1.2.0 diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 1230149..a9e6c17 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -4,3 +4,11 @@ updates: directory: "/" schedule: interval: "daily" + - package-ecosystem: pip + directory: "/" + schedule: + interval: "daily" + - package-ecosystem: pip + directory: "/.github" + schedule: + interval: "daily" diff --git a/.github/pythonchecks.txt b/.github/pythonchecks.txt index 94aab37..21c89f2 100644 --- a/.github/pythonchecks.txt +++ b/.github/pythonchecks.txt @@ -22,9 +22,3 @@ flake8-noqa==1.3.2 coverage==7.3.2 setuptools==68.2.2; python_version == '3.12' build==1.2.1 -requests==2.28.1; python_version == '3.11' -requests==2.31.0; python_version >= '3.12' -filelock==3.9.0; python_version == '3.11' -filelock==3.14.0; python_version >= '3.12' -internetarchive==3.3.0; python_version == '3.11' -internetarchive==3.7.0; python_version >= '3.12' diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 29ce6f6..5f7f511 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -21,6 +21,7 @@ jobs: sudo apt-get install -y libgnutls28-dev pip install -U pip pip install -r .github/pythonchecks.txt + pip install -r .deps/noauto.txt pyproject-build --wheel --outdir dist . find dist -name "*.whl" | xargs pip3 install - name: Run tests @@ -43,9 +44,7 @@ jobs: run: | pyproject-build --wheel --outdir dist . cd dist - pip wheel langcodes==3.4.0 --no-deps - pip wheel language_data==1.2.0 --no-deps - pip wheel marisa_trie==1.2.0 --no-deps + pip wheel -r ../.github/debci.txt --no-deps # FIXME: https://github.com/pytries/marisa-trie/issues/106 mv marisa_trie-1.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl marisa_trie-1.2.0-py3-cp310-manylinux2014_x86_64.whl - name: wheel2deb