Comments (12)
I haven't forgotten about this, just got very little time atm. It's still on my to-do list!
from flask-restx.
Flask-restx community, thanks for your patience on this! :)
I have just merged all the most recent PRs and done some general tidy up. Flask-restx 1.3.0 should hit PyPi in a few minutes. Flask and Werkzeug >=3.0.0 should now work correctly again.
There is still a deprecation warning relating to jsonschema, however it doesn't currently impact functionality. I will hopefully get some time to deep dive on how to fix it over the coming weeks.
Please file a new issue (or PR if you have the time!) if you find anything is broken or funny.
from flask-restx.
@nachitox Great news. I will try and get everything merged over the coming days, pretty flat out with other things this week.
from flask-restx.
Just pinning this to keep it at the top. It is our intention to update flask-restx to support Flask 3.0.0+ as soon as possible, but it is currently blocked because, as @Ryu-CZ mentioned, we use pytest-flask
to mock flask components, and it is also broken by the new Flask version.
Thankfully, the project is still active so hopefully will be fixed shortly. You can follow the discussion here: pytest-dev/pytest-flask#167
from flask-restx.
@safe I've created a PR for this. Can you just run your eye over it and make sure it's all fine? #579
from flask-restx.
pytest-flask
was upgraded yesterday.
from flask-restx.
The new version is on PyPI. Should this be closed?
from flask-restx.
At least one part is being tackled here: #567
So I'd say there is hope.
from flask-restx.
I made a few patches for major issues, but tool the flask-restx
is using to mock test flask
compatibility are unfortunately also broken by transition to 3.0. So pull request reviews could take some time.
This unfortunately can put also block your projects from integration of flask
3.0. I put a hotfixes to restx-monkey
5.1+ which makes 3.0 flask
and flask-restx
compatible again so you can test and resolve your own code base compatibilities issues, while flask-restx
teams does the same. I hope this could save you some time.
from flask-restx.
@peter-doggart Thoughts on pinning flask to < 3.0.0 until this is resolved? I can raise a PR if so.
from flask-restx.
I have now released flask-restx==1.2.0 which contains restrictions on some version until we can get everything updated (still awaiting pytest-flask updates) so that a default installation isn't broken.
Anyone who wants to make use of restx-monkey can install flask-restx==1.1.0
and then patch which will allow flask >=3.0.0 usage.
from flask-restx.
Great news!
from flask-restx.
Related Issues (20)
- Adding Default Decorator to Specific endpoints ( Eg : All methods except GET ) : User Authorization Usecase HOT 3
- Value of different types (e.g., str, list) HOT 2
- Flask restx is not compatible with StrictUndefined mode of jinja
- ModuleNotFoundError: No module named 'flask.scaffold' HOT 11
- Wrong status code and message on responses when handling `HTTPException`s HOT 1
- Flask-restx with Marshmallow schemas HOT 2
- Support Werkzeug 3.0 HOT 5
- A way to use custom HTTP methods HOT 2
- Flask Limiter Integration HOT 2
- Provide feedback for improvement
- Update enums schema from OpenAPI 2.0 to OpenAPI 3.0 HOT 2
- Error : `ModuleNotFoundError: No module named 'flask.scaffold'` HOT 2
- How can Model represent a non-json schema for the swagger example?
- [bug] v1.3.0 ModuleNotFoundError: No module named 'importlib.metadata' (v1.2.0 is OK) HOT 1
- request body validation is not working HOT 2
- should RESTX_ERROR_404_HELP be disabled by default? HOT 1
- How to integrate restx with blueprint based library like openbrokerapi
- How to use 'form' location and process request as json? HOT 6
- Problem with adding oauth2.0 (flow=password) authentication function settings on the swagger page
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 flask-restx.