laughingman7743 / PyAthena

PyAthena is a Python DB API 2.0 (PEP 249) client for Amazon Athena.
MIT License
457 stars 102 forks source link

Support for Python 3.12 (fix #482) #505

Closed laughingman7743 closed 5 months ago

laughingman7743 commented 5 months ago

https://stackoverflow.com/questions/77364550/attributeerror-module-pkgutil-has-no-attribute-impimporter-did-you-mean 🤔

laughingman7743 commented 5 months ago

Markers don't work; there is no decent package manager in Python. 😢 https://github.com/pdm-project/pdm/issues/46

    "numpy>=1.24.0,<1.26.0;python_version<\"3.9\"",
    "numpy>=1.26.0;python_version>=\"3.9\"",
laughingman7743 commented 5 months ago

https://lucumr.pocoo.org/2024/2/4/rye-a-vision/ https://github.com/mitsuhiko/rye

edgarrmondragon commented 5 months ago

If having lock file isn't a strict requirement for you, you could give Hatch a try (maybe with https://github.com/juftin/hatch-pip-compile)

jayceslesar commented 5 months ago

seems weird to have an error on such a low round for PDM? Did that release of numpy get yanked or something? I see....

laughingman7743 commented 5 months ago

I will try the combination of rye and hatch this weekend. https://github.com/mitsuhiko/rye https://github.com/pypa/hatch

laughingman7743 commented 5 months ago

https://github.com/mitsuhiko/rye/issues/206

laughingman7743 commented 5 months ago

https://github.com/laughingman7743/PyAthena/pull/513