Closed jaredsnyder closed 5 months ago
The tests are failing because of an issue with python 3.8 and the latest version of pytest. I can fix the issue by setting the pytest version to be <7 but I don't know if that makes sense for such a trivial change
The tests are failing because of an issue with python 3.8 and the latest version of pytest. I can fix the issue by setting the pytest version to be <7 but I don't know if that makes sense for such a trivial change
I think the long-term solution is probably to bump the python version for testing. I opened #210 for this.
Unless this is urgent, we can probably block it on #210? If this is urgent or #210 turns out to be more annoying than expected, go ahead and pin pytest, but as a separate PR that can be merged first.
I should clarify that I don't see any downstream impacts, adding __version__
should be harmless.
Unless this is urgent, we can probably block it on #210? If this is urgent or #210 turns out to be more annoying than expected, go ahead and pin pytest, but as a separate PR that can be merged first.
Not urgent, I agree we should wait for #210
This is meant to address this issue: https://github.com/mozilla/mozanalysis/issues/11
One can access the version using the version attribute:
It looks like the version is generated by
setuptools_scm
, and it gets grabbed byimportlib.metadata
. We could add a little logic just to grab the date part of it so it matches with the git tags.