-
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
Update to opam 2, dune, latest core_kernel APIs #54
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Done by running `opam package-upgrade capnp.opam`.
This allows us to drop some complexity from the jbuilder files, allowing them to be upgraded automatically by dune.
talex5
force-pushed
the
dune
branch
2 times, most recently
from
May 31, 2019 09:06
428a94f
to
9fd2f0e
Compare
Done by running `dune upgrade` and then fixing the test command. Also, updated `Makefile` and removed `jbuild-workspace.dev`.
- `Char.gen` appears to have disappeared. - `Core.Std` has gone too.
talex5
added a commit
to talex5/opam-repository
that referenced
this pull request
Jun 4, 2019
CHANGES: This release is mostly about reducing the number of dependencies. The only API change is that `write_message_to_file_robust` has gone. * Remove `extunix` dependency (capnproto/capnp-ocaml#57). `write_message_to_file_robust` was its only user, and wasn't used by anything. Using `fsync` to ensure a file is written to disk is a general function that should be handled by the user of capnp where needed. Removing `extunix` also removes the indirect dependency on `camlp4`, which in turn allows `capnp` to build with OCaml 4.08 (and to build faster on all versions). * Remove `Pervasives` qualifier (capnproto/capnp-ocaml#57). This is needed to support OCaml 4.08 without warnings. * Remove dependency on `Core` from benchmarks (capnproto/capnp-ocaml#55). This was the only remaining use of the library. * Replace uses of `Core_kernel` with plain `Base` and `Stdio` in the compiler (capnproto/capnp-ocaml#56) and tests (capnproto/capnp-ocaml#59). This greatly reduces the number of libraries you need to install to install capnp. * Update tests for the current quickcheck API (capnproto/capnp-ocaml#54). * Switch from jbuilder to dune (capnproto/capnp-ocaml#54). * Require OCaml >= 4.03 (capnproto/capnp-ocaml#54). This allows us to drop some complexity from the jbuilder files, allowing them to be upgraded automatically by dune. * Upgrade to opam 2 format (capnproto/capnp-ocaml#54). * Convert the changelog to markdown (capnproto/capnp-ocaml#58). This allows it to be used with dune-release. With these changes, the following 49 libraries that were needed to install capnp-ocaml 3.2.1 are no longer required: `base_bigstring`, `base_quickcheck`, `bin_prot`, `camlp4`, `core_kernel`, `extunix`, `fieldslib`, `jane-street-headers`, `jst-config`, `num`, `ocaml-compiler-libs`, `ocaml-migrate-parsetree`, `octavius`, `parsexp`, `ppx_assert`, `ppx_base`, `ppx_bench`, `ppx_bin_prot`, `ppx_compare`, `ppx_custom_printf`, `ppx_derivers`, `ppx_enumerate`, `ppx_expect`, `ppx_fail`, `ppx_fields_conv`, `ppx_hash`, `ppx_here`, `ppx_inline_test`, `ppx_jane`, `ppx_js_style`, `ppx_let`, `ppxlib`, `ppx_module_timer`, `ppx_optcomp`, `ppx_optional`, `ppx_pipebang`, `ppx_sexp_conv`, `ppx_sexp_message`, `ppx_sexp_value`, `ppx_stable`, `ppx_typerep_conv`, `ppx_variants_conv`, `re`, `seq`, `sexplib`, `splittable_random`, `time_now`, `typerep` and `variantslib`.
talex5
added a commit
to talex5/opam-repository
that referenced
this pull request
Jun 4, 2019
CHANGES: This release is mostly about reducing the number of dependencies. The only API change is that `write_message_to_file_robust` has gone. * Remove `extunix` dependency (capnproto/capnp-ocaml#57). `write_message_to_file_robust` was its only user, and wasn't used by anything. Using `fsync` to ensure a file is written to disk is a general function that should be handled by the user of capnp where needed. Removing `extunix` also removes the indirect dependency on `camlp4`, which in turn allows `capnp` to build with OCaml 4.08 (and to build faster on all versions). * Remove `Pervasives` qualifier (capnproto/capnp-ocaml#57). This is needed to support OCaml 4.08 without warnings. * Remove dependency on `Core` from benchmarks (capnproto/capnp-ocaml#55). This was the only remaining use of the library. * Replace uses of `Core_kernel` with plain `Base` and `Stdio` in the compiler (capnproto/capnp-ocaml#56) and tests (capnproto/capnp-ocaml#59). This greatly reduces the number of libraries you need to install to install capnp. * Update tests for the current quickcheck API (capnproto/capnp-ocaml#54). * Switch from jbuilder to dune (capnproto/capnp-ocaml#54). * Require OCaml >= 4.03 (capnproto/capnp-ocaml#54). This allows us to drop some complexity from the jbuilder files, allowing them to be upgraded automatically by dune. * Upgrade to opam 2 format (capnproto/capnp-ocaml#54). * Convert the changelog to markdown (capnproto/capnp-ocaml#58). This allows it to be used with dune-release. With these changes, the following 49 libraries that were needed to install capnp-ocaml 3.2.1 are no longer required: `base_bigstring`, `base_quickcheck`, `bin_prot`, `camlp4`, `core_kernel`, `extunix`, `fieldslib`, `jane-street-headers`, `jst-config`, `num`, `ocaml-compiler-libs`, `ocaml-migrate-parsetree`, `octavius`, `parsexp`, `ppx_assert`, `ppx_base`, `ppx_bench`, `ppx_bin_prot`, `ppx_compare`, `ppx_custom_printf`, `ppx_derivers`, `ppx_enumerate`, `ppx_expect`, `ppx_fail`, `ppx_fields_conv`, `ppx_hash`, `ppx_here`, `ppx_inline_test`, `ppx_jane`, `ppx_js_style`, `ppx_let`, `ppxlib`, `ppx_module_timer`, `ppx_optcomp`, `ppx_optional`, `ppx_pipebang`, `ppx_sexp_conv`, `ppx_sexp_message`, `ppx_sexp_value`, `ppx_stable`, `ppx_typerep_conv`, `ppx_variants_conv`, `re`, `seq`, `sexplib`, `splittable_random`, `time_now`, `typerep` and `variantslib`.
talex5
added a commit
to talex5/opam-repository
that referenced
this pull request
Jun 4, 2019
CHANGES: This release is mostly about reducing the number of dependencies. The only API change is that `write_message_to_file_robust` has gone. * Remove `extunix` dependency (capnproto/capnp-ocaml#57). `write_message_to_file_robust` was its only user, and wasn't used by anything. Using `fsync` to ensure a file is written to disk is a general function that should be handled by the user of capnp where needed. Removing `extunix` also removes the indirect dependency on `camlp4`, which in turn allows `capnp` to build with OCaml 4.08 (and to build faster on all versions). * Remove `Pervasives` qualifier (capnproto/capnp-ocaml#57). This is needed to support OCaml 4.08 without warnings. * Remove dependency on `Core` from benchmarks (capnproto/capnp-ocaml#55). This was the only remaining use of the library. * Replace uses of `Core_kernel` with plain `Base` and `Stdio` in the compiler (capnproto/capnp-ocaml#56) and tests (capnproto/capnp-ocaml#59). This greatly reduces the number of libraries you need to install to install capnp. * Update tests for the current quickcheck API (capnproto/capnp-ocaml#54). * Switch from jbuilder to dune (capnproto/capnp-ocaml#54). * Require OCaml >= 4.03 (capnproto/capnp-ocaml#54). This allows us to drop some complexity from the jbuilder files, allowing them to be upgraded automatically by dune. * Upgrade to opam 2 format (capnproto/capnp-ocaml#54). * Convert the changelog to markdown (capnproto/capnp-ocaml#58). This allows it to be used with dune-release. With these changes, the following 49 libraries that were needed to install capnp-ocaml 3.2.1 are no longer required: `base_bigstring`, `base_quickcheck`, `bin_prot`, `camlp4`, `core_kernel`, `extunix`, `fieldslib`, `jane-street-headers`, `jst-config`, `num`, `ocaml-compiler-libs`, `ocaml-migrate-parsetree`, `octavius`, `parsexp`, `ppx_assert`, `ppx_base`, `ppx_bench`, `ppx_bin_prot`, `ppx_compare`, `ppx_custom_printf`, `ppx_derivers`, `ppx_enumerate`, `ppx_expect`, `ppx_fail`, `ppx_fields_conv`, `ppx_hash`, `ppx_here`, `ppx_inline_test`, `ppx_jane`, `ppx_js_style`, `ppx_let`, `ppxlib`, `ppx_module_timer`, `ppx_optcomp`, `ppx_optional`, `ppx_pipebang`, `ppx_sexp_conv`, `ppx_sexp_message`, `ppx_sexp_value`, `ppx_stable`, `ppx_typerep_conv`, `ppx_variants_conv`, `re`, `seq`, `sexplib`, `splittable_random`, `time_now`, `typerep` and `variantslib`.
talex5
added a commit
to talex5/opam-repository
that referenced
this pull request
Jun 4, 2019
CHANGES: This release is mostly about reducing the number of dependencies. The only API change is that `write_message_to_file_robust` has gone. * Remove `extunix` dependency (capnproto/capnp-ocaml#57). `write_message_to_file_robust` was its only user, and wasn't used by anything. Using `fsync` to ensure a file is written to disk is a general function that should be handled by the user of capnp where needed. Removing `extunix` also removes the indirect dependency on `camlp4`, which in turn allows `capnp` to build with OCaml 4.08 (and to build faster on all versions). * Remove `Pervasives` qualifier (capnproto/capnp-ocaml#57). This is needed to support OCaml 4.08 without warnings. * Remove dependency on `Core` from benchmarks (capnproto/capnp-ocaml#55). This was the only remaining use of the library. * Replace uses of `Core_kernel` with plain `Base` and `Stdio` in the compiler (capnproto/capnp-ocaml#56) and tests (capnproto/capnp-ocaml#59). This greatly reduces the number of libraries you need to install to install capnp. * Update tests for the current quickcheck API (capnproto/capnp-ocaml#54). * Switch from jbuilder to dune (capnproto/capnp-ocaml#54). * Require OCaml >= 4.03 (capnproto/capnp-ocaml#54). This allows us to drop some complexity from the jbuilder files, allowing them to be upgraded automatically by dune. * Upgrade to opam 2 format (capnproto/capnp-ocaml#54). * Convert the changelog to markdown (capnproto/capnp-ocaml#58). This allows it to be used with dune-release. With these changes, the following 49 libraries that were needed to install capnp-ocaml 3.2.1 are no longer required: `base_bigstring`, `base_quickcheck`, `bin_prot`, `camlp4`, `core_kernel`, `extunix`, `fieldslib`, `jane-street-headers`, `jst-config`, `num`, `ocaml-compiler-libs`, `ocaml-migrate-parsetree`, `octavius`, `parsexp`, `ppx_assert`, `ppx_base`, `ppx_bench`, `ppx_bin_prot`, `ppx_compare`, `ppx_custom_printf`, `ppx_derivers`, `ppx_enumerate`, `ppx_expect`, `ppx_fail`, `ppx_fields_conv`, `ppx_hash`, `ppx_here`, `ppx_inline_test`, `ppx_jane`, `ppx_js_style`, `ppx_let`, `ppxlib`, `ppx_module_timer`, `ppx_optcomp`, `ppx_optional`, `ppx_pipebang`, `ppx_sexp_conv`, `ppx_sexp_message`, `ppx_sexp_value`, `ppx_stable`, `ppx_typerep_conv`, `ppx_variants_conv`, `re`, `seq`, `sexplib`, `splittable_random`, `time_now`, `typerep` and `variantslib`.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Note: we now require OCaml >= 4.03