Skip to content

Commit

Permalink
Fix content-length bug in CivicPlusSite for East Brandywine PA #177 (#…
Browse files Browse the repository at this point in the history
…178)

* Fix content-length bug in CivicPlusSite for East Brandywine PA #177 
* Drop testing support 3.7 support and add 3.11
* Update and fix breakage in GH Actions workflows #179
  • Loading branch information
zstumgoren authored Apr 4, 2024
1 parent 4b51920 commit 4e13b0a
Show file tree
Hide file tree
Showing 15 changed files with 557,315 additions and 337,720 deletions.
38 changes: 21 additions & 17 deletions .github/workflows/continuous-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install pipenv
run: pipx install pipenv

- uses: actions/setup-python@v2
- uses: actions/setup-python@v5
with:
python-version: "3.7"
python-version: "3.10"
cache: "pipenv"

- id: pipenv-install
Expand All @@ -34,12 +34,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install pipenv
run: pipx install pipenv

- uses: actions/setup-python@v2
- uses: actions/setup-python@v5
with:
python-version: "3.9"
cache: "pipenv"
Expand All @@ -58,7 +58,7 @@ jobs:

- id: save
name: Save artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: docs-${{ github.run_number }}
path: ./docs
Expand All @@ -67,25 +67,27 @@ jobs:
test-python:
strategy:
matrix:
python: ["3.7", "3.8", "3.9", "3.10"]
python: ["3.8", "3.9", "3.10", "3.11"]
name: Test Python code
runs-on: ubuntu-latest
steps:
- id: checkout
name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install pipenv
run: pipx install pipenv

- uses: actions/setup-python@v2
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
cache: "pipenv"

- id: pipenv-install
name: Install Python dependencies
run: pipenv install --dev --python `which python`
run: |
pipenv install --dev --python `which python`
pipenv run pip install exceptiongroup
- id: run
name: Run tests
Expand All @@ -97,19 +99,21 @@ jobs:
needs: [test-python]
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install pipenv
run: pipx install pipenv

- uses: actions/setup-python@v2
- uses: actions/setup-python@v5
with:
python-version: '3.7'
python-version: '3.10'
cache: 'pipenv'

- id: pipenv-install
name: Install Python dependencies
run: pipenv install --dev --python `which python`
run: |
pipenv install --dev --python `which python`
pipenv run pip install tomli
- id: build
name: Build release
Expand All @@ -121,7 +125,7 @@ jobs:

- id: save
name: Save artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: test-release-${{ github.run_number }}
path: ./dist
Expand All @@ -133,13 +137,13 @@ jobs:
needs: [test-build]
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
steps:
- uses: actions/setup-python@v2
- uses: actions/setup-python@v5
with:
python-version: '3.9'

- id: fetch
name: Fetch artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: test-release-${{ github.run_number }}
path: ./dist
Expand Down
20 changes: 16 additions & 4 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,21 @@ feedparser = "*"
scraper-legistar = "*"
requests = "*"
demjson3 = "*"
bumpversion = "*"
watchdog = "*"
flake8 = "*"
tox = "*"
coverage = "*"
docutils = "*"
sphinx = "*"
pytest = "*"
pytest-vcr = "*"
pytz = "*"
vcrpy = "*"
argh = "*"
twine = "*"
typing-extensions = "*"
sphinxcontrib-napoleon = "*"

[dev-packages]
bumpversion = "*"
Expand All @@ -24,7 +39,6 @@ pytest-vcr = "*"
vcrpy = "*"
argh = "*"
twine = "*"
Sphinx = "*"
pre-commit = "*"
typing-extensions = "*"
myst-parser = "*"
Expand All @@ -33,6 +47,4 @@ black = "*"
setuptools-scm = "*"
sphinxcontrib-napoleon = "*"
pytz = "*"

[requires]
python_version = "3.7"
sphinx = "*"
Loading

0 comments on commit 4e13b0a

Please sign in to comment.