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

hosc-0.21 support #1105

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open

hosc-0.21 support #1105

wants to merge 2 commits into from

Conversation

sss-create
Copy link
Contributor

@sss-create sss-create commented Jan 15, 2025

I probably won't be able to keep this tempo up. 😅

However, this compiles and was tested by sending patterns from the REPL to SuperCollider. Tidal is still controllable via OSC (tested with Pure Data) too.

edit: would solve #1103

@sss-create
Copy link
Contributor Author

sss-create commented Jan 15, 2025

Ah! CI shows, there is still a problem with hocs's bytestring version dependency using older GHCs:
the unix package expects 0.10.10.1 exclusively!
https://github.com/tidalcycles/Tidal/actions/runs/12786157753/job/35642668849?pr=1105

bytestring==0.10.10.1/installed-0.10.10.1, hosc => bytestring>=0.11.0.0)```

@yaxu
Copy link
Member

yaxu commented Jan 15, 2025

Ah, that explains why it still isn't compiling for me. I was hoping increasing lower bounds for binary would get me out of dependency hell but it seems not:
https://hackage.haskell.org/package/hosc-0.21/revisions/

I think Rohan is happy to change the dependencies for hosc on hackage further (this is possible without doing a new hosc release). But I'm not sure if this helps?

Perhaps we just have to say that ghc 9.x has been around for several years and we drop support for 8.x Normally I use a recent ghc via ghcup, I just happened to be using the system version on my laptop for some reason.

Debian stable is on ghc 9.x, my laptop install (some linux mint) must be based on oldstable.
https://packages.debian.org/search?keywords=ghc

@cleary do you have a view on this wrt the ansible-based install?

@cleary
Copy link
Contributor

cleary commented Jan 15, 2025

@cleary do you have a view on this wrt the ansible-based install?

Ubuntu 20.04 is my only supported release with ghc 8.x provided, I'm happy to drop support for that now (there are still 2 more supported lts releases)

@sss-create
Copy link
Contributor Author

@yaxu While dropping support for 8.x seems reasonable, I'm not sure if 9.0.2 has a similar error regarding at least the unix package:
https://github.com/tidalcycles/Tidal/actions/runs/12786157753/job/35642667844?pr=1105

unix expects 0.10.12.1 there, where fromStrict is still not exported from Data.ByteString

@yaxu
Copy link
Member

yaxu commented Jan 15, 2025

Ok have asked Rohan about applying the patch for backward compatibility

see you

@yaxu
Copy link
Member

yaxu commented Jan 15, 2025

hosc 0.21.1 released! seems a bit happier now?

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