Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #13262
| Path | csiph.com!news.dns-netz.com!news.freedyn.net!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Gregor Riepl <onitake@gmail.com> |
| Newsgroups | linux.debian.maint.python |
| Subject | Re: How can I override module name in autopkgtest-pkg-python |
| Date | Wed, 03 Mar 2021 21:50:01 +0100 |
| Message-ID | <BOGBr-5hf-3@gated-at.bofh.it> (permalink) |
| References | <BOG8q-57b-11@gated-at.bofh.it> |
| X-Original-To | debian-python@lists.debian.org |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Wed Mar 3 20:49:20 2021 |
| Old-Return-Path | <onitake@gmail.com> |
| X-Amavis-Spam-Status | No, score=-7.2 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, LDO_WHITELIST=-5, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -5.5 |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:references:from:subject:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=I7djcfY8guF5pHqW7jQzByHQo8rtVArYTPhoPGSsqoc=; b=g8QsHA5Pswv1HpqDeg2xPJseK4D8UKEaMlDJ4eQ43EnUb9jMyKn6Bz2kcfGXiT3Syc qphefZ8wxt7ZGslYYu0MXpLASBKi932atI62W3aMFw4oWkPF0f1kSWSLzXjP/XhwVBkD 4l+S1prH1fW2/9D86zfqZi7uy5xIHYTgBgz3usJaJaK/4zZM5IlOR2FbskcP/DGUD8/S czLedhdJ1GS//3cM8W/RKsj9T2rmIXsVe8kjjOIOX0T8CEwNABpw4T4YU3CuquQl/MRj hyCmemg6JFOW3FLA612GTT9mRUvu0alS4tBcr6fXjXEjFINfmc8Pxud9hVcdq5pwwgd5 GzYw== |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:references:from:subject:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=I7djcfY8guF5pHqW7jQzByHQo8rtVArYTPhoPGSsqoc=; b=CXH6B/qWuH28TuvDEx106bdEIbY2w5Anc/CDeljRSWp1E2eqDGvmFWnms9K2kbLUIo 7PV+wpAra1AOBfWAJFxlGh1p+GtC3Wra/JxPszEAaC6nEmf0tuwbPT0tURgQN8QoDqZ5 cSkNgm7kGF0PplKsxHU1uPwT0aIkhGNaxfeOol/cFZbyQUuErCknCEq9IxzYnmkgaLne iwZ12GTTduCQnCFO+7AcjbXlhqnqWU8k31a/VD36AxaXAxRJ/BfyStNdIYsQox+aemtd jLK1MQrPJMOJYzwe8RGac/mKpN1C3yHAJ5X1zVxvnG2ISvZh6hUAXT2v3wyAJdEU8c03 XSPw== |
| X-Gm-Message-State | AOAM533lPjFCI75/r7W/QF/x96TqcFtud9hdk5lo1eLXla5BLExZO9Xt P6IswkGIICYHJs5Ru8Q1FLs7u6iJsMI= |
| X-Google-SMTP-Source | ABdhPJzIr1TsIil+8FmsBckr8E8o/gK4rkgNODsgvGWD7Hga6b14MQxOQuuZUdtT4YAoYQePOF2N9Q== |
| X-Received | by 2002:adf:c3c8:: with SMTP id d8mr474003wrg.167.1614804541802; Wed, 03 Mar 2021 12:49:01 -0800 (PST) |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Language | en-US |
| Content-Transfer-Encoding | 8bit |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/19047 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/3dcaf7c6-e095-c429-cfd6-adbb3bf85399@gmail.com |
| Approved | robomod@news.nic.it |
| Lines | 26 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Wed, 3 Mar 2021 21:49:00 +0100 |
| X-Original-Message-ID | <3dcaf7c6-e095-c429-cfd6-adbb3bf85399@gmail.com> |
| X-Original-References | <20210303201156.GH12373@an3as.eu> |
| Xref | csiph.com linux.debian.maint.python:13262 |
Show key headers only | View raw
> autopkgtest [19:46:36]: test autodep8-python3: set -e ; for py in $(py3versions -r 2>/dev/null) ; do cd "$AUTOPKGTEST_TMP" ; echo "Testing with $py:" ; $py -c "import cython_blis; print(cython_blis)" ; done > autopkgtest [19:46:36]: test autodep8-python3: [----------------------- > Testing with python3.9: > Traceback (most recent call last): > File "<string>", line 1, in <module> > ModuleNotFoundError: No module named 'cython_blis' > autopkgtest [19:46:37]: test autodep8-python3: -----------------------] > > > The actual module that needs to be importet is just blis. How can > I teach autodep8-python3 the correct module name? Simply write a suitable debian/tests/control file that uses import blis; print(blis) instead of import cython_blis; print(cython_blis) See here for an example: https://salsa.debian.org/3dprinting-team/libarcus/-/blob/master/debian/tests/control Although, it looks like this sort of trivial autopkgtest is now considered "superficial" and will no longer reduce the time until a package is autopromoted to testing.
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How can I override module name in autopkgtest-pkg-python Andreas Tille <andreas@an3as.eu> - 2021-03-03 21:20 +0100
Re: How can I override module name in autopkgtest-pkg-python Gregor Riepl <onitake@gmail.com> - 2021-03-03 21:50 +0100
Re: How can I override module name in autopkgtest-pkg-python Emmanuel Arias <eamanu@yaerobi.com> - 2021-03-03 23:20 +0100
Re: How can I override module name in autopkgtest-pkg-python Emmanuel Arias <eamanu@yaerobi.com> - 2021-03-03 23:30 +0100
Re: How can I override module name in autopkgtest-pkg-python Paul Wise <pabs@debian.org> - 2021-03-04 03:00 +0100
csiph-web