Skip to content

Commit

Permalink
Switch from demjson to demjson3 so we can support Python 3.9 and 3.10 (
Browse files Browse the repository at this point in the history
  • Loading branch information
palewire committed Mar 9, 2022
1 parent 623f0e5 commit c4be684
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/continuous-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
test-python:
strategy:
matrix:
python: ["3.7", "3.8"]
python: ["3.7", "3.8", "3.9", "3.10"]
name: Test Python code
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ click-option-group = "*"
feedparser = "*"
legistar = {file = "https://github.com/opencivicdata/python-legistar-scraper/archive/03c160facc64c9297cb1c5a1663d07fd1781c65c.zip"}
requests = "*"
demjson = "*"
demjson3 = "*"

[dev-packages]
bumpversion = "*"
Expand Down
16 changes: 4 additions & 12 deletions Pipfile.lock

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

2 changes: 1 addition & 1 deletion civic_scraper/platforms/civic_clerk/site.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from pathlib import Path
from urllib.parse import urlparse

import demjson
import demjson3 as demjson
import lxml.html
from requests import Session

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ click-option-group
feedparser
https://github.com/opencivicdata/python-legistar-scraper/archive/03c160facc64c9297cb1c5a1663d07fd1781c65c.zip
requests
demjson
demjson3

0 comments on commit c4be684

Please sign in to comment.