Commit graph velofy/pyproject.toml
Author SHA1 Message Date
dd50d7a62f
Upgrade pytest-cov 2026-11-25 13:23:14 +01:00
fbb7d078fa
Upgrade pytest 2026-11-25 13:22:31 +01:00
ea3e25a85b
Upgrade pre-commit 2026-11-25 13:21:44 +01:00
705955b38b
Upgrade pandas
Also, replace the deprecated "T" frequency alias with "min",
and access the trend by position with `.iloc`.
2026-11-25 13:16:55 +01:00
6290d280e2
Upgrade numpy 2026-11-25 12:59:24 +01:00
b6f570e13f
Upgrade mypy 2026-11-25 12:58:10 +01:00
746fe023e6
Upgrade matplotlib 2026-11-25 12:57:25 +01:00
ac3251867f
Upgrade isort 2026-11-25 12:54:53 +01:00
3e11980ab0
Upgrade folium 2026-11-25 12:53:32 +01:00
4516f54236
Upgrade flake8-pytest-style 2026-11-25 12:52:36 +01:00
5189a63bc3
Upgrade flake8-annotations 2026-11-25 12:51:00 +01:00
8cbd1fa979
Upgrade autoflake
This needed `flake8` to be upgraded first.
2026-11-25 12:49:47 +01:00
2f085f7450
Upgrade flake8 2026-11-25 12:46:14 +01:00
36264dc49c
Upgrade Faker 2026-11-25 12:46:07 +01:00
c310c335ff
Upgrade click
Since `click` v8.2, a `Group` invoked without a subcommand
exits with status code 2 ("usage error") instead of 0.
2026-11-25 12:45:59 +01:00
5710d12e21
Upgrade black
Pin to the 2025 series to keep the 2 lines after the `import`s.
Also, target Python 3.13.
2026-11-25 12:45:51 +01:00
5519c9030c
Upgrade alembic 2026-11-25 12:18:04 +01:00
6af7c4437d
Remove wemake-python-styleguide
No 0.x release of `wemake-python-styleguide` runs on Python 3.12+.

The current version pins `flake8-commas` to v2.x,
which crashes on the new f-string tokenizer.

The 1.x releases no longer bundle the `flake8` plug-ins this project uses.

The plug-ins are added back explicitly, one by one, on a separate branch.
2026-11-25 12:13:43 +01:00
042256eb99
Switch to Python 3.13
All checks were successful
CI / Tests (Python 3.13) (push) Successful in 1m17s
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
d54f94a998
Upgrade pre-commit
All checks were successful
CI / Tests (Python 3.8) (push) Successful in 1m24s
2026-11-25 11:01:35 +01:00
359d7be62a
Upgrade nox
The sessions in `noxfile.py` do not work since the migration to
Poetry 2: they use `poetry install --no-dev` and `poetry export`,
which Poetry 2 removed or moved into a plugin. The sessions are
reworked together with the other development tools.
2026-11-25 10:59:03 +01:00
9eecd371bc
Upgrade sphinx and sphinx-autodoc-typehints 2026-11-25 10:51:36 +01:00
94df768f74
Widen the version ranges for autoflake ...
... and two flake8 plugins

On Python 3.8, the three packages stay at the newest versions that work
with `flake8` v4, which `wemake-python-styleguide` v0.17 requires.
The lock file now also records their newer releases for newer Python versions.
The actual upgrade follows together with the switch to Python 3.13.
2026-11-25 10:44:08 +01:00
ffd72c9987
Upgrade isort
`isort` v5 honors the `single_line_exclusions = typing` setting in
`setup.cfg`, which `isort` v4 ignored.

So, the `typing` imports that were split onto separate lines to satisfy
`isort` v4 are combined again, as the configuration originally intended.
2026-11-25 10:31:24 +01:00
dbdce83067
Upgrade black 2026-11-25 10:30:47 +01:00
b2ce82f431
Upgrade the research extra 2026-11-24 17:29:21 +01:00
d33816302c
Upgrade xdoctest 2026-11-24 17:24:49 +01:00
71544f3088
Upgrade Faker 2026-11-24 17:24:48 +01:00
1d03d09a67
Upgrade factory-boy 2026-11-24 17:24:48 +01:00
b21ae1bf26
Upgrade pytest-mock 2026-11-24 17:24:48 +01:00
af6c639cc1
Upgrade pytest-env 2026-11-24 17:24:47 +01:00
e6130f4253
Upgrade pytest-cov 2026-11-24 17:24:47 +01:00
c895078837
Upgrade pytest 2026-11-24 17:24:43 +01:00
47b56550bc
Upgrade mypy 2026-11-24 17:24:42 +01:00
e94ade4c88
Upgrade wemake-python-styleguide 2026-11-24 17:24:42 +01:00
fb2db07d37
Upgrade sqlalchemy to the latest v1.4 2026-11-24 17:24:41 +01:00
061832faa6
Upgrade pandas 2026-11-24 17:24:35 +01:00
b0cb3b412b
Upgrade folium 2026-11-24 15:27:40 +01:00
d4e8f17f0c
Upgrade click to v8 2026-11-24 15:26:24 +01:00
3e080c71c4
Upgrade shapely to v2 2026-11-24 15:22:58 +01:00
4169da38b1
Upgrade statsmodels 2026-11-24 15:17:07 +01:00
706b0938c2
Upgrade packaging 2026-11-24 12:53:49 +01:00
c7f10f4c7f
Upgrade utm 2026-11-24 12:26:12 +01:00
95c760a0c3
Migrate to Poetry 2 and the standard [project] table
All checks were successful
CI / Tests (Python 3.8) (push) Successful in 1m23s
2026-11-24 11:58:26 +01:00
5cc8a13719
Update the email address 2026-11-24 11:39:14 +01:00
8eb0dda0e1
Point the project URLs and texts to velofy 2026-11-24 10:34:32 +01:00
e7a2d4a3cb
Rename the umd CLI into manage 2026-11-24 10:02:34 +01:00
4855209392
Rename the urban_meal_delivery package into velofy 2026-11-23 18:06:53 +01:00
5eabd541e8
Merge branch 'release-0.4.0' into develop 2021-09-13 11:22:01 +02:00
19d7b6f3cc
Finalize release 0.4.0 2021-09-13 11:20:53 +02:00