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 for dandischema 0.8.0 #1241

Merged
merged 2 commits into from
Mar 10, 2023
Merged

Update for dandischema 0.8.0 #1241

merged 2 commits into from
Mar 10, 2023

Conversation

jwodder
Copy link
Member

@jwodder jwodder commented Mar 6, 2023

Blocked by dandi/dandi-archive#1520.

There are still some typing errors that will be resolved once dandi/dandi-schema#163 is merged & released.

Closes #1249

@jwodder jwodder added the dependencies Update one or more dependencies version label Mar 6, 2023
@codecov
Copy link

codecov bot commented Mar 6, 2023

Codecov Report

Patch coverage: 97.29% and project coverage change: -0.01 ⚠️

Comparison is base (39a41df) 89.03% compared to head (ec5a57c) 89.03%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1241      +/-   ##
==========================================
- Coverage   89.03%   89.03%   -0.01%     
==========================================
  Files          76       76              
  Lines        9698     9709      +11     
==========================================
+ Hits         8635     8644       +9     
- Misses       1063     1065       +2     
Flag Coverage Δ
unittests 89.03% <97.29%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
dandi/download.py 88.33% <94.11%> (+0.13%) ⬆️
dandi/files/bids.py 99.15% <100.00%> (ø)
dandi/metadata.py 89.30% <100.00%> (-0.16%) ⬇️
dandi/support/typing.py 100.00% <100.00%> (ø)
dandi/tests/test_upload.py 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@@ -1,6 +1,6 @@
import sys

if sys.version_info >= (3, 8):
from typing import Literal, TypedDict # noqa: F401
from typing import Literal, Protocol, TypedDict # noqa: F401

Check notice

Code scanning / CodeQL

Unused import

Import of 'Literal' is not used. Import of 'Protocol' is not used. Import of 'TypedDict' is not used.
@@ -520,6 +520,14 @@
}


class Hasher(Protocol):
def update(self, data: bytes) -> None:
...

Check notice

Code scanning / CodeQL

Statement has no effect

This statement has no effect.
...

def hexdigest(self) -> str:
...

Check notice

Code scanning / CodeQL

Statement has no effect

This statement has no effect.
@yarikoptic
Copy link
Member

type checking isn't happy.
Also dandi-archive merged dandi/dandi-archive#1524 (comment) now , but not released. If we refresh -- will CI use/test against staging?

@jwodder
Copy link
Member Author

jwodder commented Mar 9, 2023

@yarikoptic The CI will use a Docker image built from the latest commit to master on dandi-archive, so it would effectively be testing against staging.

@yarikoptic
Copy link
Member

typechecking is still red

@satra
Copy link
Member

satra commented Mar 9, 2023

archive released an update setting minimium version to 0.6.4 this needs to be released asap to prevent clients from erroring. see #1249

@yarikoptic
Copy link
Member

archive released an update setting minimium version to 0.6.4 this needs to be released asap to prevent clients from erroring. see #1249

it didn't release yet . #1249 I believe is against staging -- see dandiset id there.

@CodyCBakerPhD
Copy link
Contributor

#1249 I believe is against staging -- see dandiset id there.

It's true, the CI tests upload to staging. Just wanted you to be aware as soon as it happened so same doesn't happen to the main server

@yarikoptic
Copy link
Member

pushed fix for typing

@jwodder jwodder added the release Create a release when this pr is merged label Mar 9, 2023
@jwodder jwodder marked this pull request as ready for review March 9, 2023 21:30
@yarikoptic
Copy link
Member

I dislike our too rigid dependency on versions correspondence... we should reconsider.
Meanwhile -- we will merge tomorrow in coordination with the release of the dandi-archive itself (attn @dandi/dandiarchive @dandi/archive-admin )

@yarikoptic yarikoptic merged commit 7fab628 into master Mar 10, 2023
@yarikoptic yarikoptic deleted the update-schema branch March 10, 2023 20:22
@github-actions
Copy link

🚀 PR was released in 0.51.0 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Update one or more dependencies version release Create a release when this pr is merged released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

dandi version error in staging
4 participants