[PATCH] gnu: oil: Update to 0.9.7.

  • Done
  • quality assurance status badge
Details
2 participants
  • Felix Gruber
  • Ludovic Courtès
Owner
unassigned
Submitted by
Felix Gruber
Severity
normal
F
F
Felix Gruber wrote on 30 Jan 2022 22:01
(address . guix-patches@gnu.org)(name . Felix Gruber)(address . felgru@posteo.net)
20220130210139.12096-1-felgru@posteo.net
* gnu/packages/shells.scm (oil): Update to 0.9.7.
---
gnu/packages/shells.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (23 lines)
diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
index 1652848705..2e5bc3573a 100644
--- a/gnu/packages/shells.scm
+++ b/gnu/packages/shells.scm
@@ -828,14 +828,14 @@ Shell (pdksh).")
(define-public oil
(package
(name "oil")
- (version "0.9.6")
+ (version "0.9.7")
(source
(origin
(method url-fetch)
(uri (string-append "https://www.oilshell.org/download/oil-"
version ".tar.gz"))
(sha256
- (base32 "01lmj4diqpla1gwwb1gh1shf4y74qhanpkzcsnb28458rxm1sq32"))))
+ (base32 "09ill1wks8gmixfc648wx25wx0wzlgkjj34bbpglx496i6yp81aw"))))
(build-system gnu-build-system)
(arguments
(list #:strip-binaries? #f ; strip breaks the binary
--
2.30.2
L
L
Ludovic Courtès wrote on 2 Feb 2022 18:15
(name . Felix Gruber)(address . felgru@posteo.net)(address . 53642-done@debbugs.gnu.org)
87ee4lrxys.fsf@gnu.org
Hi,

Felix Gruber <felgru@posteo.net> skribis:

Toggle quote (2 lines)
> * gnu/packages/shells.scm (oil): Update to 0.9.7.

Applied, thanks!

Oil seems to include a bundled copy of CPython. Could you check if we
can remove it and use our Python package instead?

Thanks,
Ludo’.
Closed
F
F
Felix Gruber wrote on 2 Feb 2022 23:17
(name . Ludovic Courtès)(address . ludo@gnu.org)(address . 53642-done@debbugs.gnu.org)
2c59c004-4f61-9dee-2c19-c65d9f13c009@posteo.net
Hi Ludo’,

On 2/2/22 18:15, Ludovic Courtès wrote:
Toggle quote (3 lines)
> Oil seems to include a bundled copy of CPython. Could you check if we
> can remove it and use our Python package instead?

It seems that the CPython bundled with oil is heavily modified.
I've found this old blog post [1] that describes what was modified in
the bundled CPython. Apparently, those parts of CPython that are not
used by oil have been removed and the build system has been replaced by
a custom one. This will probably make it quite complicated to replace
the bundled CPython with ours.


Kind regards,
Felix
Closed
L
L
Ludovic Courtès wrote on 8 Feb 2022 10:55
(name . Felix Gruber)(address . felgru@posteo.net)(address . 53642-done@debbugs.gnu.org)
87k0e5bs37.fsf@gnu.org
Hi,

Felix Gruber <felgru@posteo.net> skribis:

Toggle quote (9 lines)
> It seems that the CPython bundled with oil is heavily modified.
> I've found this old blog post [1] that describes what was modified in
> the bundled CPython. Apparently, those parts of CPython that are not
> used by oil have been removed and the build system has been replaced
> by a custom one. This will probably make it quite complicated to
> replace the bundled CPython with ours.
>
> [1] https://www.oilshell.org/blog/2017/05/05.html

Makes sense. Perhaps we can add a comment explaining this, for our
future selves wondering about it.

Thanks for exlaining,
Ludo’.
Closed
?