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
Broken pytest module #7365
Comments
A new Issue was created by @aperloff Alexx Perloff. @Dr15Jones, @perrotta, @dpiparo, @makortel, @smuzaffar, @qliphy can you please review it and eventually sign/assign? Thanks. cms-bot commands are listed here |
It looks like anyio package has dependencies that pip doesn't discover for us. (and the unit test that does import purest doesn't catch). @smuzaffar - perhaps that is because we do not check for install_requires ? |
@davidlange6 problem is that
while https://github.com/cms-sw/cmsdist/blob/IB/CMSSW_12_1_X/master/build-with-pip.file#L107 we look for |
Hum, google suggests this might be due to our setuptools being old.. (something I can get back to next week)
… On Oct 6, 2021, at 6:13 PM, Malik Shahzad Muzaffar ***@***.***> wrote:
@davidlange6 problem is that anyio package has not set any version so when we run pip3 check then it returns
anyio 0.0.0 requires idna, which is not installed.
anyio 0.0.0 requires sniffio, which is not installed.
while https://github.com/cms-sw/cmsdist/blob/IB/CMSSW_12_1_X/master/build-with-pip.file#L107 we look for ^${PKG_NAME} %{realversion . This check did not find any requirements and that is why cmsBuild did not complain. I will patch anyio sources to set the correct version
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
#7366 should fix this issue |
The
pytest
module in python 3 seems to be broken. This was noticed inCMSSW_12_1_0_pre3
. The commands in [1] are both returning the error message in [2]. A recipe to reproduce the issue is in [3].[1]
[2]
[3]
cmsrel CMSSW_12_1_0_pre3 cd CMSSW_12_1_0_pre3/src cmsenv python3 -m pytest --version
The text was updated successfully, but these errors were encountered: