diff --git a/.github/workflows/continuous-deployment.yml b/.github/workflows/continuous-deployment.yml index 83bd28fd..91222d01 100644 --- a/.github/workflows/continuous-deployment.yml +++ b/.github/workflows/continuous-deployment.yml @@ -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: diff --git a/Pipfile b/Pipfile index 0b8898a6..b9081dc3 100644 --- a/Pipfile +++ b/Pipfile @@ -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 = "*" diff --git a/Pipfile.lock b/Pipfile.lock index 5ae34c3b..d1987dbd 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -1,7 +1,7 @@ { "_meta": { "hash": { - "sha256": "feb3704e7cdee6254083d55c1dcfab0fa3e62a7f4b29381ffe65508ebb87d768" + "sha256": "7a90c4b6d847bb24826216de0fcd23cb20889b02b0022913dc049dde28d80a4d" }, "pipfile-spec": 6, "requires": { @@ -62,12 +62,12 @@ "index": "pypi", "version": "==0.5.3" }, - "demjson": { + "demjson3": { "hashes": [ - "sha256:1d989c310e33569ecc178b8182e53bde8f748bf5ea10cfbc0e331f8c313f6e29" + "sha256:ab9aabdd85695f3684fc296f39766a2730f6c8de81d23f7048073dfe2f616d80" ], "index": "pypi", - "version": "==1.6" + "version": "==3.0.5" }, "esprima": { "hashes": [ @@ -505,14 +505,6 @@ "index": "pypi", "version": "==3.9.2" }, - "identify": { - "hashes": [ - "sha256:2986942d3974c8f2e5019a190523b0b0e2a07cb8e89bf236727fb4b26f27f8fd", - "sha256:fd906823ed1db23c7a48f9b176a1d71cb8abede1e21ebe614bac7bdd688d9213" - ], - "markers": "python_version >= '3.7'", - "version": "==2.4.11" - }, "idna": { "hashes": [ "sha256:84d9dd047ffa80596e0f246e2eab0b391788b0503584e8945f2368256d2735ff", diff --git a/civic_scraper/platforms/civic_clerk/site.py b/civic_scraper/platforms/civic_clerk/site.py index 9edce6cb..b24c18c3 100644 --- a/civic_scraper/platforms/civic_clerk/site.py +++ b/civic_scraper/platforms/civic_clerk/site.py @@ -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 diff --git a/requirements.txt b/requirements.txt index 2443a317..3f300fb0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,4 +4,4 @@ click-option-group feedparser https://github.com/opencivicdata/python-legistar-scraper/archive/03c160facc64c9297cb1c5a1663d07fd1781c65c.zip requests -demjson +demjson3