python-chi 1.2.3__tar.gz → 1.2.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.
Files changed (75) hide show
  1. python_chi-1.2.4/AUTHORS +1 -0
  2. python_chi-1.2.4/ChangeLog +7 -0
  3. {python_chi-1.2.3 → python_chi-1.2.4}/PKG-INFO +1 -1
  4. {python_chi-1.2.3 → python_chi-1.2.4}/chi/lease.py +4 -4
  5. {python_chi-1.2.3 → python_chi-1.2.4}/chi/server.py +1 -1
  6. {python_chi-1.2.3 → python_chi-1.2.4}/python_chi.egg-info/PKG-INFO +1 -1
  7. python_chi-1.2.4/python_chi.egg-info/pbr.json +1 -0
  8. python_chi-1.2.4/setup.py +5 -0
  9. python_chi-1.2.3/AUTHORS +0 -1
  10. python_chi-1.2.3/ChangeLog +0 -7
  11. python_chi-1.2.3/python_chi.egg-info/pbr.json +0 -1
  12. python_chi-1.2.3/setup.py +0 -5
  13. {python_chi-1.2.3 → python_chi-1.2.4}/.github/CODEOWNERS +0 -0
  14. {python_chi-1.2.3 → python_chi-1.2.4}/.github/workflows/linting.yml +0 -0
  15. {python_chi-1.2.3 → python_chi-1.2.4}/.github/workflows/pypi-publish.yml +0 -0
  16. {python_chi-1.2.3 → python_chi-1.2.4}/.github/workflows/test.yml +0 -0
  17. {python_chi-1.2.3 → python_chi-1.2.4}/.mailmap +0 -0
  18. {python_chi-1.2.3 → python_chi-1.2.4}/.readthedocs.yml +0 -0
  19. {python_chi-1.2.3 → python_chi-1.2.4}/DEVELOPMENT.rst +0 -0
  20. {python_chi-1.2.3 → python_chi-1.2.4}/LICENSE +0 -0
  21. {python_chi-1.2.3 → python_chi-1.2.4}/Makefile +0 -0
  22. {python_chi-1.2.3 → python_chi-1.2.4}/README.rst +0 -0
  23. {python_chi-1.2.3 → python_chi-1.2.4}/chi/__init__.py +0 -0
  24. {python_chi-1.2.3 → python_chi-1.2.4}/chi/clients.py +0 -0
  25. {python_chi-1.2.3 → python_chi-1.2.4}/chi/container.py +0 -0
  26. {python_chi-1.2.3 → python_chi-1.2.4}/chi/context.py +0 -0
  27. {python_chi-1.2.3 → python_chi-1.2.4}/chi/exception.py +0 -0
  28. {python_chi-1.2.3 → python_chi-1.2.4}/chi/hardware.py +0 -0
  29. {python_chi-1.2.3 → python_chi-1.2.4}/chi/image.py +0 -0
  30. {python_chi-1.2.3 → python_chi-1.2.4}/chi/jupyterhub.py +0 -0
  31. {python_chi-1.2.3 → python_chi-1.2.4}/chi/keypair.py +0 -0
  32. {python_chi-1.2.3 → python_chi-1.2.4}/chi/magic.py +0 -0
  33. {python_chi-1.2.3 → python_chi-1.2.4}/chi/network.py +0 -0
  34. {python_chi-1.2.3 → python_chi-1.2.4}/chi/share.py +0 -0
  35. {python_chi-1.2.3 → python_chi-1.2.4}/chi/ssh.py +0 -0
  36. {python_chi-1.2.3 → python_chi-1.2.4}/chi/storage.py +0 -0
  37. {python_chi-1.2.3 → python_chi-1.2.4}/chi/util.py +0 -0
  38. {python_chi-1.2.3 → python_chi-1.2.4}/docs/__init__.py +0 -0
  39. {python_chi-1.2.3 → python_chi-1.2.4}/docs/_templates/page.html +0 -0
  40. {python_chi-1.2.3 → python_chi-1.2.4}/docs/conf.py +0 -0
  41. {python_chi-1.2.3 → python_chi-1.2.4}/docs/examples.rst +0 -0
  42. {python_chi-1.2.3 → python_chi-1.2.4}/docs/generate_notebook.py +0 -0
  43. {python_chi-1.2.3 → python_chi-1.2.4}/docs/index.rst +0 -0
  44. {python_chi-1.2.3 → python_chi-1.2.4}/docs/modules/clients.rst +0 -0
  45. {python_chi-1.2.3 → python_chi-1.2.4}/docs/modules/container.rst +0 -0
  46. {python_chi-1.2.3 → python_chi-1.2.4}/docs/modules/context.rst +0 -0
  47. {python_chi-1.2.3 → python_chi-1.2.4}/docs/modules/exception.rst +0 -0
  48. {python_chi-1.2.3 → python_chi-1.2.4}/docs/modules/hardware.rst +0 -0
  49. {python_chi-1.2.3 → python_chi-1.2.4}/docs/modules/image.rst +0 -0
  50. {python_chi-1.2.3 → python_chi-1.2.4}/docs/modules/lease.rst +0 -0
  51. {python_chi-1.2.3 → python_chi-1.2.4}/docs/modules/magic.rst +0 -0
  52. {python_chi-1.2.3 → python_chi-1.2.4}/docs/modules/network.rst +0 -0
  53. {python_chi-1.2.3 → python_chi-1.2.4}/docs/modules/server.rst +0 -0
  54. {python_chi-1.2.3 → python_chi-1.2.4}/docs/modules/share.rst +0 -0
  55. {python_chi-1.2.3 → python_chi-1.2.4}/docs/modules/ssh.rst +0 -0
  56. {python_chi-1.2.3 → python_chi-1.2.4}/docs/modules/storage.rst +0 -0
  57. {python_chi-1.2.3 → python_chi-1.2.4}/docs/requirements.txt +0 -0
  58. {python_chi-1.2.3 → python_chi-1.2.4}/python_chi.egg-info/SOURCES.txt +0 -0
  59. {python_chi-1.2.3 → python_chi-1.2.4}/python_chi.egg-info/dependency_links.txt +0 -0
  60. {python_chi-1.2.3 → python_chi-1.2.4}/python_chi.egg-info/not-zip-safe +0 -0
  61. {python_chi-1.2.3 → python_chi-1.2.4}/python_chi.egg-info/requires.txt +0 -0
  62. {python_chi-1.2.3 → python_chi-1.2.4}/python_chi.egg-info/top_level.txt +0 -0
  63. {python_chi-1.2.3 → python_chi-1.2.4}/requirements.txt +0 -0
  64. {python_chi-1.2.3 → python_chi-1.2.4}/ruff.toml +0 -0
  65. {python_chi-1.2.3 → python_chi-1.2.4}/setup.cfg +0 -0
  66. {python_chi-1.2.3 → python_chi-1.2.4}/test-requirements.txt +0 -0
  67. {python_chi-1.2.3 → python_chi-1.2.4}/tests/__init__.py +0 -0
  68. {python_chi-1.2.3 → python_chi-1.2.4}/tests/test_container.py +0 -0
  69. {python_chi-1.2.3 → python_chi-1.2.4}/tests/test_context.py +0 -0
  70. {python_chi-1.2.3 → python_chi-1.2.4}/tests/test_lease.py +0 -0
  71. {python_chi-1.2.3 → python_chi-1.2.4}/tests/test_network.py +0 -0
  72. {python_chi-1.2.3 → python_chi-1.2.4}/tests/test_server.py +0 -0
  73. {python_chi-1.2.3 → python_chi-1.2.4}/tests/test_share.py +0 -0
  74. {python_chi-1.2.3 → python_chi-1.2.4}/tests/test_ssh.py +0 -0
  75. {python_chi-1.2.3 → python_chi-1.2.4}/tox.ini +0 -0
@@ -0,0 +1 @@
1
+ Rohan Babbar <rohanbabbar0408@yahoo.com>
@@ -0,0 +1,7 @@
1
+ CHANGES
2
+ =======
3
+
4
+ v1.2.4
5
+ ------
6
+
7
+ * Fix condition with usage\_type and stitch provider (#89)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-chi
3
- Version: 1.2.3
3
+ Version: 1.2.4
4
4
  Summary: Helper library for Chameleon Infrastructure (CHI) testbed
5
5
  Home-page: https://www.chameleoncloud.org
6
6
  Author: University of Chicago
@@ -1069,13 +1069,13 @@ def add_network_reservation(
1069
1069
 
1070
1070
  if physical_network:
1071
1071
  extra_constraints.append(["==", "$physical_network", physical_network])
1072
- if stitch_provider and stitch_provider != "fabric":
1072
+ if stitch_provider == "fabric":
1073
1073
  extra_constraints.append(["==", "$stitch_provider", stitch_provider])
1074
- else:
1074
+ elif stitch_provider is not None:
1075
1075
  raise CHIValueError("stitch_provider must be 'fabric' or None")
1076
- if usage_type and usage_type != "storage":
1076
+ if usage_type == "storage":
1077
1077
  extra_constraints.append(["==", "$usage_type", usage_type])
1078
- else:
1078
+ elif usage_type is not None:
1079
1079
  raise CHIValueError("usage_type must be 'storage' or None")
1080
1080
 
1081
1081
  resource_properties = _format_resource_properties(
@@ -191,7 +191,7 @@ class Server:
191
191
  image=self.image_name,
192
192
  flavor=self.flavor_name,
193
193
  key=self.keypair.name,
194
- net_ids=[chi_network.get_network_id(DEFAULT_NETWORK)],
194
+ net_ids=[chi_network.get_network_id(self.network_name)],
195
195
  **kwargs,
196
196
  )
197
197
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-chi
3
- Version: 1.2.3
3
+ Version: 1.2.4
4
4
  Summary: Helper library for Chameleon Infrastructure (CHI) testbed
5
5
  Home-page: https://www.chameleoncloud.org
6
6
  Author: University of Chicago
@@ -0,0 +1 @@
1
+ {"git_version": "a25c884", "is_release": false}
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env python
2
+
3
+ from setuptools import setup
4
+
5
+ setup(setup_requires=["pbr"], pbr=True, version="v1.2.4")
python_chi-1.2.3/AUTHORS DELETED
@@ -1 +0,0 @@
1
- Mark Powers <markpowers@uchicago.edu>
@@ -1,7 +0,0 @@
1
- CHANGES
2
- =======
3
-
4
- v1.2.3
5
- ------
6
-
7
- * Fix formatting and tests
@@ -1 +0,0 @@
1
- {"git_version": "3ff8f3d", "is_release": false}
python_chi-1.2.3/setup.py DELETED
@@ -1,5 +0,0 @@
1
- #!/usr/bin/env python
2
-
3
- from setuptools import setup
4
-
5
- setup(setup_requires=["pbr"], pbr=True, version="v1.2.3")
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
File without changes
File without changes
File without changes
File without changes
File without changes