Conversation
but note the new tunebook websites have the ABCs stored differently (in script tags)
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #112 +/- ##
==========================================
+ Coverage 94.56% 94.96% +0.39%
==========================================
Files 16 16
Lines 1841 1925 +84
==========================================
+ Hits 1741 1828 +87
+ Misses 100 97 -3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the Eskin and Bill Black source integrations to match upstream URL changes, adds extraction support for the newer Eskin tunebook HTML structure, and introduces retry-capable HTTP sessions to reduce flakiness when fetching remote data.
Changes:
- Updated Eskin tunebook URL mappings and added a 2026-era HTML extractor with group parsing.
- Updated Bill Black “alltunes” URLs/file naming and switched network calls to use a shared retrying session.
- Adjusted tests, docs, and release notes to reflect the upstream changes.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
tests/test_sources.py |
Switches tests to use module sessions (retry/UA) and updates expectations for new group/file listings. |
pyproject.toml |
Adds urllib3 to the sources optional dependency set (used for Retry). |
pyabc2/sources/eskin.py |
Updates Eskin URL keys, adds retrying session, and adds new HTML extraction for 2026 pages with fallback logic. |
pyabc2/sources/bill_black.py |
Updates alltunes endpoints/filenames and adds retrying session used by the downloader. |
pyabc2/sources/bill_black_tunefolders.py |
Reuses Bill Black session helper and updates referenced URLs in module docs. |
docs/examples/sources.ipynb |
Updates example query to match new Eskin group naming. |
docs/changes.md |
Adds an unreleased release-note entry for these source updates. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
might as well Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
just got 415's again in a CI run
Eskin ended up making a CI run take 149m and still fail
Comment on lines
+367
to
+372
| abc_lines = [] | ||
| for line in abc_raw.splitlines(): | ||
| line = line.strip() | ||
| if not line or line.startswith("%"): | ||
| continue | ||
| abc_lines.append(line) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.