-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[release] rpc metapackage (5.9.0, 6.0.0, 6.1.0, 7.0.0) #15879
Conversation
Commit: 887d960 Hello @psafont! I believe this is your first contribution here. Please be nice, reviewers! ☀️ All lint checks passed 887d960
☀️ Installability check (+4)
|
7.0.0 - Add basic support for JSON-RPC notifications (@vycastor) 6.1.0 - opam: updated bounds on a more conservative basis - travis: tests more compilers - tests: disable useless-object-inheritance on pylint checks - pythongen: generate python2-3 compatible bindings - Add ISC license - Incremented the upper bound for async's version. - Added lower bound for js_of_ocaml in related .opam file. - Fixed compilation issue with js_of_ocaml 3.5.0 and 3.5.1. - opam: remove the 'build' directive on dune dependency - opam: remove unnecessary flag - port to dune 6.0.0 - Switch to ppxlib from ppx_deriving 5.9.0 - Optional named params fix
@mseri travis is failing for 5.9.0 and 6.0.0 because dependencies are not compatible with the ocaml versions used for the tests, this is not surprising to me, but it'd be nice to have confirmation from you. The tests for 6.1.0 are failing because |
Thanks for the PR. Your analysis is correct. I think we can simply disable the tests in all of them. They have been tested already after all |
@psafont the tests require |
It is not that easy I think. Some tests require the python2 version and the more recent ones the pyhon3 if I remember correctly |
then I could add two packages instead of one ( |
Modulo distributions that only have one of the two, I believe it would. I am not sure it is worth the hassle, but let’s try |
The build command was wrong and the packages didn't install anything. Could these fixes be returned upstream? I also removed the tests as it seems too much of a hassle. This should be good to go once CI is done with it |
They were already correct upstream https://github.com/mirage/ocaml-rpc/blob/master/rpc.opam I've just added the missing odoc dependency. Thanks again. I agree with the decision of turning off the tests, python dependencies are a bit of a hell still with the 2 to 3 transition |
mh, it seems that
|
That's weird... it may be changed recently, it used to be called only to generate the documentation |
It is explicitly marked for documentation: https://github.com/mirage/ocaml-rpc/blob/master/docs/dune#L12 |
weird indeed. cc @rgrinberg @diml? |
|
@avsm @diml this issue reminds me of our discussion at the retreat regarding the correct way to split packages so that they're as usable in as many contexts as possible. There was a remark that packages should be split along the lines laid out by Linux package managers, e.g I recall that in the retreat, we concluded that the user should factor their packages manually. Perhaps it's the wrong way after all as it will quickly get tedious and upstream package maintainers will have to repeat this work. Maybe dune should be a little smarter do this factoring automatically to generate multiple packages? I realize that this is in conflict with opam's |
Looks good now. Thanks! |
Without the metapackage being available it's difficult to develop on the package while using this repo as the first one in the active opam switch, see mirage/ocaml-rpc#150
Changes:
7.0.0
6.1.0
6.0.0
5.9.0