Closed cipang closed 2 years ago
The root problem is that we are requiring an old version of regex until we address an issue in dateparser that prevents compatibility with newer versions of regex.
I am not sure whether your specific problem is that the version of regex that we require cannot be built for Python 3.11, or that you do not have the build dependencies for it. If it is the dependencies, you might be able to address this by looking at the build logs. Whichever the case, making dateparser work with newer versions of regex will solve this issue as well (if it is the dependencies, it would not be a problem with recent versions of regex, which provide a build for Python 3.11, so no compilation needed).
Closing in favor of https://github.com/scrapinghub/dateparser/issues/1045, but thank you for bringing up that Python 3.11 support is not either not possible or requires compiling regex.
When I install dateparser 1.1.3 on Python 3.11, it fails with the following error. I suspect the pinned version of regex cannot be compiled with Python 3.11. The latest version of regex is fine with Python 3.11, but it is not compatible yet with dateparser.
My OS is Ubuntu 22.04 x64