Skip to content

Commit

Permalink
⬆️(project) apply required changes to upgrade dependencies
Browse files Browse the repository at this point in the history
Renovate forces us to add a new commit so that our changes are not
rolled back.
  • Loading branch information
jmaupetit committed Aug 14, 2024
1 parent 74cba0e commit c011b7c
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 13 deletions.
6 changes: 4 additions & 2 deletions src/api/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ and this project adheres to

### Changed

- Upgrade fastapi to `0.111.1`
- Upgrade fastapi to `0.112.0`
- Upgrade geoalchemy2 to `0.15.2`
- Upgrade sentry-sdk to `2.10.0`
- Upgrade pydantic-settings to `2.4.0`
- Upgrade PyJWT to `2.9.0`
- Upgrade sentry-sdk to `2.13.0`
- Switched to Psycopg 3.x

### Fixed
Expand Down
3 changes: 2 additions & 1 deletion src/api/Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@ pyarrow = "==17.0.0"
pydantic-extra-types = {extras = ["all"], version = "==2.9.0"}
pydantic-settings = "==2.4.0"
pyjwt = "==2.9.0"
python-multipart = "==0.0.9"
questionary = "==2.0.1"
sentry-sdk = {extras = ["fastapi"], version = "==2.13.0"}
setuptools = "==72.2.0"
sqlalchemy-timescaledb = "==0.4.1"
sqlmodel = "==0.0.21"
sqlmodel = "==0.0.19"
typer = "==0.12.3"
uvicorn = {extras = ["standard"] }

Expand Down
19 changes: 14 additions & 5 deletions src/api/Pipfile.lock

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

8 changes: 4 additions & 4 deletions src/api/qualicharge/schemas/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,8 @@ class StatiqueSchemasEntryIndex(NamedTuple):
(localisation, localisations),
):
if entry not in entries: # type: ignore[operator]
entries.append(entry) # type: ignore[attr-defined]
indexes.append(entries.index(entry)) # type: ignore[attr-defined]
entries.append(entry) # type: ignore[arg-type]
indexes.append(entries.index(entry)) # type: ignore[arg-type]
statiques_db_refs.append(StatiqueSchemasEntryIndex(*indexes))

# Create database entries for each schema
Expand All @@ -292,9 +292,9 @@ class StatiqueSchemasEntryIndex(NamedTuple):
(enseignes, None),
(localisations, {"adresse_station"}),
):
for idx, entry in enumerate(entries): # type: ignore[arg-type]
for idx, entry in enumerate(entries): # type: ignore[assignment]
_, db_entry = get_or_create(session, entry, fields, add=False)
entries[idx] = db_entry # type: ignore[index]
entries[idx] = db_entry # type: ignore[call-overload]
session.add_all(entries) # type: ignore[arg-type]

# Handle relationships
Expand Down
2 changes: 1 addition & 1 deletion src/client/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ and this project adheres to
### Changed

- Upgrade Pydantic to `2.7.4`
- Upgrade pydantic-settings to `2.3.3`
- Upgrade pydantic-settings to `2.4.0`

## [0.1.0] - 2024-06-14

Expand Down

0 comments on commit c011b7c

Please sign in to comment.