-
Notifications
You must be signed in to change notification settings - Fork 7
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
build(python): bump project dependencies #1728
Conversation
e625f58
to
3998b08
Compare
3998b08
to
9327e30
Compare
9327e30
to
a9a2b9f
Compare
fcf6a87
to
4ff6734
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any documentation about migration ? What deps are you upgrading ? Only FastAPI ?
4ff6734
to
8b1753c
Compare
a1275c8
to
92f9e96
Compare
Sonar raises a Security issue concerning the code |
antarest/tools/lib.py
Outdated
self.session = session or Session() | ||
self.session.verify = False | ||
# Setting verify to `False` may be useful during local development or testing. | ||
self.session = session or Client(verify=False) |
Check failure
Code scanning / SonarCloud
Server certificates should be verified during SSL/TLS connections High
…ython-dependencies Signed-off-by: Sylvain Leclerc <[email protected]>
- improve checker to skip licensed subfolders - remove some wrong copyrights from forked projects Signed-off-by: Sylvain Leclerc <[email protected]>
…ython-dependencies Signed-off-by: Sylvain Leclerc <[email protected]>
Signed-off-by: Sylvain Leclerc <[email protected]>
…tion Signed-off-by: Sylvain Leclerc <[email protected]>
Signed-off-by: Sylvain Leclerc <[email protected]>
otherwise options such as populate_by_name are not correctly taken into account Signed-off-by: Sylvain Leclerc <[email protected]>
Signed-off-by: Sylvain Leclerc <[email protected]>
431bb60
to
f332df1
Compare
Distinguish root_path and api_prefix. root_path is to be used when a proxy prepends a prefix for the client, api_prefix is to be used when we want our server itself to prepend a prefix. Signed-off-by: Sylvain Leclerc <[email protected]>
Signed-off-by: Sylvain Leclerc <[email protected]>
Signed-off-by: Sylvain Leclerc <[email protected]>
For this, although it's in the CLI tool, I preferred to really solve the issue by letting the command line user take the responsibility of disabling SSL certification, through a new argument |
bumps main projection dependencies: - `pydantic` from 1.9 to 2.8: huge breaking change but with large performance benefits expected on serialization - `fastapi` from 0.73 to 0.110 - `uvicorn` from to 0.15 to 0.30 - `mypy` from 1.4 to 1.11 It also brings few changes inside dependencies - Drop `requests` in favor of `httpx` - Drop `fastapi-jwt-auth` as they do not and will not support pydantic v2. We've decided to fork their code and adapt it as it's really light (see new folder `/antarest/fastapi_jwt_auth`) These changes also induced other minor dependencies bump: `jinja2`, `typing_extensions`, `PyJWT`, `python-multipart` Last, this work includes fixes on the API prefix addition when running in standalone mode (desktop version). We now distinguish properties root_path (used when behind a proxy) and api_prefix (which actually makes our server add a prefix). Co-authored-by: belthlemar <[email protected]> Co-authored-by: Sylvain Leclerc <[email protected]>
bumps main projection dependencies: - `pydantic` from 1.9 to 2.8: huge breaking change but with large performance benefits expected on serialization - `fastapi` from 0.73 to 0.110 - `uvicorn` from to 0.15 to 0.30 - `mypy` from 1.4 to 1.11 It also brings few changes inside dependencies - Drop `requests` in favor of `httpx` - Drop `fastapi-jwt-auth` as they do not and will not support pydantic v2. We've decided to fork their code and adapt it as it's really light (see new folder `/antarest/fastapi_jwt_auth`) These changes also induced other minor dependencies bump: `jinja2`, `typing_extensions`, `PyJWT`, `python-multipart` Last, this work includes fixes on the API prefix addition when running in standalone mode (desktop version). We now distinguish properties root_path (used when behind a proxy) and api_prefix (which actually makes our server add a prefix). Co-authored-by: belthlemar <[email protected]> Co-authored-by: Sylvain Leclerc <[email protected]>
bumps main projection dependencies: - `pydantic` from 1.9 to 2.8: huge breaking change but with large performance benefits expected on serialization - `fastapi` from 0.73 to 0.110 - `uvicorn` from to 0.15 to 0.30 - `mypy` from 1.4 to 1.11 It also brings few changes inside dependencies - Drop `requests` in favor of `httpx` - Drop `fastapi-jwt-auth` as they do not and will not support pydantic v2. We've decided to fork their code and adapt it as it's really light (see new folder `/antarest/fastapi_jwt_auth`) These changes also induced other minor dependencies bump: `jinja2`, `typing_extensions`, `PyJWT`, `python-multipart` Last, this work includes fixes on the API prefix addition when running in standalone mode (desktop version). We now distinguish properties root_path (used when behind a proxy) and api_prefix (which actually makes our server add a prefix). Co-authored-by: belthlemar <[email protected]> Co-authored-by: Sylvain Leclerc <[email protected]>
Martin:
This PR aims at bumping several project dependencies:
pydantic
from 1.9.0 to 2.8.2fastapi
from 0.73.0 to 0.110.3uvicorn
from to 0.15.0 to 0.30.6mypy
from 1.4.1 to 1.11.1It also brings few changes inside dependencies
requests
in favor ofhttpx
fastapi-jwt-auth
as they do not and will not support pydantic v2. We've decided to copy their code and adapt it as it's really light (see new folder/antarest/fastapi_jwt_auth
)These changes also induced other minor dependencies bump:
jinja2
,typing_extensions
,PyJWT
,python-multipart