Skip to content
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

update to pydantic 2.0 and other dependencies #675

Merged
merged 4 commits into from
Jul 27, 2023
Merged

Conversation

vincentsarago
Copy link
Member

This PR update the different submodules with pydantic 2.0 (meaning new version of rio-tiler/morecantile/rio-cogeo/cogeo-mosaic/geosjon-pydantic 😅)

else:
from typing_extensions import Annotated

from typing_extensions import Annotated
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looking at typing_extensions code it will make the choice between typing.annotated and its own for us so no need to check the python version here

@vincentsarago
Copy link
Member Author

vincentsarago commented Jul 26, 2023

# Main
{	
	"transactions":			         100,
	"availability":			      100.00,
	"elapsed_time":			        4.00,
	"data_transferred":		        5.29,
	"response_time":		        0.04,
	"transaction_rate":		       25.00,
	"throughput":			        1.32,
	"concurrency":			        1.00,
	"successful_transactions":	         100,
	"failed_transactions":		           0,
	"longest_transaction":		        0.08,
	"shortest_transaction":		        0.02
}

# pydantic V2.0
{	
	"transactions":			         100,
	"availability":			      100.00,
	"elapsed_time":			        4.25,
	"data_transferred":		        5.29,
	"response_time":		        0.04,
	"transaction_rate":		       23.53,
	"throughput":			        1.24,
	"concurrency":			        1.00,
	"successful_transactions":	         100,
	"failed_transactions":		           0,
	"longest_transaction":		        0.09,
	"shortest_transaction":		        0.03
}

🤔

@vincentsarago vincentsarago merged commit f5f9a4b into main Jul 27, 2023
@vincentsarago vincentsarago deleted the requirementsUpdate branch July 27, 2023 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant