From: Melissa LeBlanc-Williams Date: Mon, 23 Jun 2025 15:35:58 +0000 (-0700) Subject: More changes and ran pre-commit X-Git-Tag: 8.61.0^2~3 X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/commitdiff_plain/0c3fbc1b0a51c47cc78a8595ef353773e1824f55 More changes and ran pre-commit --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 52d16c1..80940d0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,10 +16,10 @@ jobs: - name: Translate Repo Name For Build Tools filename_prefix id: repo-name run: echo "repo-name=Adafruit-Blinka" >> $GITHUB_OUTPUT - - name: Set up Python 3.11 + - name: Set up Python 3.8 uses: actions/setup-python@v4 with: - python-version: 3.11 + python-version: 3.8 - name: Versions run: | python3 --version @@ -47,12 +47,7 @@ jobs: - name: Build docs working-directory: docs run: sphinx-build -E -W -b html . _build/html - - name: Check For pyproject.toml - id: need-pypi - run: | - echo "pyproject-toml=$( find . -wholename './pyproject.toml' )" >> $GITHUB_OUTPUT - name: Build Python package - if: contains(steps.need-pypi.outputs.pyproject-toml, 'pyproject.toml') run: | pip install --upgrade build twine for file in $(find -not -path "./.*" -not -path "./docs*" \( -name "*.py" -o -name "*.toml" \) ); do diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ab6669f..55d1f82 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,4 +34,4 @@ jobs: sed -i -e "s/0.0.0+auto.0/${{github.event.release.tag_name}}/" $file; done; python -m build - twine upload dist/* \ No newline at end of file + twine upload dist/* diff --git a/requirements.txt b/requirements.txt index 4737d9b..aec7911 100755 --- a/requirements.txt +++ b/requirements.txt @@ -6,4 +6,4 @@ # (the -e above is optional). you could also just install the package # normally with just the line below (after uncommenting) - . \ No newline at end of file + .