Commit graph velofy/poetry.lock
Author SHA1 Message Date
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
685bb872a8
Update all transitive dependencies
All checks were successful
CI / Tests (Python 3.8) (push) Successful in 1m24s
2026-11-25 10:09:42 +01:00
fc3fe900f6
Upgrade scipy 2026-11-25 09:19:42 +01:00
d8d5eecac9
Upgrade alembic 2026-11-25 09:18:19 +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
b7cfdcb1c0
Upgrade sqlalchemy to v2 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
39cf160b95
Upgrade stevedore ...
... to fix the `bandit` plugin for `flake8`
2026-11-24 17:24:40 +01:00
061832faa6
Upgrade pandas 2026-11-24 17:24:35 +01:00
fb912d12bb
Upgrade alembic
All checks were successful
CI / Tests (Python 3.8) (push) Successful in 2m3s
2026-11-24 15:28:51 +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
1db69037ba
Upgrade matplotlib 2026-11-24 15:20:55 +01:00
4224776f60
Upgrade numpy 2026-11-24 15:19:23 +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
4bc87eaf18
Upgrade rpy2 2026-11-24 12:22:24 +01:00
b44fc5f826
Upgrade googlemaps 2026-11-24 12:14:55 +01:00
629e3e6e3d
Upgrade geopy 2026-11-24 12:14:06 +01:00
dfc5cb7fb6
Upgrade ordered-set 2026-11-24 12:13:19 +01:00
9801baadee
Upgrade psycopg2 2026-11-24 12:12:10 +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
2d08afa309
Upgrade sqlalchemy
Adapt code to prevent new warnings and errors (as of SQLAlchemy 1.4):
- Overlapping foreign key columns could be set in a conflicting way
  => This is prevented by the application logic
  => Ignore the warning by setting a `overlaps` flag
- Transaction already rolled back
  => This only happens when tests cause an `IntegrityError` on purpose
  => Filter away the corresponding warning in the fixture
- Query returns `Row` objects and not scalars
  => Add genexpr to pull out `primary_id`
2021-09-12 16:52:51 +02:00
3bef9ca38d
Remove flake8-expression-complexity ...
... from the dev dependencies.

Longer queries in SQLAlchemy get flagged even though they are not
complicated. Other expressions are generally not that complicated.
2021-09-12 16:52:44 +02:00
1268aba017
Pin the dependencies ...
... after upgrading:
- alembic
- geopy
- googlemaps
- psycopg2
- rpy2
- dev dependencies
  + coverage       + darglint      + flake8      + flake8-annotations
  + flake8-black   + flake8-comprehensions       + flake8-docstrings
  + flake8-pytest-style            + pre-commit  + pytest
  + pytest-cov     + pytest-mock   + sphinx      + sphinx-autodoc-typehints
- research dependencies
  + jupyterlab     + matplotlib    + numpy       + pandas
- transient dependencies
  + argcomplete    + argon2-cffi   + attrs       + babel
  + bleach         + certifi       + cffi        + cfgv
  + chardset-normalizer            + colorlog    + debugpy
  + decorator      + defusedxml    + distlib     + geographiclib
  + gitdb          + gitpython     + greenlet    + identify
  + idna           + importlib-resources         + ipykernel
  + ipython        + jinja2        + json5       + jupyter-client
  + kiwisolver     + mako          + markupsafe
  + nbclient       + nbconvert     + nbformat    + nodeenv
  + notebook       + parso         + pathspec    + pbr
  + pillow         + platformdirs  + pluggy      + prometheus-client
  + prompt-toolkit + pycodestyle   + pydocstyle  + pyflakes
  + pygments       + pyristent     + python-dateutil
  + pywin32        + pywinpty      + pyzmq       + regex
  + requests       + scipy         + send2trash  + six
  + smmap          + sphinxcontrib-htmlhelp
  + sphinxcontrib-serializinghtml  + stevedore   + terminado
  + textfixtures   + testpath      + traitlets   + typed-ast
  + typing-extensions              + tzdata      + tzlocal
  + urllib3        + virtualenv    + zipp
2021-09-12 16:51:12 +02:00