Closed potiuk closed 4 years ago
@potiuk I'm hitting the same error on Python 3.7.5, based on quick googling it seems to be a problem with the way pytest-runner
creates temporary directories. Can look into this later, for now I suggest checking out the 0.5.9
tag or 0.5
branch from GitHub and doing a pip install .
.
Yep. We did that as a workaround we added limits for pydruid. Happy to remove it when it's fixed :)
Also running into this.
FWIW, pytest predates my involvement in this repo. Happy to review code that will make us 3.7.x compatible.
Could this be fixed as part of #190 by removing pytest
and pytest-runner
from setup.py
?
https://github.com/pytest-dev/pytest-runner/blob/master/README.rst#deprecation-notice
Should we move away from pytest and onto something like nosetest? How much work would that represent?
Agreed, we need to deprecate pytest
, although I believe nose
is also on its way out (I haven't tried it personally, but apparently nose2
is the successor of nose
).
FYI @naoyak and @potiuk : this should now be fixed in pydruid==0.5.11
.
Cool. Will try it :)
Thanks! Tested and removed the upper bound here https://github.com/apache/airflow/pull/9965 . After we merge it to master it should automatically land in our "official" constraints file with 0.6.1 (current latest pydruid version)
When we try to install released yesterday pydruid 0.5.9 on python 3.7 during our CI pipeline it fails to install. Looks like it is somewhow related to pytest runner (I guess some pytest dependency in druid moved from setup-requires to install-requires maybe?)
Example here: https://travis-ci.org/github/apache/airflow/jobs/662274100?utm_medium=notification&utm_source=github_status