File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
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
+ - fix 'Provider' method signature to allow custom CA-Bundles (0.2.32)
17
18
- initialize headers variable in do_request (0.2.31)
18
19
- Make reproducible targz without mimetype (0.2.30)
19
20
- don't include Content-Length header in upload_manifest (0.2.29)
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ def __init__(
48
48
self ,
49
49
hostname : Optional [str ] = None ,
50
50
insecure : bool = False ,
51
- tls_verify : bool = True ,
51
+ tls_verify : Union [ bool , str ] = True ,
52
52
auth_backend : str = "token" ,
53
53
):
54
54
"""
@@ -58,10 +58,12 @@ def __init__(
58
58
59
59
:param hostname: the hostname of the registry to ping
60
60
:type hostname: str
61
- :param registry: if provided, use this custom provider instead of default
62
- :type registry: oras.provider.Registry or None
63
61
:param insecure: use http instead of https
64
62
:type insecure: bool
63
+ :param tls_verify: enable/disable tls verification or use a custom CA-Bundle
64
+ :type tls_verify: bool
65
+ :param auth_backend: name of the auth backend to use
66
+ :type auth_backend: str
65
67
"""
66
68
self .hostname : Optional [str ] = hostname
67
69
self .headers : dict = {}
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.2.31 "
5
+ __version__ = "0.2.32 "
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