Skip to content

Conversation

mbollmann
Copy link
Member

Adapts ingest_pwc.py to use the Python library rather than modify XML directly.

Targets python-dev since the v0.5.3 changes are not merged into master yet, and this also introduces some small modifications to the library.

Resolves #5473 (after the script is run at least once on master).

The rationale for freezing was to indicate that this attribute should never be
modified manually, since it's (over)written by the PwC integration, but that of
course doesn't work if we want the PwC integration itself to go through the
library :)
@mbollmann mbollmann added the python-library Concerning the acl-anthology-py library label Jul 19, 2025
@mbollmann mbollmann linked an issue Jul 19, 2025 that may be closed by this pull request
Copy link

codecov bot commented Jul 19, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.88%. Comparing base (10a9e58) to head (0933466).

Additional details and impacted files
@@              Coverage Diff               @@
##           python-dev    #5482      +/-   ##
==============================================
- Coverage       93.75%   91.88%   -1.87%     
==============================================
  Files              35       35              
  Lines            2851     2823      -28     
==============================================
- Hits             2673     2594      -79     
- Misses            178      229      +51     
Files with missing lines Coverage Δ
python/acl_anthology/collections/paper.py 89.39% <ø> (-3.02%) ⬇️
python/acl_anthology/files.py 100.00% <100.00%> (ø)
python/acl_anthology/utils/attrs.py 98.36% <ø> (ø)
python/acl_anthology/utils/xml.py 95.65% <ø> (-2.61%) ⬇️

... and 3 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mjpost
Copy link
Member

mjpost commented Jul 29, 2025

See note on #5473. The PwC links all resolve to the Github repo.

@mbollmann
Copy link
Member Author

Ah, shoot. I suggest we merge this anyway to have the script in case this integration—or a similar one—goes live again, then we can remove the Github action (and potentially other PwC-related stuff) in a separate PR.

@mbollmann
Copy link
Member Author

On second thought, I think it might be a good idea to remove the PwC-related parts from the Python library for now, and use this PR for that.

@mbollmann mbollmann marked this pull request as draft August 2, 2025 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
python-library Concerning the acl-anthology-py library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants