Skip to content

chore: migrate to mediavocab 1.0#10

Open
JarbasAl wants to merge 1 commit into
devfrom
feat/mediavocab-1.0-migration
Open

chore: migrate to mediavocab 1.0#10
JarbasAl wants to merge 1 commit into
devfrom
feat/mediavocab-1.0-migration

Conversation

@JarbasAl

Copy link
Copy Markdown
Collaborator

Summary

  • Bumps mediavocab>=1.0.0 pin
  • Renames the modality axis to playback_type (PlaybackModalityPlaybackType, infer_modalityinfer_playback_type, Signals.modalitySignals.playback_type, provider modality ClassVar → playback_type)
  • Adapts to 1.0 API tightenings: Work.extra / Entity.extra now Dict[str, str]; Entity(ORGANISATION) requires org_kind; Work.country split into production_country / publication_country / broadcaster_country; Release.variant_kind removed (Work-only); VariantKind.{REGIONAL,DELUXE,BOOTLEG,…} moved to ReleasePackaging; Stream.media_typeStream.kind; programme-format genre constants removed — use literal strings or ProgrammeFormat.

Test plan

  • pytest -x -q passes locally against mediavocab 1.0.0

🤖 Generated with Claude Code

- bump pin: mediavocab>=1.0.0
- rename PlaybackModality → PlaybackType, infer_modality →
  infer_playback_type, Signals.modality / provider ClassVar →
  playback_type
- adapt to 1.0 API tightenings where present: Work.extra /
  Entity.extra now Dict[str, str]; Entity(ORGANISATION) requires
  org_kind; Work country split into production_country /
  publication_country / broadcaster_country; Release.variant_kind
  removed (Work-only); VariantKind.{REGIONAL,DELUXE,BOOTLEG,…} moved
  to ReleasePackaging; Stream.media_type → Stream.kind; programme
  formats (news / talk_show / sports / documentary / concert) no
  longer in genre constants — use literal strings or ProgrammeFormat.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented May 11, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@JarbasAl has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 59 minutes and 59 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: fbb957af-b985-49c8-9ad8-d5b032b77858

📥 Commits

Reviewing files that changed from the base of the PR and between bf3c089 and 89bdc5c.

📒 Files selected for processing (3)
  • media_archivist/canonicalize.py
  • pyproject.toml
  • test/test_disambiguation.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/mediavocab-1.0-migration

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions

github-actions Bot commented May 11, 2026

Copy link
Copy Markdown

I've processed your PR. Here's what the automation found! ⚙️

I've aggregated the results of the automated checks for this PR below.

🔍 Lint

Checking if there's anything else we need to do. 📋

ruff: issues found — see job log

⚖️ License Check

Ensuring our licenses are consistent and clear. 📄

❌ License violations detected (42 packages) — review required before merging.

Dependency                          License Name                                            License Type         Misc                                    
internetarchive:5.8.0               GNU Affero General Public License v3                    NetworkCopyleft                                              
tqdm:4.67.3                         MPL-2.0 AND MIT                                         WeakCopyleft                                                 

License Type                        Found                                                  
NetworkCopyleft                     1                                                      
WeakCopyleft                        1

License distribution: 11× MIT, 11× MIT License, 7× Apache-2.0, 3× BSD-3-Clause, 2× Apache Software License, 2× BSD License, 1× Apache-2.0 OR BSD-2-Clause, 1× BSD-2-Clause, +4 more

Full breakdown — 42 packages
Package Version License URL
annotated-types 0.7.0 MIT License link
beautifulsoup4 4.14.3 MIT License link
bs4 0.0.2 MIT License
build 1.5.0 MIT link
certifi 2026.4.22 Mozilla Public License 2.0 (MPL 2.0) link
cffi 2.0.0 MIT link
charset-normalizer 3.4.7 MIT link
combo_lock 0.3.1 Apache-2.0 link
curl_cffi 0.15.0 MIT link
filelock 3.29.0 MIT link
idna 3.14 BSD-3-Clause link
internetarchive 5.8.0 GNU Affero General Public License v3 link
json-database 0.10.1 MIT link
jsonpatch 1.33 BSD License link
jsonpointer 3.1.1 BSD License link
lxml 6.1.0 BSD-3-Clause link
markdown-it-py 4.2.0 MIT License link
mdurl 0.1.2 MIT License link
media_archivist 0.1.1a1 Apache-2.0 link
mediavocab 1.0.1a1 Apache Software License link
memory-tempfile 2.2.3 MIT License link
metadatarr 0.1.0 MIT License link
nuvem_de_som 0.0.2 Apache-2.0 link
packaging 26.2 Apache-2.0 OR BSD-2-Clause link
py_bandcamp 0.7.1 Apache-2.0 link
pycparser 3.0 BSD-3-Clause link
pydantic 2.13.4 MIT link
pydantic_core 2.46.4 MIT link
pyfanedit 0.1.1 Apache-2.0 link
Pygments 2.20.0 BSD-2-Clause link
pymetal 1.0.1 Apache-2.0 link
pyproject_hooks 1.2.0 MIT License link
random-user-agent 1.0.1 MIT License link
requests 2.33.1 Apache Software License link
rich 15.0.0 MIT License link
soupsieve 2.8.3 MIT link
tqdm 4.67.3 MPL-2.0 AND MIT link
tutubo 4.0.0 Apache-2.0 link
typing-inspection 0.4.2 MIT link
typing_extensions 4.15.0 PSF-2.0 link
urllib3 2.7.0 MIT link
ytmusicapi 1.12.0 MIT License link

Policy: Apache 2.0 (universal donor). StrongCopyleft / NetworkCopyleft / WeakCopyleft / Other / Error categories fail. MPL allowed.

🔒 Security (pip-audit)

Checking for any insecure data transmissions. 📡

✅ No known vulnerabilities found (60 packages scanned).

📋 Repo Health

Ensuring the repo isn't allergic to new features. 🤧

⚠️ Some required files are missing.

Latest Version: 0.1.1a1

media_archivist/version.py — Version file
README.md — README
LICENSE — License file
pyproject.toml — pyproject.toml
⚠️ setup.py — setup.py
CHANGELOG.md — Changelog
media_archivist/version.py has valid version block markers

🔨 Build Tests

Testing the load-bearing capacity of your changes. 🏋️

Python Build Install Tests
3.10 ⚠️
3.11 ⚠️
3.12 ⚠️

❌ 3.10: Install OK, tests failed
❌ 3.11: Install OK, tests failed
❌ 3.12: Install OK, tests failed
Check job logs for details.


May your merges be conflict-free! 🕊️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant