Skip to content

Conversation

@Liam-Sturge
Copy link
Contributor

Pytest-lazy-fixture doesn't work with pytest==8.0.0

The following error occurs when pytest-lazy-fixture is called:

`AttributeError: 'CallSpec2' object has no attribute 'funcargs'`

This has been raised as an issue on the pytest-lazy-fixture project, but the repository is not in active development. See TvoroG/pytest-lazy-fixture#65 for details.

TVM project code-base makes very little reference to pytest-lazy-fixture, so this patch removes the library from the project altogether, in order to resolve the problem.

CC @neildhickey @lhutton1 @tqchen

Pytest-lazy-fixture doesn't work with version pytest==8.0.0

The following error occurs:

   AttributeError: 'CallSpec2' object has no attribute 'funcargs'

This has been raised as an issue on the pytest-lazy-fixture project,
but the repository is not in active development. See

TvoroG/pytest-lazy-fixture#65

This patch removes the use of the library to resolve the problem.

Change-Id: Ic899e6b7dac12dc786f79ac7052f75475e8546c9
Copy link
Contributor

@neildhickey neildhickey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Liam-Sturge thanks for this contribution.

We'll have to regenerate the correct docker images and update once this change has gone in.

Perhaps we can put up a draft review pointing to the new docker images once they are built? Just to be doubly sure CI works still

Copy link
Contributor

@lhutton1 lhutton1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! The checks on the docker image have passed: #16522

@lhutton1 lhutton1 merged commit ff36526 into apache:main Feb 5, 2024
@lhutton1
Copy link
Contributor

lhutton1 commented Feb 5, 2024

Thanks @Liam-Sturge @neildhickey!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants