gurock / trcli

TR CLI (trcli) is a command line tool for interacting with TestRail.
Mozilla Public License 2.0
48 stars 39 forks source link

AZ devops No such command 'parse_junit' / trcli failed to load #154

Closed talshachar20 closed 10 months ago

talshachar20 commented 11 months ago

Hey, since two days ago I'm getting this error on Azure devops (cannot reproduce manually) when trying to publish report I've tried with two versions : 1.4.2 / 1.5.0

tried also install with this command : python3.10 -m pip install --force-reinstall trcli

Last week it worked perfectly . does anybody has an idea ?

Error: No such command 'parse_junit'. TestRail CLI v1.5.0 Copyright 2021 Gurock Software GmbH - www.gurock.com trcli failed to load

anastasijabulatova-toast commented 11 months ago

I'm getting the same error

jack-huma commented 11 months ago

Also seeing this using Github Actions and cannot reproduce when running the CLI upload manually.

jemishgopani commented 11 months ago

it is happening because pyserde is updated to version 0.12.0 if you install pip install pyserde==0.11.1 older version before pip install trcli it will work.

This is temporary fix

talshachar20 commented 11 months ago

Works ! thank you very much @jemishgopani

canadianveggie commented 11 months ago

Is the problem here that trcli isn't versioning any of its dependencies in setup.py?

jemishgopani commented 11 months ago

Now this issue is fixed on pyserde version 0.12.1 🚀. So, now we don't have to add pip install pyserde==0.11.1 separately.

pranit-kenjale commented 11 months ago

Command 'parse_junit' is still not working for me with the below versions:

trcli==1.5.0
pyserde==0.12.1 or pyserde==0.11.1

Is there any workaround ?

d-rede commented 10 months ago

I'm sorry to know an external dependency managed to break the CLI.

Dependency management is set to be improved in the next release and we will track it's resolution in issue https://github.com/gurock/trcli/issues/137.

Closing this issue.