-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TagBot experienced an unexpected internal failure, AssertionError: unsupported encoding: none #350
Comments
* Add new tests for Segment * Bump patch version * Add test verbose and showtimings * Complete TODO action * Add tests for alternate FP types * Fix typo and add more alt FP test coverage * Fix typo * Bugfix * Bugfix - missing N for Gauss-Legendre rules * Bugfix - missing unit exponents * Mark type tests broken, named f32, increase GL rule N * Fix typo * Reduce N for GL rules, add looser atol's for F32 results * Tweak tolerances * Split tests into new set [skip ci] * Implement new tests for Rope * Bugfix * Math correction * Add new tests for Ring * Bugfixes * Bugfix * Remove Ring from old tests * Bugfix * Reorganize alt FP tests * Fix atol value, abstract testset with a loop * Remove unnecessary begin * Abstract FP type, split aliases into separate set * Update types * Add BigFloat tests * Conditional broken statement * Enhance integral docstring, add sub-FP64 warning * Improved argument explanation Co-authored-by: Joshua Lampert <[email protected]> * Drop an explicit showtimings Co-authored-by: Joshua Lampert <[email protected]> * Remove redundant showtimings * Add a type-dependent atol * Add note about BigFloat --------- Co-authored-by: Joshua Lampert <[email protected]>
We are experiencing the same in https://github.com/mikeingold/MeshIntegrals.jl/actions/runs/10978119797/job/30480877628#step:3:64. |
I checked the latest package releases and it seems like since this PR (see https://github.com/nflverse/NFLData.jl/actions/runs/10976230101/job/30476748926#step:3:64) TagBot failed every time. |
What AI thinks the issue could be
I just updated our deps to latest https://github.com/JuliaRegistries/TagBot/releases/tag/v1.19.5 |
@simeonschaub reported it's still happening on that new release https://github.com/JuliaLabs/AztecDiamonds.jl/actions/runs/10981139085/job/30488183323#step:2:1 |
It may be informative that CI here is passing, but this is failing in the wild, if we can figure out what the difference is. |
hmmm.. this smells like it might be taking testing off into a different state than normal use Lines 88 to 94 in 4820024
|
I believe we're running into issues because In [24]: from github import Github, Auth
In [25]: auth = Auth.Token(token)
In [26]: g = Github(auth=auth)
In [27]: repo = g.get_repo("JuliaRegistries/General")
In [28]: registry_toml = repo.get_contents("Registry.toml")
In [29]: registry_toml.encoding
Out[29]: 'none' See https://docs.github.com/en/rest/repos/contents?apiVersion=2022-11-28#get-repository-content:
|
Yes, that makes very much sense! I checked that before this commit the size of Registry.toml was below 1MB and after that it is above 1MB. This is the same commit, where TagBot started to fail. |
!!! This is untested! This is according to PyGithub/PyGithub#2345 (comment) Locally I tested that the following works correctly: ```python In [24]: from github import Github, Auth In [25]: auth = Auth.Token(token) In [26]: g = Github(auth=auth) In [27]: repo = g.get_repo("JuliaRegistries/General") In [28]: registry_toml = repo.get_contents("Registry.toml") In [39]: blob = repo.get_git_blob(registry_toml.sha) In [40]: b64 = base64.b64decode(blob.content) In [41]: b64.decode("utf8") ```
I think I found a potential fix in #356. I guess to actually test it in the wild we'll need to tag a new release with that change? |
* Try fixing #350 !!! This is untested! This is according to PyGithub/PyGithub#2345 (comment) Locally I tested that the following works correctly: ```python In [24]: from github import Github, Auth In [25]: auth = Auth.Token(token) In [26]: g = Github(auth=auth) In [27]: repo = g.get_repo("JuliaRegistries/General") In [28]: registry_toml = repo.get_contents("Registry.toml") In [39]: blob = repo.get_git_blob(registry_toml.sha) In [40]: b64 = base64.b64decode(blob.content) In [41]: b64.decode("utf8") ``` * Update test_repo.py * fix formatting
Thanks. New patch release just cut with that fix. Please confirm it fixes it. |
Seems to work: https://github.com/mikeingold/MeshIntegrals.jl/actions/runs/10993022532/job/30518618465. Thanks a lot @simeonschaub and @IanButterworth! |
For me as well https://github.com/PumasAI/SummaryTables.jl/actions/runs/10992929480/job/30518753493, thanks for the quick fix! |
Thank you for fixing it so quickly ! |
In Groebner.jl, TagBot produces "TagBot experienced an unexpected internal failure" accompanied by the message "AssertionError: unsupported encoding: none":
https://github.com/sumiya11/Groebner.jl/actions/runs/10978120022/job/30480878080#step:3:82
Seemed to work fine previously: sumiya11/Groebner.jl#15 (comment)
Not sure if this is a problem in Groebner or something went wrong in TagBot. Any help is appreciated; thanks !
The text was updated successfully, but these errors were encountered: