From: Efraim Flashner <efraim@flashner.co.il>
To: Vijayalakshmi Vedantham <vijimay12@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: Internship on Improve the user experience for the "guix package" command line tool (Outreachy)
Date: Wed, 21 Mar 2018 10:35:49 +0200 [thread overview]
Message-ID: <20180321083549.GA20703@macbook41> (raw)
In-Reply-To: <CAD8c3_duj40tbxUkjvuKZvrEN126dV_g=RPMMntSKHoT83zqnA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2764 bytes --]
On Tue, Mar 20, 2018 at 08:45:02PM +0530, Vijayalakshmi Vedantham wrote:
> Hi,
>
> I'm really sorry about the effort you had to put into this patch. I'll try
> not to do it again.
>
> I had to append “.zip” because Pypi didn’t have a “.tar.gz” file for the
> > sources, so the uri
> > field now is:
> >
> > (pypi-uri "logwrap" version ".zip")
> >
>
> Did you do this because only .zip is available here (
> https://pypi.python.org/pypi/logwrap#downloads)?
>
$ guix import pypi logwrap
Starting download of /tmp/guix-file.BdwXcD
From https://pypi.python.org/packages/b3/17/c7d450ce6a1ce82e145852895509fddc9468225d2aa312a772bb9c188a73/logwrap-3.2.1.zip...
…3.2.1.zip 241KiB 869KiB/s 00:00 [##################] 100.0%
In this case the importer grabbed a zip file, so I guess it falls into
tribal knowledge, definately something that should be documented better.
>
> >
> > I also noticed that the sources include files that were generated with
> > Cython. Instead of reusing those, we build them from source. Luckily
> > all we have to do in this case is to add “python-cython” to the
> > native-inputs field.
> >
>
> Can I know how you knew this?
For files that are generated by Cython they generally have a line at the
top that reads: "Generated by Cython 0.x.y" or something along those
lines. If you unzip the downloaded source and run 'grep Cython . -R'
inside the folder it'll show any files generated by Cython.
>
>
> > Finally, the tests. At first the tests wouldn’t run. So I looked up the
> > error message online and found that I need to use “python-pytest-runner”
> > in addition to “python-pytest”. This allows the tests to run up to a
> > point until it wants to do coverage tests. For those I needed to add
> > “python-pytest-cov”.
> >
> > I changed the description, because I think it wasn’t quite correct.
> >
>
> Again, I'm sorry.
No worries, the test suite wasn't so easy. The release tarball/zip
didn't include good directions for running the test suite, I had to go
to the actual repository and see how the tests were run with 'tox' and
then try recreating the commands; I wasn't successful.
As far as the description goes, it's my least favorite part :).
>
>
> Have you been able to build Guix already and try building the package
> using “./pre-inst-env guix build”?
>
> No, I tried last night but I faced some issues, I'll try again tonight.
>
> Thanks,
> Vijayalakshmi
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2018-03-21 8:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAD8c3_e9+N2AEcR+fYs_bzsyLM9i85Fv1rT3P7jaPMKV+ihWog@mail.gmail.com>
[not found] ` <CAD8c3_dj0sUOtb=kU4tCtLH1LesOQmkdSqDO+awvUFB8Q+8Q2A@mail.gmail.com>
[not found] ` <87fu5pch36.fsf@elephly.net>
[not found] ` <CAD8c3_c8hwg2pLdKvaPKyPzy+bgLVGekyF2vGVWFW-Fb-BX1ww@mail.gmail.com>
[not found] ` <87h8pfy56s.fsf@elephly.net>
[not found] ` <CAD8c3_foX-c-+j3jfkLHG1VcnL2u7s_ixj550XcU1Ch-Fbqtjg@mail.gmail.com>
[not found] ` <87tvtdthda.fsf@elephly.net>
[not found] ` <CAD8c3_fD241AogQiaQTo2g-vXcwrWjt9FhAejMh57ZB+cBmKKQ@mail.gmail.com>
[not found] ` <87k1u8uccr.fsf@elephly.net>
2018-03-19 16:58 ` Internship on Improve the user experience for the "guix package" command line tool (Outreachy) Vijayalakshmi Vedantham
2018-03-19 20:27 ` Ricardo Wurmus
2018-03-20 14:44 ` Ricardo Wurmus
2018-03-20 15:15 ` Vijayalakshmi Vedantham
2018-03-20 15:54 ` Ricardo Wurmus
2018-03-20 18:34 ` Björn Höfling
2018-03-21 8:35 ` Efraim Flashner [this message]
2018-03-21 17:03 ` Vijayalakshmi Vedantham
2018-03-21 19:44 ` Gábor Boskovits
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180321083549.GA20703@macbook41 \
--to=efraim@flashner.co.il \
--cc=guix-devel@gnu.org \
--cc=vijimay12@gmail.com \
/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 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.