devpi-web 4.3.0__tar.gz → 5.0.1__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 (86) hide show
  1. {devpi-web-4.3.0 → devpi_web-5.0.1}/CHANGELOG +68 -0
  2. devpi_web-5.0.1/CHANGELOG.short.rst +118 -0
  3. {devpi-web-4.3.0 → devpi_web-5.0.1}/PKG-INFO +88 -48
  4. devpi_web-5.0.1/devpi_web/__init__.py +1 -0
  5. {devpi-web-4.3.0 → devpi_web-5.0.1}/devpi_web/clear_index.py +4 -3
  6. devpi_web-5.0.1/devpi_web/compat.py +9 -0
  7. {devpi-web-4.3.0 → devpi_web-5.0.1}/devpi_web/doczip.py +84 -87
  8. {devpi-web-4.3.0 → devpi_web-5.0.1}/devpi_web/indexing.py +1 -0
  9. devpi_web-5.0.1/devpi_web/macroregistry.py +362 -0
  10. devpi_web-5.0.1/devpi_web/macros.py +121 -0
  11. {devpi-web-4.3.0 → devpi_web-5.0.1}/devpi_web/main.py +49 -25
  12. devpi_web-5.0.1/devpi_web/static/search.js +25 -0
  13. {devpi-web-4.3.0 → devpi_web-5.0.1}/devpi_web/static/style.css +4 -0
  14. devpi_web-5.0.1/devpi_web/templates/favicon.pt +1 -0
  15. devpi_web-5.0.1/devpi_web/templates/footer.pt +4 -0
  16. devpi_web-5.0.1/devpi_web/templates/footer_versions.pt +3 -0
  17. devpi_web-5.0.1/devpi_web/templates/head.pt +3 -0
  18. devpi_web-5.0.1/devpi_web/templates/header.pt +9 -0
  19. devpi_web-5.0.1/devpi_web/templates/header_breadcrumbs.pt +3 -0
  20. devpi_web-5.0.1/devpi_web/templates/header_search.pt +14 -0
  21. devpi_web-5.0.1/devpi_web/templates/header_status.pt +11 -0
  22. devpi_web-5.0.1/devpi_web/templates/html_head_css.pt +4 -0
  23. devpi_web-5.0.1/devpi_web/templates/html_head_scripts.pt +4 -0
  24. devpi_web-5.0.1/devpi_web/templates/logo.pt +1 -0
  25. devpi_web-5.0.1/devpi_web/templates/query_docs.pt +1 -0
  26. devpi_web-5.0.1/devpi_web/templates/root_above_user_index_list.pt +0 -0
  27. devpi_web-5.0.1/devpi_web/templates/root_below_user_index_list.pt +0 -0
  28. devpi_web-5.0.1/devpi_web/templates/status_badge.pt +4 -0
  29. {devpi-web-4.3.0 → devpi_web-5.0.1}/devpi_web/views.py +66 -40
  30. {devpi-web-4.3.0 → devpi_web-5.0.1}/devpi_web/whoosh_index.py +5 -9
  31. {devpi-web-4.3.0 → devpi_web-5.0.1}/devpi_web.egg-info/PKG-INFO +88 -48
  32. {devpi-web-4.3.0 → devpi_web-5.0.1}/devpi_web.egg-info/SOURCES.txt +21 -5
  33. {devpi-web-4.3.0 → devpi_web-5.0.1}/devpi_web.egg-info/requires.txt +7 -4
  34. devpi_web-5.0.1/mypy.ini +42 -0
  35. devpi_web-5.0.1/pyproject.toml +195 -0
  36. devpi_web-5.0.1/setup.cfg +4 -0
  37. devpi_web-5.0.1/tests/conftest.py +60 -0
  38. {devpi-web-4.3.0 → devpi_web-5.0.1}/tests/test_indexing.py +66 -17
  39. devpi_web-5.0.1/tests/test_macro_registry.py +30 -0
  40. {devpi-web-4.3.0 → devpi_web-5.0.1}/tests/test_main.py +37 -14
  41. devpi_web-5.0.1/tests/test_theme.py +204 -0
  42. {devpi-web-4.3.0 → devpi_web-5.0.1}/tests/test_views_docs.py +3 -2
  43. {devpi-web-4.3.0 → devpi_web-5.0.1}/tests/test_views_misc.py +14 -6
  44. {devpi-web-4.3.0 → devpi_web-5.0.1}/tests/test_views_search.py +2 -3
  45. {devpi-web-4.3.0 → devpi_web-5.0.1}/tests/test_views_toxresults.py +1 -2
  46. {devpi-web-4.3.0 → devpi_web-5.0.1}/tox.ini +15 -10
  47. devpi-web-4.3.0/AUTHORS +0 -7
  48. devpi-web-4.3.0/devpi_web/__init__.py +0 -1
  49. devpi-web-4.3.0/devpi_web/compat.py +0 -42
  50. devpi-web-4.3.0/devpi_web/templates/macros.pt +0 -114
  51. devpi-web-4.3.0/devpi_web.egg-info/not-zip-safe +0 -1
  52. devpi-web-4.3.0/pyproject.toml +0 -83
  53. devpi-web-4.3.0/setup.cfg +0 -7
  54. devpi-web-4.3.0/setup.py +0 -77
  55. devpi-web-4.3.0/tests/conftest.py +0 -65
  56. devpi-web-4.3.0/tests/test_theme.py +0 -47
  57. {devpi-web-4.3.0 → devpi_web-5.0.1}/.flake8 +0 -0
  58. {devpi-web-4.3.0 → devpi_web-5.0.1}/LICENSE +0 -0
  59. {devpi-web-4.3.0 → devpi_web-5.0.1}/MANIFEST.in +0 -0
  60. {devpi-web-4.3.0 → devpi_web-5.0.1}/README.rst +0 -0
  61. {devpi-web-4.3.0 → devpi_web-5.0.1}/devpi_web/config.py +0 -0
  62. {devpi-web-4.3.0 → devpi_web-5.0.1}/devpi_web/description.py +0 -0
  63. {devpi-web-4.3.0 → devpi_web-5.0.1}/devpi_web/hookspecs.py +0 -0
  64. {devpi-web-4.3.0 → devpi_web-5.0.1}/devpi_web/null_index.py +0 -0
  65. {devpi-web-4.3.0 → devpi_web-5.0.1}/devpi_web/static/common.js +0 -0
  66. {devpi-web-4.3.0 → devpi_web-5.0.1}/devpi_web/static/docview.js +0 -0
  67. {devpi-web-4.3.0 → devpi_web-5.0.1}/devpi_web/static/favicon.ico +0 -0
  68. {devpi-web-4.3.0 → devpi_web-5.0.1}/devpi_web/static/jquery-3.6.0.min.js +0 -0
  69. {devpi-web-4.3.0 → devpi_web-5.0.1}/devpi_web/templates/doc.pt +0 -0
  70. {devpi-web-4.3.0 → devpi_web-5.0.1}/devpi_web/templates/error.pt +0 -0
  71. {devpi-web-4.3.0 → devpi_web-5.0.1}/devpi_web/templates/index.pt +0 -0
  72. {devpi-web-4.3.0 → devpi_web-5.0.1}/devpi_web/templates/notfound.pt +0 -0
  73. {devpi-web-4.3.0 → devpi_web-5.0.1}/devpi_web/templates/project.pt +0 -0
  74. {devpi-web-4.3.0 → devpi_web-5.0.1}/devpi_web/templates/root.pt +0 -0
  75. {devpi-web-4.3.0 → devpi_web-5.0.1}/devpi_web/templates/search.pt +0 -0
  76. {devpi-web-4.3.0 → devpi_web-5.0.1}/devpi_web/templates/search_help.pt +0 -0
  77. {devpi-web-4.3.0 → devpi_web-5.0.1}/devpi_web/templates/status.pt +0 -0
  78. {devpi-web-4.3.0 → devpi_web-5.0.1}/devpi_web/templates/toxresult.pt +0 -0
  79. {devpi-web-4.3.0 → devpi_web-5.0.1}/devpi_web/templates/toxresults.pt +0 -0
  80. {devpi-web-4.3.0 → devpi_web-5.0.1}/devpi_web/templates/user.pt +0 -0
  81. {devpi-web-4.3.0 → devpi_web-5.0.1}/devpi_web/templates/version.pt +0 -0
  82. {devpi-web-4.3.0 → devpi_web-5.0.1}/devpi_web.egg-info/dependency_links.txt +0 -0
  83. {devpi-web-4.3.0 → devpi_web-5.0.1}/devpi_web.egg-info/entry_points.txt +0 -0
  84. {devpi-web-4.3.0 → devpi_web-5.0.1}/devpi_web.egg-info/top_level.txt +0 -0
  85. {devpi-web-4.3.0 → devpi_web-5.0.1}/tests/test_views.py +0 -0
  86. {devpi-web-4.3.0 → devpi_web-5.0.1}/tests/test_whoosh_index.py +0 -0
@@ -2,6 +2,74 @@
2
2
 
3
3
  .. towncrier release notes start
4
4
 
5
+ 5.0.1 (2025-06-15)
6
+ ==================
7
+
8
+ Bug Fixes
9
+ ---------
10
+
11
+ - Fix traceback during unpacking of documentation in some cases.
12
+
13
+
14
+
15
+ 5.0.0 (2025-06-12)
16
+ ==================
17
+
18
+ Deprecations and Removals
19
+ -------------------------
20
+
21
+ - Removed ``macros.pt``, the contained macros have all been moved to separate templates. See other news entries for details.
22
+
23
+ - Remove support for Python below 3.9. In the future end of life Python 3 versions aren't supported anymore.
24
+
25
+ - Future releases will more often require newer devpi-server than before.
26
+
27
+
28
+
29
+ Bug Fixes
30
+ ---------
31
+
32
+ - Fix #930: remove remaining uses of unmaintained py library.
33
+
34
+
35
+
36
+ Other Changes
37
+ -------------
38
+
39
+ - style.css: Added styling for readme/description code block / literals.
40
+
41
+ - macros.pt (``navigation`` macro): Move ``breadcrumbs`` out of ``navigation`` macro to separate ``header_breadcrumbs.pt`` template.
42
+
43
+ - macros.pt (``head`` macro): Move ``favicon`` out of ``head`` macro to separate ``favicon.pt`` template.
44
+
45
+ - macros.pt: Move ``footer`` macro to separate ``footer.pt`` template.
46
+
47
+ - macros.pt: Move ``head`` macro to separate ``head.pt`` template.
48
+
49
+ - macros.pt: Move ``headcss`` macro to separate ``html_head_css.pt`` template.
50
+
51
+ - macros.pt: Move ``headscript`` macro to separate ``html_head_scripts.pt`` template.
52
+
53
+ - macros.pt: Move ``logo`` macro to separate ``logo.pt`` template.
54
+
55
+ - macros.pt: Move ``navigation`` macro to separate ``header.pt`` template.
56
+
57
+ - macros.pt: Move ``query_doc`` macro to separate ``query_doc.pt`` template.
58
+
59
+ - macros.pt: Move ``rootaboveuserindexlist`` macro to separate ``root_above_user_index_list.pt`` template.
60
+
61
+ - macros.pt: Move ``rootbelowuserindexlist`` macro to separate ``root_below_user_index_list.pt`` template.
62
+
63
+ - macros.pt: Move ``search`` macro to separate ``header_search.pt`` template.
64
+
65
+ - macros.pt: Move ``status`` macro to separate ``header_status.pt`` template.
66
+
67
+ - macros.pt: Move ``statusbadge`` macro to separate ``status_badge.pt`` template.
68
+
69
+ - macros.pt: Move ``versions`` macro to separate ``footer_versions.pt`` template.
70
+
71
+
72
+
5
73
  4.3.0 (2024-10-16)
6
74
  ==================
7
75
 
@@ -0,0 +1,118 @@
1
+
2
+
3
+ =========
4
+ Changelog
5
+ =========
6
+
7
+
8
+
9
+
10
+ .. towncrier release notes start
11
+
12
+ 5.0.1 (2025-06-15)
13
+ ==================
14
+
15
+ Bug Fixes
16
+ ---------
17
+
18
+ - Fix traceback during unpacking of documentation in some cases.
19
+
20
+
21
+
22
+ 5.0.0 (2025-06-12)
23
+ ==================
24
+
25
+ Deprecations and Removals
26
+ -------------------------
27
+
28
+ - Removed ``macros.pt``, the contained macros have all been moved to separate templates. See other news entries for details.
29
+
30
+ - Remove support for Python below 3.9. In the future end of life Python 3 versions aren't supported anymore.
31
+
32
+ - Future releases will more often require newer devpi-server than before.
33
+
34
+
35
+
36
+ Bug Fixes
37
+ ---------
38
+
39
+ - Fix #930: remove remaining uses of unmaintained py library.
40
+
41
+
42
+
43
+ Other Changes
44
+ -------------
45
+
46
+ - style.css: Added styling for readme/description code block / literals.
47
+
48
+ - macros.pt (``navigation`` macro): Move ``breadcrumbs`` out of ``navigation`` macro to separate ``header_breadcrumbs.pt`` template.
49
+
50
+ - macros.pt (``head`` macro): Move ``favicon`` out of ``head`` macro to separate ``favicon.pt`` template.
51
+
52
+ - macros.pt: Move ``footer`` macro to separate ``footer.pt`` template.
53
+
54
+ - macros.pt: Move ``head`` macro to separate ``head.pt`` template.
55
+
56
+ - macros.pt: Move ``headcss`` macro to separate ``html_head_css.pt`` template.
57
+
58
+ - macros.pt: Move ``headscript`` macro to separate ``html_head_scripts.pt`` template.
59
+
60
+ - macros.pt: Move ``logo`` macro to separate ``logo.pt`` template.
61
+
62
+ - macros.pt: Move ``navigation`` macro to separate ``header.pt`` template.
63
+
64
+ - macros.pt: Move ``query_doc`` macro to separate ``query_doc.pt`` template.
65
+
66
+ - macros.pt: Move ``rootaboveuserindexlist`` macro to separate ``root_above_user_index_list.pt`` template.
67
+
68
+ - macros.pt: Move ``rootbelowuserindexlist`` macro to separate ``root_below_user_index_list.pt`` template.
69
+
70
+ - macros.pt: Move ``search`` macro to separate ``header_search.pt`` template.
71
+
72
+ - macros.pt: Move ``status`` macro to separate ``header_status.pt`` template.
73
+
74
+ - macros.pt: Move ``statusbadge`` macro to separate ``status_badge.pt`` template.
75
+
76
+ - macros.pt: Move ``versions`` macro to separate ``footer_versions.pt`` template.
77
+
78
+
79
+
80
+ 4.3.0 (2024-10-16)
81
+ ==================
82
+
83
+ Features
84
+ --------
85
+
86
+ - index.pt, project.pt, version.pt: Fix #1062: Added a link to download the documentation as zip-file to the index, project and version view.
87
+
88
+
89
+
90
+ 4.2.3 (2024-09-19)
91
+ ==================
92
+
93
+ Bug Fixes
94
+ ---------
95
+
96
+ - Fix deprecation warnings from devpi-server 6.13.0.
97
+
98
+ - Lazily evaluate file information. Especially with devpi-postgresql this safes many database accesses on most pages.
99
+
100
+ - Guard against missing doczip files, which can happen on replicas during replication.
101
+
102
+ - Increase threshold for index status from 60 s to 300 s for warnings and from 300 s to 3600 s for fatal.
103
+
104
+
105
+
106
+ 4.2.2 (2024-04-20)
107
+ ==================
108
+
109
+ Bug Fixes
110
+ ---------
111
+
112
+ - style.css: Always let content be full browser height. This also gives more height with some documentation themes when content is short.
113
+
114
+ - style.css: set ``scrollbar-gutter: stable`` on ``body`` to prevent jumping content in documentation iframe.
115
+
116
+ - Fix #970: overwrite fixed html/body heights like ``100%`` in documentation iframe content.
117
+
118
+
@@ -1,36 +1,44 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: devpi-web
3
- Version: 4.3.0
3
+ Version: 5.0.1
4
4
  Summary: devpi-web: a web view for devpi-server
5
- Home-page: https://devpi.net
6
- Maintainer: Florian Schulze
7
- Maintainer-email: mail@pyfidelity.com
8
- License: MIT
5
+ Maintainer-email: Florian Schulze <mail@pyfidelity.com>
6
+ License-Expression: MIT
9
7
  Project-URL: Bug Tracker, https://github.com/devpi/devpi/issues
10
8
  Project-URL: Changelog, https://github.com/devpi/devpi/blob/main/web/CHANGELOG
11
9
  Project-URL: Documentation, https://doc.devpi.net
10
+ Project-URL: Homepage, https://devpi.net
12
11
  Project-URL: Source Code, https://github.com/devpi/devpi
13
12
  Classifier: Development Status :: 5 - Production/Stable
14
13
  Classifier: Environment :: Web Environment
15
14
  Classifier: Intended Audience :: Developers
16
15
  Classifier: Intended Audience :: System Administrators
17
- Classifier: License :: OSI Approved :: MIT License
18
16
  Classifier: Programming Language :: Python
19
- Classifier: Topic :: Internet :: WWW/HTTP
20
- Classifier: Programming Language :: Python :: Implementation :: PyPy
21
- Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Application
22
- Classifier: Programming Language :: Python :: 3.4
23
- Classifier: Programming Language :: Python :: 3.5
24
- Classifier: Programming Language :: Python :: 3.6
25
- Classifier: Programming Language :: Python :: 3.7
26
- Classifier: Programming Language :: Python :: 3.8
17
+ Classifier: Programming Language :: Python :: 3 :: Only
27
18
  Classifier: Programming Language :: Python :: 3.9
28
19
  Classifier: Programming Language :: Python :: 3.10
29
20
  Classifier: Programming Language :: Python :: 3.11
30
21
  Classifier: Programming Language :: Python :: 3.12
31
- Requires-Python: >=3.4
22
+ Classifier: Programming Language :: Python :: 3.13
23
+ Classifier: Programming Language :: Python :: Implementation :: PyPy
24
+ Classifier: Topic :: Internet :: WWW/HTTP
25
+ Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Application
26
+ Requires-Python: >=3.9
27
+ Description-Content-Type: text/x-rst
32
28
  License-File: LICENSE
33
- License-File: AUTHORS
29
+ Requires-Dist: Whoosh<3
30
+ Requires-Dist: attrs>=22.2.0
31
+ Requires-Dist: beautifulsoup4!=4.12.1,>=4.3.2
32
+ Requires-Dist: defusedxml
33
+ Requires-Dist: devpi-server>=6.13.0
34
+ Requires-Dist: devpi-common>=4.0.0
35
+ Requires-Dist: docutils>=0.11
36
+ Requires-Dist: pygments>=1.6
37
+ Requires-Dist: pyramid>=2
38
+ Requires-Dist: pyramid-chameleon
39
+ Requires-Dist: readme-renderer[md]>=23.0
40
+ Requires-Dist: tomli; python_version < "3.11"
41
+ Dynamic: license-file
34
42
 
35
43
  ================================================
36
44
  devpi-web: web interface plugin for devpi-server
@@ -69,88 +77,120 @@ For support contracts and paid help contact ``mail at pyfidelity.com``.
69
77
  .. _GitHub Discussions: https://github.com/devpi/devpi/discussions
70
78
 
71
79
 
80
+
72
81
  =========
73
82
  Changelog
74
83
  =========
75
84
 
76
85
 
77
86
 
87
+
78
88
  .. towncrier release notes start
79
89
 
80
- 4.3.0 (2024-10-16)
90
+ 5.0.1 (2025-06-15)
81
91
  ==================
82
92
 
83
- Features
84
- --------
93
+ Bug Fixes
94
+ ---------
85
95
 
86
- - index.pt, project.pt, version.pt: Fix #1062: Added a link to download the documentation as zip-file to the index, project and version view.
96
+ - Fix traceback during unpacking of documentation in some cases.
87
97
 
88
98
 
89
99
 
90
- 4.2.3 (2024-09-19)
100
+ 5.0.0 (2025-06-12)
91
101
  ==================
92
102
 
103
+ Deprecations and Removals
104
+ -------------------------
105
+
106
+ - Removed ``macros.pt``, the contained macros have all been moved to separate templates. See other news entries for details.
107
+
108
+ - Remove support for Python below 3.9. In the future end of life Python 3 versions aren't supported anymore.
109
+
110
+ - Future releases will more often require newer devpi-server than before.
111
+
112
+
113
+
93
114
  Bug Fixes
94
115
  ---------
95
116
 
96
- - Fix deprecation warnings from devpi-server 6.13.0.
117
+ - Fix #930: remove remaining uses of unmaintained py library.
97
118
 
98
- - Lazily evaluate file information. Especially with devpi-postgresql this safes many database accesses on most pages.
99
119
 
100
- - Guard against missing doczip files, which can happen on replicas during replication.
101
120
 
102
- - Increase threshold for index status from 60 s to 300 s for warnings and from 300 s to 3600 s for fatal.
121
+ Other Changes
122
+ -------------
103
123
 
124
+ - style.css: Added styling for readme/description code block / literals.
104
125
 
126
+ - macros.pt (``navigation`` macro): Move ``breadcrumbs`` out of ``navigation`` macro to separate ``header_breadcrumbs.pt`` template.
105
127
 
106
- 4.2.2 (2024-04-20)
107
- ==================
128
+ - macros.pt (``head`` macro): Move ``favicon`` out of ``head`` macro to separate ``favicon.pt`` template.
108
129
 
109
- Bug Fixes
110
- ---------
130
+ - macros.pt: Move ``footer`` macro to separate ``footer.pt`` template.
111
131
 
112
- - style.css: Always let content be full browser height. This also gives more height with some documentation themes when content is short.
132
+ - macros.pt: Move ``head`` macro to separate ``head.pt`` template.
113
133
 
114
- - style.css: set ``scrollbar-gutter: stable`` on ``body`` to prevent jumping content in documentation iframe.
134
+ - macros.pt: Move ``headcss`` macro to separate ``html_head_css.pt`` template.
115
135
 
116
- - Fix #970: overwrite fixed html/body heights like ``100%`` in documentation iframe content.
136
+ - macros.pt: Move ``headscript`` macro to separate ``html_head_scripts.pt`` template.
117
137
 
138
+ - macros.pt: Move ``logo`` macro to separate ``logo.pt`` template.
118
139
 
140
+ - macros.pt: Move ``navigation`` macro to separate ``header.pt`` template.
119
141
 
120
- 4.2.1 (2023-07-02)
121
- ==================
142
+ - macros.pt: Move ``query_doc`` macro to separate ``query_doc.pt`` template.
122
143
 
123
- Bug Fixes
124
- ---------
144
+ - macros.pt: Move ``rootaboveuserindexlist`` macro to separate ``root_above_user_index_list.pt`` template.
145
+
146
+ - macros.pt: Move ``rootbelowuserindexlist`` macro to separate ``root_below_user_index_list.pt`` template.
147
+
148
+ - macros.pt: Move ``search`` macro to separate ``header_search.pt`` template.
149
+
150
+ - macros.pt: Move ``status`` macro to separate ``header_status.pt`` template.
151
+
152
+ - macros.pt: Move ``statusbadge`` macro to separate ``status_badge.pt`` template.
125
153
 
126
- - Fix #953: Exception when browsers send ETag for documentation pages.
154
+ - macros.pt: Move ``versions`` macro to separate ``footer_versions.pt`` template.
127
155
 
128
- - Fix #980: Remove long deprecated backward compatibility for old pluggy versions to fix error with pluggy 1.1.0.
129
156
 
130
157
 
131
- 4.2.0 (2022-12-05)
158
+ 4.3.0 (2024-10-16)
132
159
  ==================
133
160
 
134
161
  Features
135
162
  --------
136
163
 
137
- - Set ETag header to the doczip hash and max-age to 60 seconds for all documentation files.
164
+ - index.pt, project.pt, version.pt: Fix #1062: Added a link to download the documentation as zip-file to the index, project and version view.
138
165
 
139
- - Add ``--keep-docs-packed`` option.
140
166
 
141
167
 
168
+ 4.2.3 (2024-09-19)
169
+ ==================
170
+
142
171
  Bug Fixes
143
172
  ---------
144
173
 
145
- - common.js, macros.pt: Fix #823: Remove moment.js and update jquery to 3.6.0.
174
+ - Fix deprecation warnings from devpi-server 6.13.0.
175
+
176
+ - Lazily evaluate file information. Especially with devpi-postgresql this safes many database accesses on most pages.
177
+
178
+ - Guard against missing doczip files, which can happen on replicas during replication.
179
+
180
+ - Increase threshold for index status from 60 s to 300 s for warnings and from 300 s to 3600 s for fatal.
146
181
 
147
- - common.js: Fix #764: Jumping to anchors with whitespace in documentation now works.
148
182
 
149
- - doc.pt, docview.js, style.css: Fix #764: Rewrote setting height of documentation iframe which also fixes scrolling to anchors generated by JavaScript.
150
183
 
151
- - Fix project names from mirrors with devpi-server >= 6.8.0.
184
+ 4.2.2 (2024-04-20)
185
+ ==================
152
186
 
153
- - Fix exception in not found page of project URLs.
187
+ Bug Fixes
188
+ ---------
189
+
190
+ - style.css: Always let content be full browser height. This also gives more height with some documentation themes when content is short.
191
+
192
+ - style.css: set ``scrollbar-gutter: stable`` on ``body`` to prevent jumping content in documentation iframe.
193
+
194
+ - Fix #970: overwrite fixed html/body heights like ``100%`` in documentation iframe content.
154
195
 
155
- - toxresults.pt, version.pt: Fix anchor generation for toxresults URLs.
156
196
 
@@ -0,0 +1 @@
1
+ __version__ = "5.0.1"
@@ -1,14 +1,15 @@
1
+ from devpi_common.terminal import TerminalWriter
1
2
  from devpi_server.config import MyArgumentParser
2
3
  from devpi_server.config import add_configfile_option
3
4
  from devpi_server.config import add_help_option
4
5
  from devpi_server.config import add_storage_options
5
- from devpi_server.config import parseoptions, get_pluginmanager
6
+ from devpi_server.config import get_pluginmanager
7
+ from devpi_server.config import parseoptions
6
8
  from devpi_server.log import configure_cli_logging
7
9
  from devpi_server.main import Fatal
8
10
  from devpi_server.main import xom_from_config
9
11
  from devpi_web.config import add_indexer_backend_option
10
12
  from devpi_web.main import get_indexer
11
- import py
12
13
  import sys
13
14
 
14
15
 
@@ -37,6 +38,6 @@ def clear_index(argv=None):
37
38
  ix.delete_index()
38
39
  log.info("Index deleted, start devpi-server again to let the index rebuild automatically.")
39
40
  except Fatal as e:
40
- tw = py.io.TerminalWriter(sys.stderr)
41
+ tw = TerminalWriter(sys.stderr)
41
42
  tw.line("fatal: %s" % e.args[0], red=True)
42
43
  return 1
@@ -0,0 +1,9 @@
1
+ try:
2
+ import tomllib
3
+ except ImportError:
4
+ import tomli as tomllib
5
+
6
+
7
+ __all__ = [
8
+ "tomllib",
9
+ ]