emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Christian Köstlin" <christian.koestlin@gmail.com>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: Pedro Bruel <pedro.bruel@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: Problems running ob-julia tests (testing/test-ob-julia.el)
Date: Fri, 21 Oct 2022 00:30:29 +0200	[thread overview]
Message-ID: <CAG741+bUW7PYm84K363SAXRi91B7fWKE=zmv4srhXtBptjgGCw@mail.gmail.com> (raw)
In-Reply-To: <87a65segwq.fsf@localhost>

On Wed, Oct 19, 2022 at 3:32 AM Ihor Radchenko <yantar92@posteo.net> wrote:
>
> Pedro Bruel <pedro.bruel@gmail.com> writes:
>
> > I believe the ob-julia version we have on orgmode does not support sessions.
>
> There is definitely session support in lisp/ob-julia.el. ob-julia does
> define org-babel-load-session:julia and org-babel-prep-session:julia.
>
> Session support is even tested in testing/lisp/test-ob-julia.el
> For example, in test-ob-julia/session-multiline.
>
> ob-julia documentation also declares full session support:
> https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-julia.html
>
> For context, Christian is helping us to setup automatic CI tests for Org
> and we are now experiencing some issues with tests for babel languages.
> Those tests are normally disabled as they require external packages,
> which is why the problem was not noticed in the past.
>
> --
> Ihor Radchenko // yantar92,
> Org mode contributor,
> Learn more about Org mode at <https://orgmode.org/>.
> Support Org development at <https://liberapay.com/org-mode>,
> or support my work at <https://liberapay.com/yantar92>

I looked some more into testing/lisp/test-ob-julia.el. And it
seems for me, that the file was not completely ported over from python.
There are still python examples in it + some of the tests, are only
there, because they we're written for python (e.g.
test-ob-julia/insert-necessary-blank-line-when-sending-code-to-interpreter).

I could get hello worlds without session running (:reports output).
When I try :reports value I do not get good results.

ATM I am testing with emacs28 and julia 1.4.1 and org-mode master

Kind regards,
Christian


  reply	other threads:[~2022-10-20 22:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-17 20:08 Problems running ob-julia tests (testing/test-ob-julia.el) Christian Köstlin
2022-10-18  4:45 ` Ihor Radchenko
2022-10-18  4:46   ` Ihor Radchenko
2022-10-19  1:11     ` Pedro Bruel
2022-10-19  1:33       ` Ihor Radchenko
2022-10-20 22:30         ` Christian Köstlin [this message]
2022-11-21  2:27         ` Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAG741+bUW7PYm84K363SAXRi91B7fWKE=zmv4srhXtBptjgGCw@mail.gmail.com' \
    --to=christian.koestlin@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=pedro.bruel@gmail.com \
    --cc=yantar92@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).