Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] python3-nose not functional with 3.10
@ 2021-10-27 18:51 TinfoilSubmarine
  2021-10-27 19:04 ` python3-nose not functional with python 3.10 TinfoilSubmarine
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: TinfoilSubmarine @ 2021-10-27 18:51 UTC (permalink / raw)
  To: ml

[-- 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`


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-11-02 15:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-27 18:51 [ISSUE] python3-nose not functional with 3.10 TinfoilSubmarine
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

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).