Skip to content

Commit

Permalink
Merge pull request #228 from ymorin-orange/nyma/gh-214.pep517
Browse files Browse the repository at this point in the history
python: migrate to PEP517
  • Loading branch information
ymorin-orange authored Dec 18, 2024
2 parents 4efa8e4 + 01942d9 commit 77c3f70
Show file tree
Hide file tree
Showing 85 changed files with 277 additions and 3,082 deletions.
31 changes: 0 additions & 31 deletions .github/workflows/docker.yml

This file was deleted.

17 changes: 13 additions & 4 deletions .github/workflows/python_iot3.yml → .github/workflows/python.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
name: Python IoT3 SDK
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]
Expand Down Expand Up @@ -56,10 +65,10 @@ jobs:
zipp==3.21.0
- name: Run black
run: |
black --diff --check python/iot3
black --diff --check python/${{ matrix.package }}
- name: Run package creation
run: |
python -m build python/iot3
python -m build python/${{ matrix.package }}
- name: Sanity checks of generated package
run: |
twine check --strict python/iot3/dist/*
twine check --strict python/${{ matrix.package }}/dist/*
35 changes: 0 additions & 35 deletions .github/workflows/python_its-client.yml

This file was deleted.

27 changes: 0 additions & 27 deletions .github/workflows/python_its-info.yml

This file was deleted.

27 changes: 0 additions & 27 deletions .github/workflows/python_its-iqm.yml

This file was deleted.

32 changes: 0 additions & 32 deletions .github/workflows/python_its-quadkeys.yml

This file was deleted.

27 changes: 0 additions & 27 deletions .github/workflows/python_its-status.yml

This file was deleted.

27 changes: 0 additions & 27 deletions .github/workflows/python_its-vehicle.yml

This file was deleted.

2 changes: 1 addition & 1 deletion python/iot3/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ classifiers = [
dependencies = [
"paho-mqtt>=2.1.0",
"requests>=2.31.0",
"its-quadkeys @ git+https://github.com/Orange-OpenSource/its-client@2eb528a6497411b807ea62f08dc0dc8306e3cbb0#subdirectory=python/its-quadkeys"
"its-quadkeys @ git+https://github.com/Orange-OpenSource/its-client@2083d20a59c5191a1258ece823c0741fce672443#subdirectory=python/its-quadkeys"
]

[project.urls]
Expand Down
2 changes: 0 additions & 2 deletions python/its-client/.flake8

This file was deleted.

73 changes: 0 additions & 73 deletions python/its-client/Dockerfile

This file was deleted.

51 changes: 0 additions & 51 deletions python/its-client/Readme.md

This file was deleted.

Loading

0 comments on commit 77c3f70

Please sign in to comment.