crate / crate-python

Python DB API client library for CrateDB, using HTTP.
https://cratedb.com/docs/python/
Apache License 2.0
78 stars 31 forks source link

Chore: Fix software tests #617

Closed amotl closed 5 months ago

amotl commented 5 months ago

About

Nightly test runs started failing 3 weeks ago, more specifically on Wed, 22 May 2024 2 o'clock AM GMT.

Problem

Test runs on Python 3.12 are tripped by this error, coming from zc.buildout.

 Traceback (most recent call last):
  File "/path/to/.venv/bin/buildout", line 5, in <module>
    from zc.buildout.buildout import main
  File "/path/to/.venv/lib/python3.12/site-packages/zc/buildout/buildout.py", line 18, in <module>
    import zc.buildout.easy_install
  File "/path/to/.venv/lib/python3.12/site-packages/zc/buildout/easy_install.py", line 28, in <module>
    from pkg_resources import packaging
ImportError: cannot import name 'packaging' from 'pkg_resources'

Thoughts

How could it have worked before?

matriv commented 5 months ago

Thx for taking care @amotl !