Summary: | dev-db/pgadmin4-4.30 does not start after dev-python/flask-security-4.0.0 upgrade | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Chris Mayo <aklhfex> |
Component: | Current packages | Assignee: | PgSQL Bugs <pgsql-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bonverza, burcheri.massimo+bugs-gentoo, dave.knippers, goran.muzevic, O01eg, sam, treecleaner |
Priority: | Normal | Keywords: | PMASKED |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://redmine.postgresql.org/issues/6225 | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=817350 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 794460 | ||
Bug Blocks: | 722500 |
Description
Chris Mayo
2021-03-05 19:31:40 UTC
Okay, so temporarily, let's restore the old flask-security. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1358219ccb2ffc10e71de5f9bd366dcefa01764 commit d1358219ccb2ffc10e71de5f9bd366dcefa01764 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-03-05 19:50:32 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-03-05 19:50:32 +0000 dev-db/pgadmin4: depend on older flask-security Bug: https://bugs.gentoo.org/774348 Signed-off-by: Sam James <sam@gentoo.org> dev-db/pgadmin4/{pgadmin4-4.29.ebuild => pgadmin4-4.29-r1.ebuild} | 2 +- dev-db/pgadmin4/{pgadmin4-4.30.ebuild => pgadmin4-4.30-r1.ebuild} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=216788b8971288109b491caa843293e2d85ea19b commit 216788b8971288109b491caa843293e2d85ea19b Author: Sam James <sam@gentoo.org> AuthorDate: 2021-03-05 19:49:06 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-03-05 19:49:06 +0000 dev-python/flask-security: Revert "Remove old" This reverts commit 5eb38e39bb838415ba4cd33ce58fbfc7ba44a1dc. Some applications need <4.0, it seems. Bug: https://bugs.gentoo.org/774348 Signed-off-by: Sam James <sam@gentoo.org> dev-python/flask-security/Manifest | 2 + .../files/flask-security-3.4.3-optional-deps.patch | 63 ++++++++++++++++++ .../flask-security/flask-security-3.4.4.ebuild | 74 ++++++++++++++++++++++ .../flask-security/flask-security-3.4.5.ebuild | 74 ++++++++++++++++++++++ 4 files changed, 213 insertions(+) I still have problems starting pgAdmin4. I tried dev-db/pgadmin4-4.29-r1 and dev-db/pgadmin4-4.30-r1. Both start the server but I get an error: Failed to launch the application server, server thread exiting. Traceback (most recent call last): File "/usr/share/pgadmin4/web/pgAdmin4.py", line 94, in <module> app = create_app() File "/usr/share/pgadmin4/web/pgadmin/__init__.py", line 630, in create_app app.register_blueprint(module) File "/usr/lib/python3.9/site-packages/flask/scaffold.py", line 56, in wrapper_func return f(self, *args, **kwargs) File "/usr/lib/python3.9/site-packages/flask/app.py", line 1030, in register_blueprint blueprint.register(self, options) File "/usr/share/pgadmin4/web/pgadmin/utils/__init__.py", line 66, in register super(PgAdminModule, self).register(app, options, first_registration) TypeError: register() takes 3 positional arguments but 4 were given I have dev-python/flask-2.0.1 and dev-python/flask-security-3.4.5. I had the same error as #c3 and fixed solved it by downgrading dev-python/flask to 1.1.4 The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ad4f65b9ef246089028b4f6a9e928d8998f8ed1 commit 6ad4f65b9ef246089028b4f6a9e928d8998f8ed1 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-08-18 19:48:59 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-08-18 19:48:59 +0000 dev-db/pgadmin4: depend on older Flask Bug: https://bugs.gentoo.org/774348 Signed-off-by: Sam James <sam@gentoo.org> dev-db/pgadmin4/{pgadmin4-4.29-r1.ebuild => pgadmin4-4.29-r2.ebuild} | 2 +- dev-db/pgadmin4/{pgadmin4-4.30-r1.ebuild => pgadmin4-4.30-r2.ebuild} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) This seems also related to https://redmine.postgresql.org/issues/6088 The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b0fa104cddcbb9dd7bca9351c2de58703939fcf commit 8b0fa104cddcbb9dd7bca9351c2de58703939fcf Author: Jakov Smolić <jsmolic@gentoo.org> AuthorDate: 2022-06-19 08:51:37 +0000 Commit: Jakov Smolić <jsmolic@gentoo.org> CommitDate: 2022-06-19 08:51:53 +0000 dev-db/pgadmin4: treeclean Closes: https://bugs.gentoo.org/794460 Closes: https://bugs.gentoo.org/836282 Closes: https://bugs.gentoo.org/774348 Closes: https://bugs.gentoo.org/766378 Closes: https://bugs.gentoo.org/817350 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org> dev-db/pgadmin4/Manifest | 2 - dev-db/pgadmin4/files/pgadmin4.desktop | 11 --- dev-db/pgadmin4/metadata.xml | 8 -- dev-db/pgadmin4/pgadmin4-4.29-r3.ebuild | 130 ------------------------------- dev-db/pgadmin4/pgadmin4-4.30-r3.ebuild | 132 -------------------------------- profiles/package.mask | 6 -- 6 files changed, 289 deletions(-) |