-
Notifications
You must be signed in to change notification settings - Fork 55
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
question: plan for pendulum_dt
given lack of 3.13
support
#239
Comments
in case its helpful to anyone, this works (with aforementioned disclaimer that its not ideal to install rust for FROM ghcr.io/astral-sh/uv:python3.13-bookworm-slim
ENV UV_SYSTEM_PYTHON=1
ENV RUSTUP_HOME=/usr/local/rustup \
CARGO_HOME=/usr/local/cargo \
PATH=/usr/local/cargo/bin:$PATH
RUN apt-get update && \
apt-get install -y --no-install-recommends \
curl \
build-essential && \
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain stable -y && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
CMD ["uvx", "prefect", "server", "start"] |
@yezz123 any thoughts? |
Hello @zzstoatzz 👋🏻 , This issue isn't directly related to pydantic-extra-types, but it impacts our ecosystem. Here are some potential approaches we could consider: Community Fork Strategy
Alternative Options
Next Steps
Would the community be interested in collaborating on a temporary fork solution? This could help bridge the gap while we await official Python 3.13 support from Pendulum. |
Thanks for the response @yezz123!
So, to clarify: the » uv run --python 3.13 --with pydantic-extra-types --with pendulum python -c "from pydantic_extra_types.pendulum_dt import DateTime"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/nate/Library/Caches/uv/archive-v0/6asPR-YLBwuoyda2jagNN/lib/python3.13/site-packages/pydantic_extra_types/pendulum_dt.py", line 18, in <module>
from pydantic import GetCoreSchemaHandler
File "/Users/nate/Library/Caches/uv/archive-v0/6asPR-YLBwuoyda2jagNN/lib/python3.13/site-packages/pydantic/__init__.py", line 418, in __getattr__
module = import_module(module_name, package=package)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/importlib/__init__.py", line 88, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/nate/Library/Caches/uv/archive-v0/6asPR-YLBwuoyda2jagNN/lib/python3.13/site-packages/pydantic/annotated_handlers.py", line 7, in <module>
from pydantic_core import core_schema
File "/Users/nate/Library/Caches/uv/archive-v0/6asPR-YLBwuoyda2jagNN/lib/python3.13/site-packages/pydantic_core/__init__.py", line 6, in <module>
from ._pydantic_core import (
ImportError: dlopen(/Users/nate/Library/Caches/uv/archive-v0/6asPR-YLBwuoyda2jagNN/lib/python3.13/site-packages/pydantic_core/_pydantic_core.cpython-313-darwin.so, 0x0002): symbol not found in flat namespace '_PyList_GetItemRef'
While tracking the upstream issue would normally make a lot of sense to me, the concern that lead me to create this issue was the uncertainty around pendulum's ongoing maintenance.
I'm curious about |
Sorry for not getting back to you sooner @zzstoatzz . For datetime support in Python 3.13, I'm exploring these options:
In the short term, I'd recommend either:
Would you be interested in contributing to any of these approaches? We could especially use help with option 1 or 2. Let me know if you'd like to explore these options more. |
thanks for the response @yezz123 - let me discuss the options with my team and get back to you here! |
I would have opened a discussion, but I appear unable
Is there any plan for what to do about pendulum's lack of 3.13 support? and general uncertainty around maintenance
It's unclear from their issues whether support will be added, but of course we would (at Prefect) like to support 3.13 as soon as we can.
Just opening this to start a conversation - cheers!
it appears with lack of published wheels, we'd be forced to install rust ... which doesn't seem ideal
The text was updated successfully, but these errors were encountered: