Github messages for voidlinux
 help / color / mirror / Atom feed
From: TinfoilSubmarine <TinfoilSubmarine@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [ISSUE] python3-nose not functional with 3.10
Date: Wed, 27 Oct 2021 20:51:35 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-33788@inbox.vuxu.org> (raw)

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

New issue by TinfoilSubmarine on void-packages repository

https://github.com/void-linux/void-packages/issues/33788

Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System

* xuname:  
  Void 5.13.19_1 x86_64 AuthenticAMD notuptodate rrmFFFFFFFFFFFFFFFFF
* package:  
  *affected package(s) including the version*: ``python3-nose-1.3.7_7``, ``python3-pytest-6.2.5_2``

### Expected behavior
I should be able to install `python3-nose` and run `import nose`, or run `./xbps-src pkg python3-pytest -Q` and have tests run successfully.

### Actual behavior
When importing in REPL:
```
Python 3.10.0 (default, Oct  9 2021, 12:07:44) [GCC 10.2.1 20201203] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import nose
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.10/site-packages/nose/__init__.py", line 1, in <module>
    from nose.core import collector, main, run, run_exit, runmodule
  File "/usr/lib/python3.10/site-packages/nose/core.py", line 153
    print "%s version %s" % (os.path.basename(sys.argv[0]), __version__)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
```
When testing `python3-pytest`: <see attached log>
[pkg-python3-pytest.txt](https://github.com/void-linux/void-packages/files/7428572/pkg-python3-pytest.txt)

### Steps to reproduce the behavior
1. Install `python3-nose`
2. run `import python3-pytest` in python REPL.

OR
1. Build `python3-pytest` with xbps-src with testing enabled: `./xbps-src pkg python3-pytest -Q`


             reply	other threads:[~2021-10-27 18:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-27 18:51 TinfoilSubmarine [this message]
2021-10-27 19:04 ` python3-nose not functional with python 3.10 TinfoilSubmarine
2021-10-27 20:51 ` TinfoilSubmarine
2021-10-31 23:45 ` Johnnynator
2021-11-02 14:35 ` ahesford
2021-11-02 15:28 ` [ISSUE] [CLOSED] " 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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-33788@inbox.vuxu.org \
    --to=tinfoilsubmarine@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).