hutch-python 1.23.1__tar.gz → 1.23.2__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 (148) hide show
  1. {hutch_python-1.23.1 → hutch_python-1.23.2}/PKG-INFO +1 -1
  2. hutch_python-1.23.2/docs/source/upcoming_release_notes/403-mnt_dep_pkg_resources.rst +22 -0
  3. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/_version.py +16 -3
  4. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/env_version.py +3 -4
  5. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python.egg-info/PKG-INFO +1 -1
  6. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python.egg-info/SOURCES.txt +1 -0
  7. {hutch_python-1.23.1 → hutch_python-1.23.2}/.coveragerc +0 -0
  8. {hutch_python-1.23.1 → hutch_python-1.23.2}/.flake8 +0 -0
  9. {hutch_python-1.23.1 → hutch_python-1.23.2}/.git_archival.txt +0 -0
  10. {hutch_python-1.23.1 → hutch_python-1.23.2}/.gitattributes +0 -0
  11. {hutch_python-1.23.1 → hutch_python-1.23.2}/.github/CODEOWNERS +0 -0
  12. {hutch_python-1.23.1 → hutch_python-1.23.2}/.github/ISSUE_TEMPLATE.md +0 -0
  13. {hutch_python-1.23.1 → hutch_python-1.23.2}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
  14. {hutch_python-1.23.1 → hutch_python-1.23.2}/.github/workflows/standard.yml +0 -0
  15. {hutch_python-1.23.1 → hutch_python-1.23.2}/.gitignore +0 -0
  16. {hutch_python-1.23.1 → hutch_python-1.23.2}/.landscape.yml +0 -0
  17. {hutch_python-1.23.1 → hutch_python-1.23.2}/.pre-commit-config.yaml +0 -0
  18. {hutch_python-1.23.1 → hutch_python-1.23.2}/AUTHORS.rst +0 -0
  19. {hutch_python-1.23.1 → hutch_python-1.23.2}/CONTRIBUTING.rst +0 -0
  20. {hutch_python-1.23.1 → hutch_python-1.23.2}/LICENSE +0 -0
  21. {hutch_python-1.23.1 → hutch_python-1.23.2}/MANIFEST.in +0 -0
  22. {hutch_python-1.23.1 → hutch_python-1.23.2}/README.rst +0 -0
  23. {hutch_python-1.23.1 → hutch_python-1.23.2}/bin/hutch-python +0 -0
  24. {hutch_python-1.23.1 → hutch_python-1.23.2}/conda-recipe/meta.yaml +0 -0
  25. {hutch_python-1.23.1 → hutch_python-1.23.2}/dev-requirements.txt +0 -0
  26. {hutch_python-1.23.1 → hutch_python-1.23.2}/docs/Makefile +0 -0
  27. {hutch_python-1.23.1 → hutch_python-1.23.2}/docs/hutch_python.ipynb +0 -0
  28. {hutch_python-1.23.1 → hutch_python-1.23.2}/docs/pre-release-notes.sh +0 -0
  29. {hutch_python-1.23.1 → hutch_python-1.23.2}/docs/release_notes.py +0 -0
  30. {hutch_python-1.23.1 → hutch_python-1.23.2}/docs/source/beamline.rst +0 -0
  31. {hutch_python-1.23.1 → hutch_python-1.23.2}/docs/source/bug.rst +0 -0
  32. {hutch_python-1.23.1 → hutch_python-1.23.2}/docs/source/cache.rst +0 -0
  33. {hutch_python-1.23.1 → hutch_python-1.23.2}/docs/source/cli.rst +0 -0
  34. {hutch_python-1.23.1 → hutch_python-1.23.2}/docs/source/conf.py +0 -0
  35. {hutch_python-1.23.1 → hutch_python-1.23.2}/docs/source/daq.rst +0 -0
  36. {hutch_python-1.23.1 → hutch_python-1.23.2}/docs/source/database.rst +0 -0
  37. {hutch_python-1.23.1 → hutch_python-1.23.2}/docs/source/debug.rst +0 -0
  38. {hutch_python-1.23.1 → hutch_python-1.23.2}/docs/source/environment.rst +0 -0
  39. {hutch_python-1.23.1 → hutch_python-1.23.2}/docs/source/experiment.rst +0 -0
  40. {hutch_python-1.23.1 → hutch_python-1.23.2}/docs/source/hutch_setup.rst +0 -0
  41. {hutch_python-1.23.1 → hutch_python-1.23.2}/docs/source/index.rst +0 -0
  42. {hutch_python-1.23.1 → hutch_python-1.23.2}/docs/source/ipython_log.rst +0 -0
  43. {hutch_python-1.23.1 → hutch_python-1.23.2}/docs/source/load_conf.rst +0 -0
  44. {hutch_python-1.23.1 → hutch_python-1.23.2}/docs/source/load_parts.rst +0 -0
  45. {hutch_python-1.23.1 → hutch_python-1.23.2}/docs/source/log_setup.rst +0 -0
  46. {hutch_python-1.23.1 → hutch_python-1.23.2}/docs/source/namespace.rst +0 -0
  47. {hutch_python-1.23.1 → hutch_python-1.23.2}/docs/source/object_configuration.rst +0 -0
  48. {hutch_python-1.23.1 → hutch_python-1.23.2}/docs/source/other_modules.rst +0 -0
  49. {hutch_python-1.23.1 → hutch_python-1.23.2}/docs/source/presets.rst +0 -0
  50. {hutch_python-1.23.1 → hutch_python-1.23.2}/docs/source/releases.rst +0 -0
  51. {hutch_python-1.23.1 → hutch_python-1.23.2}/docs/source/report.rst +0 -0
  52. {hutch_python-1.23.1 → hutch_python-1.23.2}/docs/source/start.rst +0 -0
  53. {hutch_python-1.23.1 → hutch_python-1.23.2}/docs/source/startup.rst +0 -0
  54. {hutch_python-1.23.1 → hutch_python-1.23.2}/docs/source/tips.rst +0 -0
  55. {hutch_python-1.23.1 → hutch_python-1.23.2}/docs/source/tutorial.ipynb +0 -0
  56. {hutch_python-1.23.1 → hutch_python-1.23.2}/docs/source/upcoming_release_notes/template-full.rst +0 -0
  57. {hutch_python-1.23.1 → hutch_python-1.23.2}/docs/source/upcoming_release_notes/template-short.rst +0 -0
  58. {hutch_python-1.23.1 → hutch_python-1.23.2}/docs/source/user_utils.rst +0 -0
  59. {hutch_python-1.23.1 → hutch_python-1.23.2}/docs/source/utils.rst +0 -0
  60. {hutch_python-1.23.1 → hutch_python-1.23.2}/docs/source/yaml_files.rst +0 -0
  61. {hutch_python-1.23.1 → hutch_python-1.23.2}/docs-requirements.txt +0 -0
  62. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/__init__.py +0 -0
  63. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/__main__.py +0 -0
  64. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/bug.py +0 -0
  65. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/cache.py +0 -0
  66. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/calc_defaults.py +0 -0
  67. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/cam_load.py +0 -0
  68. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/cli.py +0 -0
  69. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/constants.py +0 -0
  70. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/cookiecutter/cookiecutter.json +0 -0
  71. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/cookiecutter/{{ cookiecutter.hutch }}/.gitignore +0 -0
  72. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/cookiecutter/{{ cookiecutter.hutch }}/README.md +0 -0
  73. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/cookiecutter/{{ cookiecutter.hutch }}/conf.yml +0 -0
  74. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/cookiecutter/{{ cookiecutter.hutch }}/experiments/__init__.py +0 -0
  75. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/cookiecutter/{{ cookiecutter.hutch }}/set-dev +0 -0
  76. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/cookiecutter/{{ cookiecutter.hutch }}/{{ cookiecutter.hutch }}/__init__.py +0 -0
  77. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/cookiecutter/{{ cookiecutter.hutch }}/{{ cookiecutter.hutch }}/beamline.py +0 -0
  78. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/cookiecutter/{{ cookiecutter.hutch }}/{{ cookiecutter.hutch }}env +0 -0
  79. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/cookiecutter/{{ cookiecutter.hutch }}/{{ cookiecutter.hutch }}python +0 -0
  80. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/debug.py +0 -0
  81. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/epics_arch.py +0 -0
  82. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/exp_load.py +0 -0
  83. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/happi.py +0 -0
  84. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/ipython_log.py +0 -0
  85. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/ipython_session_timer.py +0 -0
  86. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/lcls.py +0 -0
  87. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/load_conf.py +0 -0
  88. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/log_setup.py +0 -0
  89. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/logging.yml +0 -0
  90. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/mpl_config.py +0 -0
  91. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/namespace.py +0 -0
  92. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/obj_config.py +0 -0
  93. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/ophyd_settings.py +0 -0
  94. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/options.py +0 -0
  95. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/plan_defaults.py +0 -0
  96. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/plan_wrappers.py +0 -0
  97. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/print_hint_banner.py +0 -0
  98. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/pt_app_config.py +0 -0
  99. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/qs_load.py +0 -0
  100. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/sim.py +0 -0
  101. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/startup_script.py +0 -0
  102. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/templates/issue.template +0 -0
  103. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/tests/__init__.py +0 -0
  104. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/tests/bad_script.py +0 -0
  105. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/tests/camviewer.cfg +0 -0
  106. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/tests/conf.yaml +0 -0
  107. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/tests/conftest.py +0 -0
  108. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/tests/envs/pcds-1.0.0 +0 -0
  109. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/tests/envs/pcds-2.0.0 +0 -0
  110. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/tests/envs/z-env +0 -0
  111. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/tests/experiments/sample_expname.py +0 -0
  112. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/tests/experiments/x010.py +0 -0
  113. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/tests/experiments/x011.py +0 -0
  114. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/tests/happi_db.json +0 -0
  115. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/tests/sample_module_1.py +0 -0
  116. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/tests/sample_module_2.py +0 -0
  117. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/tests/script.py +0 -0
  118. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/tests/test_bug.py +0 -0
  119. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/tests/test_cache.py +0 -0
  120. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/tests/test_cam_load.py +0 -0
  121. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/tests/test_cli.py +0 -0
  122. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/tests/test_epics_arch.py +0 -0
  123. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/tests/test_experiment.py +0 -0
  124. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/tests/test_happi.py +0 -0
  125. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/tests/test_ipython_log.py +0 -0
  126. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/tests/test_ipython_session_timer.py +0 -0
  127. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/tests/test_load_conf.py +0 -0
  128. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/tests/test_log_setup.py +0 -0
  129. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/tests/test_namespace.py +0 -0
  130. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/tests/test_obj_config.py +0 -0
  131. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/tests/test_plan_wrappers.py +0 -0
  132. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/tests/test_questionnaire.py +0 -0
  133. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/tests/test_tstpython.py +0 -0
  134. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/tests/test_user_load.py +0 -0
  135. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/tests/test_utils.py +0 -0
  136. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/tests/tst/__init__.py +0 -0
  137. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/tests/tst/beamline.py +0 -0
  138. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/tests/tstpython +0 -0
  139. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/user_load.py +0 -0
  140. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/utils.py +0 -0
  141. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python/version.py +0 -0
  142. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python.egg-info/dependency_links.txt +0 -0
  143. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python.egg-info/entry_points.txt +0 -0
  144. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python.egg-info/requires.txt +0 -0
  145. {hutch_python-1.23.1 → hutch_python-1.23.2}/hutch_python.egg-info/top_level.txt +0 -0
  146. {hutch_python-1.23.1 → hutch_python-1.23.2}/pyproject.toml +0 -0
  147. {hutch_python-1.23.1 → hutch_python-1.23.2}/requirements.txt +0 -0
  148. {hutch_python-1.23.1 → hutch_python-1.23.2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hutch-python
3
- Version: 1.23.1
3
+ Version: 1.23.2
4
4
  Summary: Launcher and Config Reader for LCLS Interactive IPython Sessions
5
5
  Author: SLAC National Accelerator Laboratory
6
6
  License: Copyright (c) 2023, The Board of Trustees of the Leland Stanford Junior
@@ -0,0 +1,22 @@
1
+ 403 mnt_dep_pkg_resources
2
+ #########################
3
+
4
+ API Changes
5
+ -----------
6
+ - N/A
7
+
8
+ Features
9
+ --------
10
+ - N/A
11
+
12
+ Bugfixes
13
+ --------
14
+ - N/A
15
+
16
+ Maintenance
17
+ -----------
18
+ - replace deprecated pkg_resources.working_set with importlib.metadata.distributions
19
+
20
+ Contributors
21
+ ------------
22
+ - tangkong
@@ -1,7 +1,14 @@
1
1
  # file generated by setuptools-scm
2
2
  # don't change, don't track in version control
3
3
 
4
- __all__ = ["__version__", "__version_tuple__", "version", "version_tuple"]
4
+ __all__ = [
5
+ "__version__",
6
+ "__version_tuple__",
7
+ "version",
8
+ "version_tuple",
9
+ "__commit_id__",
10
+ "commit_id",
11
+ ]
5
12
 
6
13
  TYPE_CHECKING = False
7
14
  if TYPE_CHECKING:
@@ -9,13 +16,19 @@ if TYPE_CHECKING:
9
16
  from typing import Union
10
17
 
11
18
  VERSION_TUPLE = Tuple[Union[int, str], ...]
19
+ COMMIT_ID = Union[str, None]
12
20
  else:
13
21
  VERSION_TUPLE = object
22
+ COMMIT_ID = object
14
23
 
15
24
  version: str
16
25
  __version__: str
17
26
  __version_tuple__: VERSION_TUPLE
18
27
  version_tuple: VERSION_TUPLE
28
+ commit_id: COMMIT_ID
29
+ __commit_id__: COMMIT_ID
19
30
 
20
- __version__ = version = '1.23.1'
21
- __version_tuple__ = version_tuple = (1, 23, 1)
31
+ __version__ = version = '1.23.2'
32
+ __version_tuple__ = version_tuple = (1, 23, 2)
33
+
34
+ __commit_id__ = commit_id = 'gb7059670d'
@@ -3,13 +3,12 @@ Utilities for getting relevant environment information.
3
3
  """
4
4
  from __future__ import annotations
5
5
 
6
+ import importlib.metadata
6
7
  import logging
7
8
  import os
8
9
  import os.path
9
10
  import pkgutil
10
11
 
11
- import pkg_resources
12
-
13
12
  logger = logging.getLogger(__name__)
14
13
 
15
14
  _dev_ignore_list = ['ami', 'pdsapp']
@@ -42,10 +41,10 @@ def log_env() -> None:
42
41
  def dump_env() -> list[str]:
43
42
  """
44
43
  Get all packages and versions from the current environment.
45
- conda list is slow, use pkg_resources instead
44
+ conda list is slow, use importlib.metadata.distributions instead
46
45
  this might miss dev overrides
47
46
  """
48
- return sorted(str(pkg) for pkg in pkg_resources.working_set)
47
+ return sorted(str(dist.name) for dist in importlib.metadata.distributions())
49
48
 
50
49
 
51
50
  def get_conda_env_name() -> str:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hutch-python
3
- Version: 1.23.1
3
+ Version: 1.23.2
4
4
  Summary: Launcher and Config Reader for LCLS Interactive IPython Sessions
5
5
  Author: SLAC National Accelerator Laboratory
6
6
  License: Copyright (c) 2023, The Board of Trustees of the Leland Stanford Junior
@@ -53,6 +53,7 @@ docs/source/tutorial.ipynb
53
53
  docs/source/user_utils.rst
54
54
  docs/source/utils.rst
55
55
  docs/source/yaml_files.rst
56
+ docs/source/upcoming_release_notes/403-mnt_dep_pkg_resources.rst
56
57
  docs/source/upcoming_release_notes/template-full.rst
57
58
  docs/source/upcoming_release_notes/template-short.rst
58
59
  hutch_python/__init__.py
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes