-
Notifications
You must be signed in to change notification settings - Fork 32
pydantic2 migration made integration tests green #6719
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
Merged
GitHK
merged 54 commits into
ITISFoundation:pydantic_v2_migration_do_not_squash_updates
from
GitHK:pr-osparc-pydantic2-integration-libraries2
Nov 18, 2024
Merged
Changes from all commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
cdd69d9
fixed integration tests for simcore-sdk
cd6db0b
added missing dependency
10b28a7
fixed prod.txt
941039c
fixed library name
ffb95f1
fixed broken validator
17798cc
fixed broken tests
f3bf668
disable opentelementry for testing stacks
732d5f9
fixed conftest
657075c
fixed broken test
d0ba06a
refactor
71f10c5
fixed integration tests for osparc-gateway-server
7b3c820
refactor
ff307d6
Merge remote-tracking branch 'upstream/pydantic_v2_migration_do_not_s…
838bc84
added missing imports
4b8dc22
fix url
giancarloromeo 8a22850
fixed pydanticv1 issue
88d43e4
fixed test
5c7fc53
Merge branch 'pr-osparc-pydantic2-integration-libraries2' of github.c…
964b515
fixed routes
dbc9f5b
fixed patch
9efe3b9
fixed union parsing
e283d7e
remove assert
06071a6
aiodocker format
a34dfdd
fix url type
giancarloromeo ba57a0e
fix urls
giancarloromeo 1914139
deprecating legacy url
777b469
Merge branch 'pr-osparc-pydantic2-integration-libraries2' of github.c…
188f97c
removed LegacyUrl
a66bc5e
using newer version
3bcd09e
fixed broken test
2daf0ca
bump service version
d48271c
Merge remote-tracking branch 'upstream/pydantic_v2_migration_do_not_s…
ddaa28b
fixed typing
48c0058
bumped service versions
2558636
fixed typing warnings
871c27b
added missing packages
e2fc69b
fixed missing package
00f906b
attempt to avoid flaky test
b968a23
refactor and migrated to yarl
30dab5e
pylint
08f3c52
revert flaky test
3cb8af8
added missing
a7a3257
Merge remote-tracking branch 'upstream/pydantic_v2_migration_do_not_s…
8e6175d
reverting
6bdc21a
renaming
d34318d
service owner is None by default if not found
c30b583
fixed warnings in tests
8ce43ab
revert
0e52fdd
pylint
e2fe840
pylint
ac299de
mypy fixes adding access_rights
f75fb75
fixed broken tests
819cee6
updated description
c369d3e
Merge remote-tracking branch 'upstream/pydantic_v2_migration_do_not_s…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
packages/pytest-simcore/src/pytest_simcore/helpers/storage.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| from collections.abc import Callable | ||
|
|
||
| from yarl import URL | ||
|
|
||
|
|
||
| def replace_storage_endpoint(host: str, port: int) -> Callable[[str], str]: | ||
| def _(url: str) -> str: | ||
| url_obj = URL(url).with_host(host).with_port(port) | ||
GitHK marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| return f"{url_obj}" | ||
|
|
||
| return _ | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.