Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[f] Upgrade Python version from 3.9 to 3.11 #13

Merged
merged 1 commit into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/archive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Set up Python 3.8
uses: actions/setup-python@v1
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.11

- name: Install Pipenv
uses: dschep/install-pipenv-action@v1
Expand All @@ -31,15 +31,15 @@ jobs:
uses: actions/cache@v1
with:
path: .venv
key: pip-3.8-${{ hashFiles('**/Pipfile.lock') }}
key: pip-3.11-${{ hashFiles('**/Pipfile.lock') }}
restore-keys: |
pip-3.8-
pip-3.11-
lamle-ea marked this conversation as resolved.
Show resolved Hide resolved
pip-

- name: Install dependencies
run: pipenv sync
env:
PIPENV_DEFAULT_PYTHON_VERSION: 3.8
PIPENV_DEFAULT_PYTHON_VERSION: 3.11

- name: Run scrapers
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: [3.9]
python-version: [3.11]

steps:
- uses: actions/checkout@v1

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v5
lamle-ea marked this conversation as resolved.
Show resolved Hide resolved
with:
python-version: ${{ matrix.python-version }}

Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Set up Python 3.9
uses: actions/setup-python@v1
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: 3.11

- name: Install Pipenv
uses: dschep/install-pipenv-action@v1
Expand All @@ -37,15 +37,15 @@ jobs:
uses: actions/cache@v1
with:
path: .venv
key: pip-3.9-${{ hashFiles('**/Pipfile.lock') }}
key: pip-3.11-${{ hashFiles('**/Pipfile.lock') }}
restore-keys: |
pip-3.9-
pip-3.11-
pip-

- name: Install dependencies
run: pipenv sync
env:
PIPENV_DEFAULT_PYTHON_VERSION: 3.9
PIPENV_DEFAULT_PYTHON_VERSION: 3.11

- name: Run scrapers
run: |
Expand Down
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ isort = "*"
black = "*"

[requires]
python_version = "3.9"
python_version = "3.11"
2 changes: 1 addition & 1 deletion Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions tests/test_sandie_city_council.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ def test_status():

def test_location():
assert parsed_items[20]["location"] == {
"name": "San Diego County Administration Center",
"address": "1600 Pacific Hwy., San Diego, California",
"name": "San Diego City Administration Center",
"address": "202 C Street, San Diego",
}


Expand Down
Loading