Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Revert Flask requirement back to 2.0.3#7082

Merged
amercader merged 2 commits into
ckan:masterfrom
pdelboca:revert-flask-2.2.2-requirement-upgrade
Sep 14, 2022
Merged

Revert Flask requirement back to 2.0.3#7082
amercader merged 2 commits into
ckan:masterfrom
pdelboca:revert-flask-2.2.2-requirement-upgrade

Conversation

@pdelboca
Copy link
Copy Markdown
Member

@pdelboca pdelboca commented Sep 14, 2022

This PR fixes an mistake made when merging #7064

Proposed Fixes

Even when the PR with updated requirements works (#7064) the requirements.in and requirements.txt file are not sync. (executing pip-compile returns a different requirements.txt file).

This is causing master to work with requirements.txt but it will fail when compiling a new one. Looks like b685d64 added the requirement, but never compiled.

I'm creating this PR to revert Flask requirements to 2.0.3 since running CKAN with 2.2.2 does not work.

@amercader
Copy link
Copy Markdown
Member

This is annoying, sorry about the pip-compile confusion.

Looks like we need to upgrade Flask-login to 0.6.2 to support Flask 2.2.x, but apart from the auth failures mentioned in #7064 looks like also there are also failures in Flask-multistatic, which doesn't look like it's maintained. We better revisit this after 2.10 is released. Can you create an issue with the details @pdelboca ?

Also no need to add a changelog file for changes within the same version

@amercader amercader merged commit 81715e8 into ckan:master Sep 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants