Skip to content
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

Migrate CI to GitHub Actions (v2) #222

Merged
merged 20 commits into from
Feb 26, 2025
Merged

Conversation

giovana-morais
Copy link
Contributor

@giovana-morais giovana-morais commented Feb 19, 2025

based on #217 (unfortunately, i can't add commits to his branch)

changelog

  • remove Travis files
  • remove requirements.txt
  • add GitHub Action ci.yml file
  • bump minimal mir_eval version to 0.8.2

guillaumekh and others added 11 commits July 4, 2024 16:51
note:
- [email protected] dropped support for Python <= 3.8
- [email protected]+ broke mir_eval. A fix was merged in mir_eval@main but has not been released yet
	- see: mir-evaluation/mir_eval#352
- [email protected] brakes mir_eval
	- see: mir-evaluation/mir_eval#383
- i updated pytest hoping it would help solve failing tests but that's a HUGE v3—>v8 jump. I only made the bare minimum of fixes to accomodate this upgrade, and I would expect more work is needed
- i wanted to add python 11/12 support but delayed this until we can already get tests runnning properly on 3.9/3.10
@giovana-morais giovana-morais changed the title Migrate CI to GitHub Actions Migrate CI to GitHub Actions (v2) Feb 19, 2025
@bmcfee
Copy link
Contributor

bmcfee commented Feb 21, 2025

mir_eval 0.8.1 is on pypi now; should hit conda-forge by this afternoon.

@giovana-morais
Copy link
Contributor Author

mir_eval 0.8.1 is on pypi now; should hit conda-forge by this afternoon.

i ran the sonify tests and some are failing but for a different reason now. i'll mark those as xfail again and i can investigate and provide more details afterward in the mir_eval repo if needed.

FAILED tests/test_sonify.py::test_note_hz - AttributeError: 'list' object has no attribute 'shape'
FAILED tests/test_sonify.py::test_note_hz_nolength - AttributeError: 'list' object has no attribute 'shape'
FAILED tests/test_sonify.py::test_note_midi - AttributeError: 'list' object has no attribute 'shape'

other than this, i added back the support to python 3.9 by using pkg_resource. i didn't figure out what was the deal with importlib.resources.files, so i just moved forward.

@bmcfee
Copy link
Contributor

bmcfee commented Feb 25, 2025

A couple more comments, but this otherwise is looking good!

@bmcfee bmcfee merged commit 91e0d57 into marl:master Feb 26, 2025
@bmcfee bmcfee mentioned this pull request Feb 26, 2025
@giovana-morais giovana-morais deleted the migrate_ci branch February 26, 2025 15: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.

3 participants