Github messages for voidlinux
 help / color / mirror / Atom feed
From: misuchiru03 <misuchiru03@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: python3-shodan: update to 1.24.0
Date: Sun, 18 Oct 2020 00:10:15 +0200	[thread overview]
Message-ID: <20201017221015.cZst7ZBClODSxjv726wK9cexkHRQUGLiM6euu1g09uw@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-25552@inbox.vuxu.org>

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

New comment by misuchiru03 on void-packages repository

https://github.com/void-linux/void-packages/pull/25552#issuecomment-711086416

Comment:
> Can you make the tests run successfully? Build with `./xbps-src pkg -Q python3-shodan` to see them:
> 
> ```
> ======================================================================
> ERROR: test_count_simple (tests.test_shodan.ShodanTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/builddir/shodan-python-1.24.0/tests/test_shodan.py", line 25, in setUp
>     self.api = shodan.Shodan(open('SHODAN-API-KEY').read().strip())
> FileNotFoundError: [Errno 2] No such file or directory: 'SHODAN-API-KEY'
> ```

These are related to the Shodan API key, which requires a Shodan account. The tests have not been successful without the API keys, which are account-specific, but the CLI works just fine when initializing your own account's API key using `shodan init <api_key>`.

  parent reply	other threads:[~2020-10-17 22:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-12 22:40 [PR PATCH] " misuchiru03
2020-10-15  5:15 ` ericonr
2020-10-17 22:10 ` misuchiru03 [this message]
2020-10-21  2:31 ` [PR PATCH] [Merged]: " ahesford

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=20201017221015.cZst7ZBClODSxjv726wK9cexkHRQUGLiM6euu1g09uw@z \
    --to=misuchiru03@users.noreply.github.com \
    --cc=ml@inbox.vuxu.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 NNTP newsgroup(s).