Skip to content

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
brownben committed Nov 1, 2024
1 parent 0fa4bdf commit 977196e
Show file tree
Hide file tree
Showing 7 changed files with 2,821 additions and 1,423 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:

- uses: actions/setup-python@v2
with:
python-version: '3.11'
python-version: '3.12'

- name: Install `uv`
run: curl -LsSf https://astral.sh/uv/install.sh | sh
Expand Down
32 changes: 17 additions & 15 deletions backend/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,44 +3,46 @@ name = "munro"
version = "2.0.0"
description = "League Results. Sorted."
keywords = ['sports', 'leagues', 'scoring', 'results', 'orienteering']
authors = [{ name = "Ben Brown", email = "[email protected]" }]
authors = [
{ name = "Ben Brown", email = "[email protected]" },
]
homepage = 'https://munroleagues.com'
repository = 'https://github.com/brownben/munro'
readme = 'README.md'
license = "MIT"

dependencies = [
# fastapi
"fastapi~=0.112.0",
"uvicorn[standard]~=0.30.5",
"fastapi~=0.115.4",
"uvicorn[standard]~=0.32.0",
"uvloop~=0.19.0; platform_system != 'Windows'",

# database
"piccolo==0.119.0",
"asyncpg~=0.29.0",
"asyncpg~=0.30.0",

# results file parsing
"beautifulsoup4~=4.12.3",
"lxml~=5.2.2",
"lxml~=5.3.0",
"defusedxml~=0.7.1",

# check firebase auth tokens
"google-auth~=2.33.0",
"google-auth~=2.35.0",
"requests~=2.32.3",

"httpx~=0.27.0", # make requests for results files
"icalendar~=5.0.13" # generate ical files
"httpx~=0.27.2", # make requests for results files
"icalendar~=6.0.1", # generate ical files
]
optional-dependencies.dev = [
"aiosqlite~=0.20.0",
"coverage~=7.6.1",
"mypy~=1.11.1",
"coverage~=7.6.4",
"mypy~=1.13.0",
"respx~=0.21.1",
"ruff~=0.5.6",
"time-machine~=2.15.0",
"ruff~=0.7.1",
"time-machine~=2.16.0",
"types-beautifulsoup4~=4.12.0",
"types-icalendar~=5.0.0",
"types-requests~=2.31.0"
"types-icalendar~=6.0.1",
"types-requests~=2.32.0",
]

[build-system]
Expand All @@ -66,7 +68,7 @@ ignore = [
"E501", # Line too long
"B904", # Raise inside except
]
per-file-ignores = { "./src/database/*"=["E712"] }
per-file-ignores = { "./src/database/*" = ["E712"] }

select = [
"F", # Pyflakes
Expand Down
72 changes: 34 additions & 38 deletions backend/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,26 +1,24 @@
# This file was autogenerated by uv via the following command:
# uv pip compile pyproject.toml -o requirements.txt
anyio==4.3.0
# uv pip compile pyproject.toml
anyio==4.6.2.post1
# via
# httpx
# starlette
# watchfiles
async-timeout==4.0.3
# via asyncpg
asyncpg==0.29.0
asyncpg==0.30.0
# via munro (pyproject.toml)
beautifulsoup4==4.12.3
# via munro (pyproject.toml)
black==24.3.0
black==24.10.0
# via piccolo
cachetools==5.3.3
cachetools==5.5.0
# via google-auth
certifi==2024.2.2
certifi==2024.8.30
# via
# httpcore
# httpx
# requests
charset-normalizer==3.3.2
charset-normalizer==3.4.0
# via requests
click==8.1.7
# via
Expand All @@ -34,69 +32,67 @@ colorama==0.4.6
# uvicorn
defusedxml==0.7.1
# via munro (pyproject.toml)
dnspython==2.6.1
dnspython==2.7.0
# via email-validator
docstring-parser==0.16
# via targ
email-validator==2.1.1
email-validator==2.2.0
# via pydantic
fastapi==0.112.0
fastapi==0.115.4
# via munro (pyproject.toml)
google-auth==2.33.0
google-auth==2.35.0
# via munro (pyproject.toml)
h11==0.14.0
# via
# httpcore
# uvicorn
httpcore==1.0.5
httpcore==1.0.6
# via httpx
httptools==0.6.1
httptools==0.6.4
# via uvicorn
httpx==0.27.0
httpx==0.27.2
# via munro (pyproject.toml)
icalendar==5.0.13
icalendar==6.0.1
# via munro (pyproject.toml)
idna==3.6
idna==3.10
# via
# anyio
# email-validator
# httpx
# requests
inflection==0.5.1
# via piccolo
jinja2==3.1.3
jinja2==3.1.4
# via piccolo
lxml==5.2.2
lxml==5.3.0
# via munro (pyproject.toml)
markupsafe==2.1.5
markupsafe==3.0.2
# via jinja2
mypy-extensions==1.0.0
# via black
packaging==24.0
packaging==24.1
# via black
pathspec==0.12.1
# via black
piccolo==0.119.0
# via munro (pyproject.toml)
platformdirs==4.2.0
platformdirs==4.3.6
# via black
pyasn1==0.6.0
pyasn1==0.6.1
# via
# pyasn1-modules
# rsa
pyasn1-modules==0.4.0
pyasn1-modules==0.4.1
# via google-auth
pydantic==1.10.15
pydantic==1.10.18
# via
# fastapi
# piccolo
python-dateutil==2.9.0.post0
# via icalendar
python-dotenv==1.0.1
# via uvicorn
pytz==2024.1
# via icalendar
pyyaml==6.0.1
pyyaml==6.0.2
# via uvicorn
requests==2.32.3
# via munro (pyproject.toml)
Expand All @@ -108,24 +104,24 @@ sniffio==1.3.1
# via
# anyio
# httpx
soupsieve==2.5
soupsieve==2.6
# via beautifulsoup4
starlette==0.37.2
starlette==0.41.2
# via fastapi
targ==0.4.0
# via piccolo
typing-extensions==4.11.0
typing-extensions==4.12.2
# via
# fastapi
# piccolo
# pydantic
urllib3==2.2.1
tzdata==2024.2
# via icalendar
urllib3==2.2.3
# via requests
uvicorn==0.30.5
uvicorn==0.32.0
# via munro (pyproject.toml)
uvloop==0.19.0; platform_system != "Windows"
# via uvicorn
watchfiles==0.21.0
watchfiles==0.24.0
# via uvicorn
websockets==12.0
websockets==13.1
# via uvicorn
2 changes: 1 addition & 1 deletion backend/runtime.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
python-3.11
python-3.12
Loading

0 comments on commit 977196e

Please sign in to comment.