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
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
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
6636e56ec8
Upgrade flake8-pytest-style
...
The newly introduced "P023" error code must be disabled explicitly.
2021-09-12 16:51:11 +02:00
fa3b761054
Remove pytest-randomly from the dev dependencies
...
- problem: because of the randomization of test cases, every once in a
while, the schema holding the test db already exists and cannot be
created a second time (background: we run all tests against a db
created with `metadate.create_all()` by SQLAlchemy at once and
a db created by running all incremental Alchemy migration scripts)
- quick fix: possible, we could find a way to run all tests against
one of the two test db's in random order and then against the other
=> in the interest of time, we simply do not randomize the test cases
2021-09-12 16:51:11 +02:00
5e9307523c
Add ordered-set to the dependencies
2021-09-12 16:51:10 +02:00
28368cc30a
Add geopy to the dependencies
2021-09-12 16:51:09 +02:00
3dd848605c
Add googlemaps to the dependencies
2021-09-12 16:51:09 +02:00
0da86e5f07
Pin the dependencies ...
...
... after upgrading:
- alembic
- matplotlib
- pandas
- rpy2
- sqlalchemy
- statsmodels
- dev dependencies
+ coverage + factory-boy + faker + nox
+ packaging + pre-commit + flake8-annotations + pytest
+ pytest-cov + sphinx
- research dependencies
+ numpy + pyty
- transient dependencies
+ astpretty + atomicwrites + bleach + chardet
+ colorlog + darglint + flake8-comprehensions + gitpython
+ identify + ipykernel + ipython + jedi
+ jinja2 + jupyter-client + jupyter-core + mako
+ nbformat + nest-asyncio + notebook + parso
+ pluggy + prompt-toolkit + ptyprocess + pygments
+ pyyaml + pyzmq + requests + smmap
+ terminado + textfixtures + snowballstemmer + typed-ast
+ urllib3 + virtualenv
- fix SQL statements written in raw text
2021-02-04 13:12:47 +01:00
6429165aaf
Add statsmodels to the dependencies
2021-01-31 18:24:03 +01:00
f36fffdd4d
Add pytest-mock to the dev dependencies
2021-01-24 18:32:07 +01:00
a1da1e9af8
Add matplotlib to the dependencies
2021-01-21 17:15:39 +01:00
2339100371
Add folium to the dependencies
2021-01-21 11:47:22 +01:00
b0f2fdde10
Add rpy2 to the dependencies
...
- add a Jupyter notebook that allows to install all project-external
dependencies regarding R and R packages
- adjust the GitHub Action workflow to also install R and the R packages
used within the project
- add a `init_r` module that initializes all R packages globally
once the `urban_meal_delivery` package is imported
2021-01-11 16:06:58 +01:00
9196c88ed4
Remove pylint from the project
2021-01-09 17:47:45 +01:00
d5b3efbca1
Add aggregate_orders() function
...
- the function queries the database and aggregates the ad-hoc orders
by pixel and time steps into a demand time series
- implement "heavy" integration tests for `aggregate_orders()`
- make `pandas` a package dependency
- streamline the `Config`
2021-01-07 23:35:13 +01:00
755677db46
Add utm to the dependencies
2021-01-01 17:59:15 +01:00
556b9d36a3
Add shapely to the dependencies
2020-12-30 17:37:51 +01:00
416a58f9dc
Add geopy to the dev dependencies
2020-12-28 15:52:08 +01:00
2ddd430534
Add Faker to the dev dependencies
2020-12-15 19:07:14 +01:00
8345579b6c
Add factory_boy to the dev dependencies
2020-12-15 12:23:45 +01:00
0aefa22666
Integrate pytest-randomly into the test suite
...
As a lot of the integration tests populate the database with test data,
it is deemed safer to run the tests in random order to uncover potential
dependencies between distinct test cases.
Because of how the `db_session` fixture is designed, this should already
be taken care of.
2020-12-15 11:35:05 +01:00
9ee9c04a69
Remove python-dotenv from the dependencies
...
zsh-dotenv automatically loads the environment variables upon entering
the project's root.
2020-12-14 14:26:12 +01:00
570cb0112e
Pin the dependencies ...
...
... after upgrading:
- dev dependencies
+ packaging
+ pre-commit
+ pytest
+ sphinx
- research dependencies
+ pandas
- transient dependencies
+ appnode + argcomplete + babel + bandit
+ certifi + cffi + colorlog + darglint
+ identify + ipykernel + jupyter-core + nest-asyncio
+ pathspec + prometheus-client + py + pygments
+ pywin32 + pyzmq + regex + requests
+ restructedtext-lint + stevedore + testfixtures
+ urllib3 + virtualenv
2020-12-14 13:54:26 +01:00
03e498cab9
Pin the dependencies ...
...
... after upgrading:
- sqlalchemy
- dev dependencies
+ darglint
+ flake8(-comprehensions)
+ pre-commit
+ pytest
+ sphinx(-autodoc-typehints)
- reseach dependencies
+ jupyterlab
+ numpy
+ pandas
+ pytz
- transient dependencies
+ attrs
+ colorama
+ gitpython
+ identify
+ iniconfig
+ ipython
+ nbclient
+ nbconvert
+ nbformat
+ nest-asyncio
+ notebook
+ pandocfilters
+ pbr
+ prompt-toolkit
+ pygments
+ regex
+ testfixtures
+ toml
+ tornado
+ traitlets
+ urllib3
+ virtualenv
2020-11-07 16:25:18 +01:00