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

weird errors when expanding test coverage for openeo_driver.utils.logging #230

Closed
soxofaan opened this issue Sep 27, 2023 · 3 comments
Closed

Comments

@soxofaan
Copy link
Member

While working on logging tweaks for Open-EO/openeo-aggregator#74 I expanded openeo_driver.utils.logging feature set a bit and improved related test coverage.

On jenkins, some tests in https://github.com/Open-EO/openeo-python-driver/blob/master/tests/util/test_logging.py (using the pytester fixture) started to fail because of weird warning (?) in the output of some test scripts:

Error processing line 1 of
/usr/local/lib/python3.8/site-packages/distutils-precedence.pth:

  Traceback (most recent call last):
    File "/usr/lib64/python3.8/site.py", line 169, in addpackage
      exec(line)
    File "<string>", line 1, in <module>
  AttributeError: module '_distutils_hack' has no attribute 'ensure_shim'

Remainder of file ignored
@soxofaan
Copy link
Member Author

we already had that problem in #193 apparently

problem is discussed at pypa/setuptools#2983 and pypa/setuptools#2957

upgrading setuptools in the jenkins setup to a recent enough version is probably going to take some time, so it's probably best, to just ignore these warnings for now

@soxofaan
Copy link
Member Author

internal ref: GDD-2879

@soxofaan
Copy link
Member Author

closing this one for now, warnings are now being workarounded

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant