Linux-SPDX Archive mirror
 help / color / mirror / Atom feed
From: Nicky Chorley <ndchorley@gmail.com>
To: linux-spdx@vger.kernel.org
Subject: Fwd: scripts/spdxcheck.py's third-party dependencies
Date: Tue, 27 Jul 2021 07:42:21 +0100	[thread overview]
Message-ID: <CAG-xSoY-Z=AD8KhXrJvzqgA+mYZwUGEbAQ7UfPEbH6e4g7VD4w@mail.gmail.com> (raw)
In-Reply-To: <efcdf26-fd74-3d7d-25b1-d77ed3c493@rigel.lan>

Resending to linux-spdx.

---------- Forwarded message ---------
From: Nicky Chorley <ndchorley@gmail.com>
Date: Sun, 25 Jul 2021 at 20:35
Subject: scripts/spdxcheck.py's third-party dependencies
To: <tglx@linutronix.de>, <gregkh@linuxfoundation.org>


Hi folks,

On linux-next (tag: next-20210723), running scripts/checkpatch.pl
complains, with e.g.

Traceback (most recent call last):
   File "scripts/spdxcheck.py", line 10, in <module>
     import git
ModuleNotFoundError: No module named 'git'

and the same for ply if you don't have those libraries installed. Would it
be OK to add a pip requirements.txt file, so that people can use that to
install those and not have to manually go hunt them down? In future,
if other Python scripts needed third-party libraries, those could be
listed in the file too (I had a quick look and didn't see any used in the
others).

Apologies if this has already been covered somewhere - I couldn't see
archive links for linux-spdx on vger.kernel.org.

Best,

Nicky

       reply	other threads:[~2021-07-27  6:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <efcdf26-fd74-3d7d-25b1-d77ed3c493@rigel.lan>
2021-07-27  6:42 ` Nicky Chorley [this message]
2021-07-27  6:47   ` Fwd: scripts/spdxcheck.py's third-party dependencies Greg KH
2021-07-31 11:57     ` Nicky Chorley
2021-08-05 12:21       ` Greg KH
2021-08-06  6:44         ` Nicky Chorley
2021-08-10 11:27           ` Zavras, Alexios
2021-08-10 16:57           ` Christoph Hellwig
2021-08-10 21:00             ` Thomas Gleixner

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='CAG-xSoY-Z=AD8KhXrJvzqgA+mYZwUGEbAQ7UfPEbH6e4g7VD4w@mail.gmail.com' \
    --to=ndchorley@gmail.com \
    --cc=linux-spdx@vger.kernel.org \
    /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.
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).