Skip to content

python/status: fix installed script #10

python/status: fix installed script

python/status: fix installed script #10

Workflow file for this run

name: Python packages
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
package:
- iot3
- its-info
- its-interqueuemanager
- its-quadkeys
- its-status
- its-vehicle
steps:
- name: Checkout
uses: actions/[email protected]
- name: Set up python 3.11
uses: actions/[email protected]
with:
python-version: "3.11"
- name: Install tooling dependencies
# We need black, build, and twine. We pin their versions, and
# those of their dependencies.
run: |
pip --disable-pip-version-check --no-cache-dir install \
backports.tarfile==1.2.0 \
black==24.10.0 \
build==1.2.2.post1 \
certifi==2024.8.30 \
cffi==1.17.1 \
charset-normalizer==3.4.0 \
click==8.1.7 \
cryptography==43.0.3 \
docutils==0.21.2 \
idna==3.10 \
importlib_metadata==8.5.0 \
jaraco.classes==3.4.0 \
jaraco.context==6.0.1 \
jaraco.functools==4.1.0 \
jeepney==0.8.0 \
keyring==25.5.0 \
markdown-it-py==3.0.0 \
mdurl==0.1.2 \
more-itertools==10.5.0 \
mypy-extensions==1.0.0 \
nh3==0.2.18 \
packaging==24.2 \
pathspec==0.12.1 \
pkginfo==1.10.0 \
platformdirs==4.3.6 \
pycparser==2.22 \
Pygments==2.18.0 \
pyproject_hooks==1.2.0 \
readme_renderer==44.0 \
requests==2.32.3 \
requests-toolbelt==1.0.0 \
rfc3986==2.0.0 \
rich==13.9.4 \
SecretStorage==3.3.3 \
twine==5.1.1 \
urllib3==2.2.3 \
zipp==3.21.0
- name: Run black
run: |
black --diff --check python/${{ matrix.package }}
- name: Run package creation
run: |
python -m build python/${{ matrix.package }}
- name: Sanity checks of generated package
run: |
twine check --strict python/${{ matrix.package }}/dist/*