Upgrade requirements September 2022#7064
Conversation
The upgrade causes several auth related errors in functional tests
* docutils pinnned at 0.17 because sphinx-rtd-theme doesn't support a bigger version
* pytest-factoryboy pinnned at 2.4.0 because on 2.5.0 we get:
File "/home/adria/dev/pyenvs/ckan-py3/src/ckan/ckan/tests/pytest_ckan/fixtures.py", line 98, in <module>
register(factories.Sysadmin, "sysadmin")
File "/home/adria/dev/pyenvs/ckan-py3/lib/python3.8/site-packages/pytest_factoryboy/fixture.py", line 124, in register
assert model_name != factory_name, (
AssertionError: Naming collision for <Sysadmin for <class 'ckan.model.user.User'>>:
* factory fixture name: sysadmin
* model fixture name: sysadmin
Please provide different name for model fixture.
assert 'sysadmin' != 'sysadmin'
SQLAlchemy 1.4.2 mixed model.Package and model.PackageExtra as both have a state column
lxml is a requirement of feedgen, currently unmaintained. Mako is a requirement of alembic, which has its version unpinned
|
Great @amercader ! Thanks for this, looks great and it's good to have CKAN running on latest versions! 🚀 I'm gonna take a look at Flask-Login issue once it's merged to avoid noise in the PR. |
|
hey @amercader @pdelboca I've tested a bit the new I m not sure why we have this behavior, but I will keep digging, and see if I can fix something. Thanks |
ITranslation(see Flask-Babel 2.0.0 breaks ITranslation #6708 and Add support for multiple domains python-babel/flask-babel#194 cc @TkTech )