Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 14, 2025

Reverts changes that attempted to reconcile the renderer name mismatch between api.py (returns "citeproc-py") and tests (expect "citeproc"). The attempted fix introduced additional logic and modified both sides, but caused failures.

Reverted changes:

  • api.py: Returns "citeproc-py" in renderer metadata (original behavior)
  • tests/unit/test_rendering.py: Expects "citeproc" in assertions (original behavior)
  • Removed helper functions _prepare_citeproc_entries() and _resolve_csl_style()
  • Removed modified iteration logic (for item_id in sourcefor item in source.items)

Current state:
Tests now fail with the original mismatch. This revert establishes a clean baseline for a proper fix.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI changed the title [WIP] Add missing dependency and improve testing for bibliography Revert citeproc renderer name changes causing test failures Dec 14, 2025
Copilot AI requested a review from dosumis December 14, 2025 15:13
@dosumis dosumis marked this pull request as ready for review December 14, 2025 15:17
@dosumis dosumis merged commit 7ef9526 into ID_lookup_fix Dec 14, 2025
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