oscar-python 1.3.3b3__tar.gz → 1.3.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {oscar_python-1.3.3b3 → oscar_python-1.3.4}/.github/workflows/release-build.yaml +12 -2
- {oscar_python-1.3.3b3 → oscar_python-1.3.4}/.github/workflows/tests.yaml +3 -1
- {oscar_python-1.3.3b3 → oscar_python-1.3.4}/PKG-INFO +8 -8
- {oscar_python-1.3.3b3 → oscar_python-1.3.4}/oscar_python/client.py +2 -0
- {oscar_python-1.3.3b3 → oscar_python-1.3.4}/oscar_python.egg-info/PKG-INFO +8 -8
- oscar_python-1.3.4/oscar_python.egg-info/requires.txt +10 -0
- {oscar_python-1.3.3b3 → oscar_python-1.3.4}/pyproject.toml +7 -7
- oscar_python-1.3.3b3/oscar_python.egg-info/requires.txt +0 -10
- {oscar_python-1.3.3b3 → oscar_python-1.3.4}/.gitignore +0 -0
- {oscar_python-1.3.3b3 → oscar_python-1.3.4}/LICENSE +0 -0
- {oscar_python-1.3.3b3 → oscar_python-1.3.4}/README.md +0 -0
- {oscar_python-1.3.3b3 → oscar_python-1.3.4}/jupyter_example/oscar_notebook.ipynb +0 -0
- {oscar_python-1.3.3b3 → oscar_python-1.3.4}/jupyter_example/services/cowsay_example/cowsay.yaml +0 -0
- {oscar_python-1.3.3b3 → oscar_python-1.3.4}/jupyter_example/services/cowsay_example/script.sh +0 -0
- {oscar_python-1.3.3b3 → oscar_python-1.3.4}/oscar_python/__init__.py +0 -0
- {oscar_python-1.3.3b3 → oscar_python-1.3.4}/oscar_python/_oidc.py +0 -0
- {oscar_python-1.3.3b3 → oscar_python-1.3.4}/oscar_python/_providers/_minio.py +0 -0
- {oscar_python-1.3.3b3 → oscar_python-1.3.4}/oscar_python/_providers/_onedata.py +0 -0
- {oscar_python-1.3.3b3 → oscar_python-1.3.4}/oscar_python/_providers/_providers_base.py +0 -0
- {oscar_python-1.3.3b3 → oscar_python-1.3.4}/oscar_python/_providers/_s3.py +0 -0
- {oscar_python-1.3.3b3 → oscar_python-1.3.4}/oscar_python/_providers/_webdav.py +0 -0
- {oscar_python-1.3.3b3 → oscar_python-1.3.4}/oscar_python/_utils.py +0 -0
- {oscar_python-1.3.3b3 → oscar_python-1.3.4}/oscar_python/client_anon.py +0 -0
- {oscar_python-1.3.3b3 → oscar_python-1.3.4}/oscar_python/default_client.py +0 -0
- {oscar_python-1.3.3b3 → oscar_python-1.3.4}/oscar_python/local_test.py +0 -0
- {oscar_python-1.3.3b3 → oscar_python-1.3.4}/oscar_python/storage.py +0 -0
- {oscar_python-1.3.3b3 → oscar_python-1.3.4}/oscar_python.egg-info/SOURCES.txt +0 -0
- {oscar_python-1.3.3b3 → oscar_python-1.3.4}/oscar_python.egg-info/dependency_links.txt +0 -0
- {oscar_python-1.3.3b3 → oscar_python-1.3.4}/oscar_python.egg-info/top_level.txt +0 -0
- {oscar_python-1.3.3b3 → oscar_python-1.3.4}/setup.cfg +0 -0
- {oscar_python-1.3.3b3 → oscar_python-1.3.4}/setup.py +0 -0
- {oscar_python-1.3.3b3 → oscar_python-1.3.4}/tests/test_client.py +0 -0
- {oscar_python-1.3.3b3 → oscar_python-1.3.4}/tests/test_default_client.py +0 -0
- {oscar_python-1.3.3b3 → oscar_python-1.3.4}/tests/test_oidc.py +0 -0
- {oscar_python-1.3.3b3 → oscar_python-1.3.4}/tests/test_onedata.py +0 -0
- {oscar_python-1.3.3b3 → oscar_python-1.3.4}/tests/test_s3.py +0 -0
- {oscar_python-1.3.3b3 → oscar_python-1.3.4}/tests/test_storage.py +0 -0
- {oscar_python-1.3.3b3 → oscar_python-1.3.4}/tests/test_utils.py +0 -0
- {oscar_python-1.3.3b3 → oscar_python-1.3.4}/tests/test_webdav.py +0 -0
|
@@ -13,6 +13,8 @@ permissions:
|
|
|
13
13
|
jobs:
|
|
14
14
|
release-build:
|
|
15
15
|
runs-on: ubuntu-latest
|
|
16
|
+
outputs:
|
|
17
|
+
version: ${{ steps.get_version.outputs.version }}
|
|
16
18
|
|
|
17
19
|
steps:
|
|
18
20
|
- name: Checkout
|
|
@@ -27,6 +29,14 @@ jobs:
|
|
|
27
29
|
with:
|
|
28
30
|
python-version: "3.12"
|
|
29
31
|
|
|
32
|
+
- name: Get version from setuptools-scm
|
|
33
|
+
id: get_version
|
|
34
|
+
run: |
|
|
35
|
+
python -m pip install setuptools-scm
|
|
36
|
+
version=$(python -m setuptools_scm)
|
|
37
|
+
echo "version=$version" >> $GITHUB_OUTPUT
|
|
38
|
+
echo "Package version: $version"
|
|
39
|
+
|
|
30
40
|
- name: Build release distributions
|
|
31
41
|
run: |
|
|
32
42
|
python -m pip install build
|
|
@@ -50,8 +60,8 @@ jobs:
|
|
|
50
60
|
# For more information, see: https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment#deployment-protection-rules
|
|
51
61
|
environment:
|
|
52
62
|
name: pypi
|
|
53
|
-
# PyPI project URL
|
|
54
|
-
url: https://pypi.org/project/oscar-python/${{
|
|
63
|
+
# PyPI project URL with the exact version (e.g., 1.3.3 or 1.3.3b3)
|
|
64
|
+
url: https://pypi.org/project/oscar-python/${{ needs.release-build.outputs.version }}/
|
|
55
65
|
|
|
56
66
|
steps:
|
|
57
67
|
- name: Retrieve release distributions
|
|
@@ -19,7 +19,9 @@ jobs:
|
|
|
19
19
|
python-version: '3.12'
|
|
20
20
|
|
|
21
21
|
- name: Install dependencies
|
|
22
|
-
run:
|
|
22
|
+
run: |
|
|
23
|
+
python -m pip install --upgrade pip
|
|
24
|
+
python -m pip install -e .[dev]
|
|
23
25
|
|
|
24
26
|
- name: Run tests
|
|
25
27
|
run: python -m pytest tests --cov=oscar_python
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: oscar-python
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.4
|
|
4
4
|
Summary: Python client for OSCAR clusters
|
|
5
5
|
Author: GRyCAP - I3M - UPV
|
|
6
6
|
License: Apache-2.0
|
|
@@ -10,15 +10,15 @@ Keywords: oscar,faas,serverless
|
|
|
10
10
|
Requires-Python: >=3.8
|
|
11
11
|
Description-Content-Type: text/markdown
|
|
12
12
|
License-File: LICENSE
|
|
13
|
-
Requires-Dist: requests
|
|
13
|
+
Requires-Dist: requests
|
|
14
14
|
Requires-Dist: webdavclient3>=3.14.6
|
|
15
|
-
Requires-Dist: boto3
|
|
16
|
-
Requires-Dist: pyyaml
|
|
17
|
-
Requires-Dist: aiohttp
|
|
18
|
-
Requires-Dist: liboidcagent
|
|
15
|
+
Requires-Dist: boto3
|
|
16
|
+
Requires-Dist: pyyaml
|
|
17
|
+
Requires-Dist: aiohttp
|
|
18
|
+
Requires-Dist: liboidcagent
|
|
19
19
|
Provides-Extra: dev
|
|
20
|
-
Requires-Dist: pytest
|
|
21
|
-
Requires-Dist: pytest-cov
|
|
20
|
+
Requires-Dist: pytest; extra == "dev"
|
|
21
|
+
Requires-Dist: pytest-cov; extra == "dev"
|
|
22
22
|
Dynamic: license-file
|
|
23
23
|
|
|
24
24
|
## Python OSCAR client
|
|
@@ -198,6 +198,8 @@ class Client(DefaultClient):
|
|
|
198
198
|
return utils.make_request(self, _SVC_PATH+"/"+name, _DELETE)
|
|
199
199
|
|
|
200
200
|
def _get_token(self, svc):
|
|
201
|
+
if self._AUTH_TYPE != 'basicauth':
|
|
202
|
+
return self.get_access_token()
|
|
201
203
|
service = utils.make_request(self, _SVC_PATH+"/"+svc, _GET)
|
|
202
204
|
service = json.loads(service.text)
|
|
203
205
|
return service["token"]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: oscar-python
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.4
|
|
4
4
|
Summary: Python client for OSCAR clusters
|
|
5
5
|
Author: GRyCAP - I3M - UPV
|
|
6
6
|
License: Apache-2.0
|
|
@@ -10,15 +10,15 @@ Keywords: oscar,faas,serverless
|
|
|
10
10
|
Requires-Python: >=3.8
|
|
11
11
|
Description-Content-Type: text/markdown
|
|
12
12
|
License-File: LICENSE
|
|
13
|
-
Requires-Dist: requests
|
|
13
|
+
Requires-Dist: requests
|
|
14
14
|
Requires-Dist: webdavclient3>=3.14.6
|
|
15
|
-
Requires-Dist: boto3
|
|
16
|
-
Requires-Dist: pyyaml
|
|
17
|
-
Requires-Dist: aiohttp
|
|
18
|
-
Requires-Dist: liboidcagent
|
|
15
|
+
Requires-Dist: boto3
|
|
16
|
+
Requires-Dist: pyyaml
|
|
17
|
+
Requires-Dist: aiohttp
|
|
18
|
+
Requires-Dist: liboidcagent
|
|
19
19
|
Provides-Extra: dev
|
|
20
|
-
Requires-Dist: pytest
|
|
21
|
-
Requires-Dist: pytest-cov
|
|
20
|
+
Requires-Dist: pytest; extra == "dev"
|
|
21
|
+
Requires-Dist: pytest-cov; extra == "dev"
|
|
22
22
|
Dynamic: license-file
|
|
23
23
|
|
|
24
24
|
## Python OSCAR client
|
|
@@ -13,18 +13,18 @@ authors = [{name = "GRyCAP - I3M - UPV"}]
|
|
|
13
13
|
keywords = ["oscar", "faas", "serverless"]
|
|
14
14
|
|
|
15
15
|
dependencies = [
|
|
16
|
-
"requests
|
|
16
|
+
"requests",
|
|
17
17
|
"webdavclient3>=3.14.6",
|
|
18
|
-
"boto3
|
|
19
|
-
"pyyaml
|
|
20
|
-
"aiohttp
|
|
21
|
-
"liboidcagent
|
|
18
|
+
"boto3",
|
|
19
|
+
"pyyaml",
|
|
20
|
+
"aiohttp",
|
|
21
|
+
"liboidcagent",
|
|
22
22
|
]
|
|
23
23
|
|
|
24
24
|
[project.optional-dependencies]
|
|
25
25
|
dev = [
|
|
26
|
-
"pytest
|
|
27
|
-
"pytest-cov
|
|
26
|
+
"pytest",
|
|
27
|
+
"pytest-cov",
|
|
28
28
|
]
|
|
29
29
|
|
|
30
30
|
[project.urls]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{oscar_python-1.3.3b3 → oscar_python-1.3.4}/jupyter_example/services/cowsay_example/cowsay.yaml
RENAMED
|
File without changes
|
{oscar_python-1.3.3b3 → oscar_python-1.3.4}/jupyter_example/services/cowsay_example/script.sh
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|