Skip to content

Commit

Permalink
Updating Pipfile syntaxe
Browse files Browse the repository at this point in the history
Updating the httpx line on Pipfile to generate the Pipfile.lock without errors
  • Loading branch information
OussamaBeng committed Feb 15, 2024
1 parent 206d6ec commit f95797e
Show file tree
Hide file tree
Showing 4 changed files with 1,071 additions and 44 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ jobs:
- uses: actions/checkout@v4
- name: Checking differences between pyproject.toml and Pipfile
run: |
diff <(cat Pipfile | grep -E ".* = \"(=|>).*\"" | sed -E 's/"?(.*[^"])"? = "(.*)"/\1\2/' | sort | uniq) <(cat pyproject.toml | grep -E '".+(=|>)=.*"' | sed -E "s/\s+\"(.*+)\".*/\1/" | sort | uniq)
diff <(cat Pipfile | grep -E ".* = \"(=|>).*\"" | grep -v "httpx" | sed -E 's/"?(.*[^"])"? = "(.*)"/\1\2/' | sort | uniq) <(cat pyproject.toml | grep -E '".+(=|>)=.*"' | grep -v "httpx" | sed -E "s/\s+\"(.*+)\".*/\1/" | sort | uniq)
diff <(cat Pipfile | grep "httpx[^-]" | sed -E 's/(httpx).*\[\"(.*)\",\s\"(.*)\"\],\s.*\"(.*)\".*/\1[\2, \3] \4/; s/ //g') <(cat pyproject.toml | grep "httpx[^-]" | sed 's/^ *//; s/,*$//; s/"//g; s/ //g')
docker:
runs-on: ubuntu-22.04
Expand Down
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ browser-cookie3 = "==0.19.1"
dnspython = "==2.4.2"
h11 = ">=0.14.0"
httpcore = "==1.0.2"
"httpx[brotli, socks]" = "==0.26.0"
httpx = { extra = ["brotli", "socks"], version = "==0.26.0" }
httpx-ntlm = ">=1.4.0"
humanize = "==4.9.0"
loguru = ">=0.7.2"
Expand Down
Loading

0 comments on commit f95797e

Please sign in to comment.