#582 Python 3.10 test failures: TypeError: Commit.__init__() missing 2 required positional arguments: 'repo' and 'binsha'
Closed: Fixed 2 years ago by onosek. Opened 2 years ago by oturpe.

When I run the Python 3.10 test suite on Fedora Linux 35 Beta,
I get 44 failures with the following error message:

TypeError: Commit.__init__() missing 2 required positional arguments: 'repo' and 'binsha'

This can be fixed in tox.ini
by copying the [testenv:py39]configuration
for Python 3.10 like this:

[testenv:py310]
sitepackages=true

However, the comment in [testenv:py39] seems to indicate
that the sitepackages config is not intended for this kind of error,
so I am uncertain if this is the proper way to fix the issue.
Hence, an issue rather than a pull request.


Commit 98ab0cd added the change you proposed.

Metadata Update from @onosek:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

2 years ago

Metadata Update from @onosek:
- Issue set to the milestone: 1.64

2 years ago

Login to comment on this ticket.

Metadata