Skip to content

Conversation

rcolfin
Copy link
Contributor

@rcolfin rcolfin commented Oct 16, 2024

Integrating with pytest.

Updating types.

@GitBib
Copy link
Owner

GitBib commented Oct 16, 2024

Thanks a ton for your contribution to the library! I'll definitely check out the changes you suggested soon.

@rcolfin
Copy link
Contributor Author

rcolfin commented Oct 27, 2024

Could the Tests/run action be re-run?

@GitBib
Copy link
Owner

GitBib commented Oct 28, 2024

Just spotted a problem with the tests not passing. We need to fix it. Feel free to handle it yourself, or I'll push some fixes later that should solve the issue.

Integrating with pytest.

Updating types.

updating siginature of order_tracks_by_file_id to raise ValueError if KeyError is raised to ensure the contract of track.file_id when a None value is assigned is preserved.

updating tests.yml to specify ubuntu version as the ubuntu-latest
[label](actions/runner-images#10807)
changing affects which version of the mkvtoolnix
[repo](https://mkvtoolnix.download/downloads.html#ubuntu) to download from.
@rcolfin
Copy link
Contributor Author

rcolfin commented Oct 28, 2024 via email

@rcolfin
Copy link
Contributor Author

rcolfin commented Oct 28, 2024

Just spotted a problem with the tests not passing. We need to fix it. Feel free to handle it yourself, or I'll push some fixes later that should solve the issue.

The tests should pass now. The issue is that ubuntu-latest is a moving tag for which runner it is using. When I first started on this, the ubuntu-latest was pointing to ubuntu 24. It appears they have rolled it back per PR. I therefore updated my PR to specify the ubuntu version to be 22.04 as it is in line with the mkvtoolnix version used (jammy)

@codecov
Copy link

codecov bot commented Oct 28, 2024

Codecov Report

Attention: Patch coverage is 75.84270% with 43 lines in your changes missing coverage. Please review.

Project coverage is 65.91%. Comparing base (7731092) to head (9eca6a0).

Files with missing lines Patch % Lines
pymkv/MKVFile.py 55.22% 30 Missing ⚠️
pymkv/Timestamp.py 83.33% 7 Missing ⚠️
pymkv/MKVTrack.py 85.71% 5 Missing ⚠️
pymkv/TypeTrack.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #29      +/-   ##
==========================================
- Coverage   65.92%   65.91%   -0.01%     
==========================================
  Files          10       10              
  Lines         895      933      +38     
==========================================
+ Hits          590      615      +25     
- Misses        305      318      +13     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@GitBib
Copy link
Owner

GitBib commented Oct 28, 2024

The tests should pass now. The issue is that ubuntu-latest is a moving tag for which runner it is using. When I first started on this, the ubuntu-latest was pointing to ubuntu 24. It appears they have rolled it back per PR. I therefore updated my PR to specify the ubuntu version to be 22.04 as it is in line with the mkvtoolnix version used (jammy)

Ubuntu version detection is now automatic, and mkvtoolnix gets installed for the right Ubuntu version on its own.

@rcolfin
Copy link
Contributor Author

rcolfin commented Oct 29, 2024

Added the *py.typed` marker file per PEP 0561.

@GitBib GitBib merged commit 22795b4 into GitBib:master Oct 29, 2024
@rcolfin rcolfin deleted the feature/checks branch October 29, 2024 17:31
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