File tree Expand file tree Collapse file tree 4 files changed +4
-3
lines changed Expand file tree Collapse file tree 4 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ and **Merged pull requests**. Critical items to know are:
14
14
The versions coincide with releases on pip. Only major versions will be released as tags on Github.
15
15
16
16
## [ 0.0.x] ( https://github.com/oras-project/oras-py/tree/main ) (0.0.x)
17
+ - patch fix for empty manifest config on Windows, closes issue [ 90] ( https://github.com/oras-project/oras-py/issues/90 ) (0.1.18)
17
18
- patch fix to correct session url pattern, closes issue [ 78] ( https://github.com/oras-project/oras-py/issues/78 ) (0.1.17)
18
19
- add support for tag deletion and retry decorators (0.1.16)
19
20
- bugfix that pagination sets upper limit of 10K (0.1.15)
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ def ManifestConfig(
128
128
"""
129
129
# Create an empty config if we don't have one
130
130
if not path or not os .path .exists (path ):
131
- path = "/dev/null"
131
+ path = os . devnull
132
132
conf = {
133
133
"mediaType" : media_type or oras .defaults .unknown_config_media_type ,
134
134
"size" : 0 ,
Original file line number Diff line number Diff line change @@ -430,7 +430,7 @@ def download_blob(
430
430
# Allow an empty layer to fail and return /dev/null
431
431
except Exception as e :
432
432
if digest == oras .defaults .blank_hash :
433
- return "/dev/null"
433
+ return os . devnull
434
434
raise e
435
435
return outfile
436
436
Original file line number Diff line number Diff line change 2
2
__copyright__ = "Copyright The ORAS Authors."
3
3
__license__ = "Apache-2.0"
4
4
5
- __version__ = "0.1.17 "
5
+ __version__ = "0.1.18 "
6
6
AUTHOR = "Vanessa Sochat"
7
7
EMAIL = "vsoch@users.noreply.github.com"
8
8
NAME = "oras"
You can’t perform that action at this time.
0 commit comments