Skip to content

fix: remove old backends elixir, lifescience_eosc - #2229

Merged
nijel merged 1 commit into
python-social-auth:masterfrom
vyskocilpavel:pvysk/remove_old_backends
Nov 30, 2026
Merged

nijel merged 1 commit into
python-social-auth:masterfrom
vyskocilpavel:pvysk/remove_old_backends

Conversation

@vyskocilpavel

Copy link
Copy Markdown
Contributor

Use LifeScienceOpenIdConnect instead

@vyskocilpavel

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-30T15:57:00.056915Z 0644392 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a07517a9b0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread CHANGELOG.md Outdated
### Removed

- Remove the ELIXIR AAI (`elixir`) and Life Science EOSC (`life_science_eosc`)
OpenID Connect backends. Use LifeScienceOpenIdConnect instead (`life_science`).

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Add migration guidance for the removed backend names

For deployments that still list either removed class, the old dotted backend path now fails to import; deployments using backend-prefixed credentials must also change the settings prefix to life_science. This changelog pointer does not explain the configuration or client-registration migration, or whether the old ELIXIR issuer remains supported. Add that guidance to the backend/config page in social-docs before removing these public paths.

AGENTS.md reference: AGENTS.md:L70-L73

Useful? React with 👍 / 👎.

@codecov

codecov Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.65%. Comparing base (68bff69) to head (0644392).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2229      +/-   ##
==========================================
- Coverage   97.65%   97.65%   -0.01%     
==========================================
  Files         383      379       -4     
  Lines       27543    27470      -73     
  Branches     1709     1709              
==========================================
- Hits        26898    26825      -73     
  Misses        433      433              
  Partials      212      212              
Flag Coverage Δ
unittests 97.65% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@nijel

nijel commented Nov 12, 2026

Copy link
Copy Markdown
Member

Can you please also update documentation in https://github.com/python-social-auth/social-docs/?

@vyskocilpavel
vyskocilpavel marked this pull request as draft November 19, 2026 22:44
ELIXIR AAI has been replaced by Life Science Login, and the
life_science_eosc backend was a temporary configuration for the EOSC
federation that uses the same Life Science Login endpoint as the
life_science backend. Keeping the duplicates only adds maintenance and
test surface.

Deployments should switch to LifeScienceOpenIdConnect (life_science) and
follow the migration steps in the social-docs Life Science backend page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@martenson

Copy link
Copy Markdown

@nijel I've taken over from @vyskocilpavel This PR is now rebased on top of master and the prepared docs PR is here: (python-social-auth/social-docs#661).

@nijel Please trigger the CI checks
@vyskocilpavel please take the PR out of draft

@nijel
nijel marked this pull request as ready for review November 30, 2026 15:54

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 8 files

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="CHANGELOG.md">

<violation number="1" location="CHANGELOG.md:19">
P2: This migration link targets a nonexistent `migrating-from-removed-backends` anchor, so users upgrading from either removed backend cannot reach the promised instructions. Add that section and anchor in `social-docs`, or point this link at an existing migration page.</violation>
</file>

Reply to a comment to ask cubic a question or push back. It learns from your replies.

Re-trigger cubic

Comment thread CHANGELOG.md
`social_core.backends.lifescience_eosc.LifeScienceEoscOpenIdConnect` with
`social_core.backends.lifescience.LifeScienceOpenIdConnect` (`life_science`)
and follow the
[migration steps](https://python-social-auth.readthedocs.io/en/latest/backends/lifescience.html#migrating-from-removed-backends).

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: This migration link targets a nonexistent migrating-from-removed-backends anchor, so users upgrading from either removed backend cannot reach the promised instructions. Add that section and anchor in social-docs, or point this link at an existing migration page.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At CHANGELOG.md, line 19:

<comment>This migration link targets a nonexistent `migrating-from-removed-backends` anchor, so users upgrading from either removed backend cannot reach the promised instructions. Add that section and anchor in `social-docs`, or point this link at an existing migration page.</comment>

<file context>
@@ -7,6 +7,17 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
+  `social_core.backends.lifescience_eosc.LifeScienceEoscOpenIdConnect` with
+  `social_core.backends.lifescience.LifeScienceOpenIdConnect` (`life_science`)
+  and follow the
+  [migration steps](https://python-social-auth.readthedocs.io/en/latest/backends/lifescience.html#migrating-from-removed-backends).
+
 ## [7.3.0](https://github.com/python-social-auth/social-core/releases/tag/7.3.0) - 2026-11-27
</file context>

@nijel
nijel enabled auto-merge (rebase) November 30, 2026 15:59
@nijel nijel self-assigned this Nov 30, 2026
@nijel

nijel commented Nov 30, 2026

Copy link
Copy Markdown
Member

Scheduled for merge, thanks for your contribution!

@nijel
nijel merged commit 7be9bad into python-social-auth:master Nov 30, 2026
19 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants