Comments (5)
@profile-55 @Daniel-Ross
This is related to pydantic-v2 not being supported and no version tagging in the setup.py file as of yet.
#210
Forks do exist of Rocketry with pydantic.v1 shoe horned into the imports and a couple of PRs exist in fixing the overarching issue. But theres still ongoing work and Miksus is busy with other things at the moment.
If you need a quick fix, tie pydantic to v1.10.10 in your requirements.txt files and re-install pydantic in your venvs
pip uninstall pydantic
pip install pydantic==1.10.10
If you desperately need to use pydantic v2 (like with a requirement for another module you're using) then maybe take a look at one of the forks someone has done in the short term.
from rocketry.
I'm getting this error as well. Fresh install this morning.
from rocketry.
Is there any chance that this will be fixed in the near future?
from rocketry.
Is there any chance that this will be fixed in the near future?
@MMartin09 The blocker in this is the RedBird PR. Once thats finished then theres probably just some tweaks to do to the Rocketry PR. I just haven't really had time to look at the RedBird PR. Its quite difficult to migrate due to the variety of ways Pydantic has been used that aren't compatible with v2 and each issue requires a lot of digging to find an alternate solution.
I'm quite tied up with work so haven't really had time to look further and I expect I should be busy for another month or so. I'll try continue the PR when I can, but when its finished I'm not sure when Miksus will be around to review the PR. Probably not going to be a quick solution in the short term from my end.
from rocketry.
Okay great. Thanks for the detailed answer!
from rocketry.
Related Issues (20)
- ENH - API for viewing the task queue HOT 1
- Add tasks during runtime HOT 1
- TypeError: issubclass() arg 1 must be a class HOT 2
- ENH - Downtime recovery (persistance, crash recovery, process restart)
- ENH - Change task schedule on fly
- Warning error HOT 1
- @app.task(minutely & (time_of_week.between('Mon', 'Sat') & time_of_day.between('3:00', '10:00'))) HOT 1
- Pydantic v2 support HOT 25
- flask support
- Adding task on fly is not working in all scenarios HOT 1
- Optimization: Short circuit evaluation
- BUG: Hourly tasks are being run on server restarts HOT 1
- BUG HOT 1
- Is there any way to schedule an async function using 'threads' or 'processes'?
- pydantic.errors.PydanticUserError: `const` is removed, use `Literal` instead HOT 4
- Conditions: cron "0/20 * * * *" is not same as "*/20 * * * *" HOT 2
- Exception Log
- chain decorators
- Rocketry not working at all... HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rocketry.