Skip to content

Commit

Permalink
Remove workaround from scraper
Browse files Browse the repository at this point in the history
Fixed in httpx 0.21, see
encode/httpx#1171 (comment)
  • Loading branch information
michael-k committed Dec 16, 2021
1 parent ed3dc82 commit 8bd17cb
Show file tree
Hide file tree
Showing 4 changed files with 216 additions and 236 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/scrape.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,21 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install -r scrape/requirements.txt
python -m pip install .
- name: Scrape
run: python ./scrape/scrape.py
- name: Format generated code
run: |
isort awacs
black awacs
- name: Commit & push collected actions
run: |
git config user.name "GitHub Workflow"
git config user.email [email protected]
isort awacs
black awacs
git add awacs/
git commit -m "Action Update $(date "+%G-%V")" || true
git push
22 changes: 11 additions & 11 deletions scrape/requirements.in
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
aiofiles>=0.6.0
beautifulsoup4>=4.9.3
black==21.6b0
httpx[http2]>=0.16.1
isort==5.9.1
lxml>=4.6.2
mypy==0.910
pycodestyle==2.7.0
pyflakes==2.3.1
tox==3.23.1
wheel>=0.36.2
aiofiles>=0.8.0
beautifulsoup4>=4.10.0
black==21.12b0
httpx[http2]>=0.21.1
isort==5.10.1
lxml>=4.7.1
mypy>=0.920
pycodestyle>=2.8.0
pyflakes>=2.4.0
tox>=3.24.4
wheel>=0.37.0
Loading

0 comments on commit 8bd17cb

Please sign in to comment.