From 7b16d1487136a7305889c4713ed1c740273fd900 Mon Sep 17 00:00:00 2001 From: Chris Alfano Date: Thu, 23 May 2024 18:02:22 -0400 Subject: [PATCH 1/2] fix(ci): use Python 3.11 to build and publish packages --- .github/workflows/build-calitp-map-utils.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-calitp-map-utils.yml b/.github/workflows/build-calitp-map-utils.yml index 7a7716e06a..fe30a779ec 100644 --- a/.github/workflows/build-calitp-map-utils.yml +++ b/.github/workflows/build-calitp-map-utils.yml @@ -27,7 +27,7 @@ jobs: - run: sudo apt-get install -y libgraphviz-dev graphviz-dev - uses: actions/setup-python@v4 with: - python-version: '3.9' + python-version: '3.11' - run: | curl -sSL https://install.python-poetry.org | python - poetry install From 0c860782916215eff67ae617cc11d3443dbda9b9 Mon Sep 17 00:00:00 2001 From: Chris Alfano Date: Thu, 23 May 2024 18:02:39 -0400 Subject: [PATCH 2/2] fix(docs): remove out-of-date note about publishing to PyPi not being automated --- apps/maps/README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/maps/README.md b/apps/maps/README.md index 700719e9bb..b492539b80 100644 --- a/apps/maps/README.md +++ b/apps/maps/README.md @@ -15,8 +15,7 @@ data validation as well as Typescript types for type-hinting in the Svelte app. a few CLI commands to facilitate validating pre-existing data with those types and/or generate a quick URL with state for testing. -TODO: a GitHub Action workflow exists to build the package, but it does not currently publish to pypi; right now -that is done manually with `poetry publish`. +A GitHub Action workflow exists to build the package and publish it to PyPi. Be sure to bump the version date in `pyproject.toml` in any pull request that updates the library. ## Developing the maps app