Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Naming conflict with 'xmlrunner' Python library(pip) #225

Open
cakel opened this issue May 11, 2020 · 1 comment
Open

Naming conflict with 'xmlrunner' Python library(pip) #225

cakel opened this issue May 11, 2020 · 1 comment
Labels

Comments

@cakel
Copy link

cakel commented May 11, 2020

Hello, I'm using your library and it usefully meets my expectation.

Someday during unit-test, I've got an error message using 'xmlrunner'.
$ python3 -m xmlrunner discover ./test -o ./junit-reports /bin/python3: No module named xmlrunner.__main__; 'xmlrunner' is a package and cannot be directly executed

After a timed investigation, I figured out that 'xmlrunner' also resides on pip library and it's could be installed if developer requests to install 'xmlrunner' instead of 'unittest-xml-reporting'.

It would be nice to gentle reminder if any user like me, has "No module named xmlrunner.main; 'xmlrunner' is a package and cannot be directly executed" a message. Removing 'xmlrunner' package and install 'unittest-xml-reporting' was answer.

Thank you

@dnozay
Copy link
Member

dnozay commented Aug 14, 2020

I understand the issue; there is indeed another project registered in pypi named xmlrunner.
image
I can leave the issue open for other folks to find; but I don't plan on addressing it.

@xmlrunner xmlrunner locked as resolved and limited conversation to collaborators Aug 14, 2020
@dnozay dnozay added the wontfix label Aug 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants