Skip to content

Nose with Python 3.10 #154

@skiedude

Description

@skiedude

While looking into the CI failures on linked packs on #153 it appears the python package nose is causing a lot of failures.

While I didn't check all linked packs, of the 4 I checked 2 were failing due to nose on Python 3.10. But I assume every CI testing in Python3.10 using this CI as a base is going to fail for this issue.

https://github.com/StackStorm-Exchange/stackstorm-github/actions/runs/12326010817/job/34406161027#step:6:378
https://github.com/StackStorm-Exchange/stackstorm-terraform/actions/runs/12326013523/job/34406167325#step:6:338

nose uses collections.Callable but in python 3.10 that was moved to collections.abc.Callable which is causing an attribute error AttributeError: module 'collections' has no attribute 'Callable' nose-devs/nose#1122 . Unfortunately nose is also abandoned, so no official fix in this module is going to take place.

pynose https://pypi.org/project/pynose/ looks to be a currently maintained successor. As i'm not familiar with nose at all, I'm not sure if its going to be an easy straight across replacement of package.

However I think a good chunk of the failing CI tests are atleast initially from this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions