velofy/tests/db
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Alexander Hess 042256eb99
All checks were successful
CI / Tests (Python 3.13) (push) Successful in 1m17s
Switch to Python 3.13
The dependencies stay in the same series as on Python 3.8
where those support 3.13.

Only the unavoidable upgrades are taken:
 - `matplotlib` to v3.9
 - `numpy` to v2.1
 - `pandas` to v2.2
 - `scipy` (via statsmodels)

Required code changes:
- `numpy` v2.1 prints its scalars as `np.float64(...)`,
  which `psycopg2` then writes into the SQL
  => Adjust `Forecast.from_dataframe()` to convert the
     rounded values into plain `float`s
- Python 3.12 no longer accepts `float`s in `random.randint()`
  => The test factories now pass the seconds as `int`s

CI and `nox` use a `u`v-managed Python, which ships the C headers
needed to build `psycopg2` and `rpy2`.

`flake8` v4 does not run on Python 3.12+
and is upgraded in a future commit.
2026-11-25 11:30:33 +01:00
..
fake_data Switch to Python 3.13 2026-11-25 11:30:33 +01:00
replay Upgrade black 2026-11-25 10:30:47 +01:00
utils Upgrade black 2026-11-25 10:30:47 +01:00
__init__.py Add an ORM layer 2020-08-11 10:28:17 +02:00
test_addresses.py Upgrade black 2026-11-25 10:30:47 +01:00
test_addresses_addresses.py Upgrade black 2026-11-25 10:30:47 +01:00
test_addresses_pixels.py Rename the urban_meal_delivery package into velofy 2026-11-23 18:06:53 +01:00
test_cities.py Rename the urban_meal_delivery package into velofy 2026-11-23 18:06:53 +01:00
test_couriers.py Rename the urban_meal_delivery package into velofy 2026-11-23 18:06:53 +01:00
test_customer.py Rename the urban_meal_delivery package into velofy 2026-11-23 18:06:53 +01:00
test_forecasts.py Upgrade black 2026-11-25 10:30:47 +01:00
test_grids.py Upgrade black 2026-11-25 10:30:47 +01:00
test_orders.py Upgrade black 2026-11-25 10:30:47 +01:00
test_pixels.py Upgrade black 2026-11-25 10:30:47 +01:00
test_restaurants.py Upgrade black 2026-11-25 10:30:47 +01:00