all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#60608: keras is broken –> package bazel?
@ 2023-01-06 21:16 Ricardo Wurmus
  2023-10-21 15:18 ` Ricardo Wurmus
  2024-12-18 23:46 ` bug#60608: keras is broken –> " Sharlatan Hellseher
  0 siblings, 2 replies; 4+ messages in thread
From: Ricardo Wurmus @ 2023-01-06 21:16 UTC (permalink / raw)
  To: 60608

We have an old version of keras.  This is now broken.  It is not
compatible with python-h5py > 2.10.  Our version of Tensorflow also
won’t work with h5py 3.

We can’t upgrade keras to anything above 2.2.5 because any later version
is built with Bazel.  We cannot build Bazel, because it needs a big pile
of jars that we haven’t packaged yet.

Tensorflow > 1.9 also requires Bazel.

We should work towards packaging Bazel.  Debian has a Bazel bootstrap
package, so I’m hopeful that it’s possible to package with some effort.

-- 
Ricardo




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#60608: keras is broken –> package bazel?
  2023-01-06 21:16 bug#60608: keras is broken –> package bazel? Ricardo Wurmus
@ 2023-10-21 15:18 ` Ricardo Wurmus
  2024-12-18 23:46 ` bug#60608: keras is broken –> " Sharlatan Hellseher
  1 sibling, 0 replies; 4+ messages in thread
From: Ricardo Wurmus @ 2023-10-21 15:18 UTC (permalink / raw)
  To: 60608

Bazel is now available in the guix-science channel.  We may need to move
keras there too and build it with bazel.

-- 
Ricardo




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#60608: keras is broken –> package bazel?
  2023-01-06 21:16 bug#60608: keras is broken –> package bazel? Ricardo Wurmus
  2023-10-21 15:18 ` Ricardo Wurmus
@ 2024-12-18 23:46 ` Sharlatan Hellseher
  2024-12-19 11:19   ` Ricardo Wurmus
  1 sibling, 1 reply; 4+ messages in thread
From: Sharlatan Hellseher @ 2024-12-18 23:46 UTC (permalink / raw)
  To: 60608; +Cc: Ricardo Wurmus

[-- Attachment #1: Type: text/plain, Size: 394 bytes --]


Hi,

I'm in a limbo to upgrade https://github.com/spf13/afero, which requires
go-google-golang-org-api, which relays on auto-generated code in
https://github.com/googleapis/go-genproto which was built from
https://github.com/googleapis/googleapis/ with Bazel, which we don't
have in Guix (yet?)

Any plan to have Bazel in main Guix git repository or it's not
compatibly license wise?

--
Oleg

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#60608: keras is broken –> package bazel?
  2024-12-18 23:46 ` bug#60608: keras is broken –> " Sharlatan Hellseher
@ 2024-12-19 11:19   ` Ricardo Wurmus
  0 siblings, 0 replies; 4+ messages in thread
From: Ricardo Wurmus @ 2024-12-19 11:19 UTC (permalink / raw)
  To: Sharlatan Hellseher; +Cc: 60608

Sharlatan Hellseher <sharlatanus@gmail.com> writes:

> Any plan to have Bazel in main Guix git repository or it's not
> compatibly license wise?

Bazel is in guix-science, with a bazel-build-system as well.  It's
compatible when looking at just the licenses, but there are a number of
annoying wrinkles:

- Bazel itself bundles lots of binaries (Java libraries); I have made no
  serious attempt at unbundling them.  Packaging Java libraries gives me
  ulcers.

- the bazel-build-system works in ways that are really quite mismatched
  with how Guix works.  It performs a two-stage build: the first step is
  to run Bazel to download "sources" in a fixed output derivation; the
  second step (at a later time) is to unpack these hash-identified
  sources and run Bazel again without the download.

- Bazel makes it *very* hard or even impossible to replace parts of the
  build dependencies with packages from Guix.  I recently added
  python-ray to guix-science, which insists on using its own GNU Make
  (among many others).  This means that the source blob is usually
  incredibly large.

- Bazel does not care about whether something is source or binary.  The
  bazel-build-system assumes that the first step is to download sources
  only.  Bazel does not see it this way and is perfectly happy to fetch
  or build binaries at this stage.  It has happened a number of times
  that the hash of the fixed output derivation changed after an update
  of seemingly unrelated libraries, because the fixed output wasn't
  fixed after all.

I'd rather move Keras to guix-science than to contaminate Guix proper
with the abomination that is the bazel-build-system (and its relative
Bazel, which I will attempt not to call an abomination in public).

-- 
Ricardo




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-12-19 11:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-06 21:16 bug#60608: keras is broken –> package bazel? Ricardo Wurmus
2023-10-21 15:18 ` Ricardo Wurmus
2024-12-18 23:46 ` bug#60608: keras is broken –> " Sharlatan Hellseher
2024-12-19 11:19   ` Ricardo Wurmus

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.