devpi-web 4.2.3__tar.gz → 5.0.0__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.2.3 → devpi_web-5.0.0}/CHANGELOG +68 -0
  2. devpi_web-5.0.0/CHANGELOG.short.rst +119 -0
  3. {devpi-web-4.2.3 → devpi_web-5.0.0}/PKG-INFO +88 -47
  4. devpi_web-5.0.0/devpi_web/__init__.py +1 -0
  5. {devpi-web-4.2.3 → devpi_web-5.0.0}/devpi_web/clear_index.py +4 -3
  6. devpi_web-5.0.0/devpi_web/compat.py +9 -0
  7. {devpi-web-4.2.3 → devpi_web-5.0.0}/devpi_web/doczip.py +81 -87
  8. {devpi-web-4.2.3 → devpi_web-5.0.0}/devpi_web/indexing.py +1 -0
  9. devpi_web-5.0.0/devpi_web/macroregistry.py +362 -0
  10. devpi_web-5.0.0/devpi_web/macros.py +121 -0
  11. {devpi-web-4.2.3 → devpi_web-5.0.0}/devpi_web/main.py +49 -25
  12. devpi_web-5.0.0/devpi_web/static/search.js +25 -0
  13. {devpi-web-4.2.3 → devpi_web-5.0.0}/devpi_web/static/style.css +4 -0
  14. devpi_web-5.0.0/devpi_web/templates/favicon.pt +1 -0
  15. devpi_web-5.0.0/devpi_web/templates/footer.pt +4 -0
  16. devpi_web-5.0.0/devpi_web/templates/footer_versions.pt +3 -0
  17. devpi_web-5.0.0/devpi_web/templates/head.pt +3 -0
  18. devpi_web-5.0.0/devpi_web/templates/header.pt +9 -0
  19. devpi_web-5.0.0/devpi_web/templates/header_breadcrumbs.pt +3 -0
  20. devpi_web-5.0.0/devpi_web/templates/header_search.pt +14 -0
  21. devpi_web-5.0.0/devpi_web/templates/header_status.pt +11 -0
  22. devpi_web-5.0.0/devpi_web/templates/html_head_css.pt +4 -0
  23. devpi_web-5.0.0/devpi_web/templates/html_head_scripts.pt +4 -0
  24. {devpi-web-4.2.3 → devpi_web-5.0.0}/devpi_web/templates/index.pt +4 -1
  25. devpi_web-5.0.0/devpi_web/templates/logo.pt +1 -0
  26. {devpi-web-4.2.3 → devpi_web-5.0.0}/devpi_web/templates/project.pt +4 -1
  27. devpi_web-5.0.0/devpi_web/templates/query_docs.pt +1 -0
  28. devpi_web-5.0.0/devpi_web/templates/root_above_user_index_list.pt +0 -0
  29. devpi_web-5.0.0/devpi_web/templates/root_below_user_index_list.pt +0 -0
  30. devpi_web-5.0.0/devpi_web/templates/status_badge.pt +4 -0
  31. {devpi-web-4.2.3 → devpi_web-5.0.0}/devpi_web/templates/version.pt +4 -0
  32. {devpi-web-4.2.3 → devpi_web-5.0.0}/devpi_web/views.py +68 -40
  33. {devpi-web-4.2.3 → devpi_web-5.0.0}/devpi_web/whoosh_index.py +5 -9
  34. {devpi-web-4.2.3 → devpi_web-5.0.0}/devpi_web.egg-info/PKG-INFO +88 -47
  35. {devpi-web-4.2.3 → devpi_web-5.0.0}/devpi_web.egg-info/SOURCES.txt +21 -5
  36. {devpi-web-4.2.3 → devpi_web-5.0.0}/devpi_web.egg-info/requires.txt +7 -4
  37. devpi_web-5.0.0/mypy.ini +42 -0
  38. devpi_web-5.0.0/pyproject.toml +195 -0
  39. devpi_web-5.0.0/setup.cfg +4 -0
  40. devpi_web-5.0.0/tests/conftest.py +60 -0
  41. {devpi-web-4.2.3 → devpi_web-5.0.0}/tests/test_indexing.py +15 -17
  42. devpi_web-5.0.0/tests/test_macro_registry.py +30 -0
  43. {devpi-web-4.2.3 → devpi_web-5.0.0}/tests/test_main.py +37 -14
  44. devpi_web-5.0.0/tests/test_theme.py +204 -0
  45. {devpi-web-4.2.3 → devpi_web-5.0.0}/tests/test_views.py +16 -7
  46. {devpi-web-4.2.3 → devpi_web-5.0.0}/tests/test_views_docs.py +3 -2
  47. {devpi-web-4.2.3 → devpi_web-5.0.0}/tests/test_views_misc.py +14 -6
  48. {devpi-web-4.2.3 → devpi_web-5.0.0}/tests/test_views_search.py +2 -3
  49. {devpi-web-4.2.3 → devpi_web-5.0.0}/tests/test_views_toxresults.py +1 -2
  50. {devpi-web-4.2.3 → devpi_web-5.0.0}/tox.ini +15 -10
  51. devpi-web-4.2.3/AUTHORS +0 -7
  52. devpi-web-4.2.3/devpi_web/__init__.py +0 -1
  53. devpi-web-4.2.3/devpi_web/compat.py +0 -42
  54. devpi-web-4.2.3/devpi_web/templates/macros.pt +0 -114
  55. devpi-web-4.2.3/devpi_web.egg-info/not-zip-safe +0 -1
  56. devpi-web-4.2.3/pyproject.toml +0 -83
  57. devpi-web-4.2.3/setup.cfg +0 -7
  58. devpi-web-4.2.3/setup.py +0 -77
  59. devpi-web-4.2.3/tests/conftest.py +0 -65
  60. devpi-web-4.2.3/tests/test_theme.py +0 -47
  61. {devpi-web-4.2.3 → devpi_web-5.0.0}/.flake8 +0 -0
  62. {devpi-web-4.2.3 → devpi_web-5.0.0}/LICENSE +0 -0
  63. {devpi-web-4.2.3 → devpi_web-5.0.0}/MANIFEST.in +0 -0
  64. {devpi-web-4.2.3 → devpi_web-5.0.0}/README.rst +0 -0
  65. {devpi-web-4.2.3 → devpi_web-5.0.0}/devpi_web/config.py +0 -0
  66. {devpi-web-4.2.3 → devpi_web-5.0.0}/devpi_web/description.py +0 -0
  67. {devpi-web-4.2.3 → devpi_web-5.0.0}/devpi_web/hookspecs.py +0 -0
  68. {devpi-web-4.2.3 → devpi_web-5.0.0}/devpi_web/null_index.py +0 -0
  69. {devpi-web-4.2.3 → devpi_web-5.0.0}/devpi_web/static/common.js +0 -0
  70. {devpi-web-4.2.3 → devpi_web-5.0.0}/devpi_web/static/docview.js +0 -0
  71. {devpi-web-4.2.3 → devpi_web-5.0.0}/devpi_web/static/favicon.ico +0 -0
  72. {devpi-web-4.2.3 → devpi_web-5.0.0}/devpi_web/static/jquery-3.6.0.min.js +0 -0
  73. {devpi-web-4.2.3 → devpi_web-5.0.0}/devpi_web/templates/doc.pt +0 -0
  74. {devpi-web-4.2.3 → devpi_web-5.0.0}/devpi_web/templates/error.pt +0 -0
  75. {devpi-web-4.2.3 → devpi_web-5.0.0}/devpi_web/templates/notfound.pt +0 -0
  76. {devpi-web-4.2.3 → devpi_web-5.0.0}/devpi_web/templates/root.pt +0 -0
  77. {devpi-web-4.2.3 → devpi_web-5.0.0}/devpi_web/templates/search.pt +0 -0
  78. {devpi-web-4.2.3 → devpi_web-5.0.0}/devpi_web/templates/search_help.pt +0 -0
  79. {devpi-web-4.2.3 → devpi_web-5.0.0}/devpi_web/templates/status.pt +0 -0
  80. {devpi-web-4.2.3 → devpi_web-5.0.0}/devpi_web/templates/toxresult.pt +0 -0
  81. {devpi-web-4.2.3 → devpi_web-5.0.0}/devpi_web/templates/toxresults.pt +0 -0
  82. {devpi-web-4.2.3 → devpi_web-5.0.0}/devpi_web/templates/user.pt +0 -0
  83. {devpi-web-4.2.3 → devpi_web-5.0.0}/devpi_web.egg-info/dependency_links.txt +0 -0
  84. {devpi-web-4.2.3 → devpi_web-5.0.0}/devpi_web.egg-info/entry_points.txt +0 -0
  85. {devpi-web-4.2.3 → devpi_web-5.0.0}/devpi_web.egg-info/top_level.txt +0 -0
  86. {devpi-web-4.2.3 → devpi_web-5.0.0}/tests/test_whoosh_index.py +0 -0
@@ -2,6 +2,74 @@
2
2
 
3
3
  .. towncrier release notes start
4
4
 
5
+ 5.0.0 (2025-06-12)
6
+ ==================
7
+
8
+ Deprecations and Removals
9
+ -------------------------
10
+
11
+ - Removed ``macros.pt``, the contained macros have all been moved to separate templates. See other news entries for details.
12
+
13
+ - Remove support for Python below 3.9. In the future end of life Python 3 versions aren't supported anymore.
14
+
15
+ - Future releases will more often require newer devpi-server than before.
16
+
17
+
18
+
19
+ Bug Fixes
20
+ ---------
21
+
22
+ - Fix #930: remove remaining uses of unmaintained py library.
23
+
24
+
25
+
26
+ Other Changes
27
+ -------------
28
+
29
+ - style.css: Added styling for readme/description code block / literals.
30
+
31
+ - macros.pt (``navigation`` macro): Move ``breadcrumbs`` out of ``navigation`` macro to separate ``header_breadcrumbs.pt`` template.
32
+
33
+ - macros.pt (``head`` macro): Move ``favicon`` out of ``head`` macro to separate ``favicon.pt`` template.
34
+
35
+ - macros.pt: Move ``footer`` macro to separate ``footer.pt`` template.
36
+
37
+ - macros.pt: Move ``head`` macro to separate ``head.pt`` template.
38
+
39
+ - macros.pt: Move ``headcss`` macro to separate ``html_head_css.pt`` template.
40
+
41
+ - macros.pt: Move ``headscript`` macro to separate ``html_head_scripts.pt`` template.
42
+
43
+ - macros.pt: Move ``logo`` macro to separate ``logo.pt`` template.
44
+
45
+ - macros.pt: Move ``navigation`` macro to separate ``header.pt`` template.
46
+
47
+ - macros.pt: Move ``query_doc`` macro to separate ``query_doc.pt`` template.
48
+
49
+ - macros.pt: Move ``rootaboveuserindexlist`` macro to separate ``root_above_user_index_list.pt`` template.
50
+
51
+ - macros.pt: Move ``rootbelowuserindexlist`` macro to separate ``root_below_user_index_list.pt`` template.
52
+
53
+ - macros.pt: Move ``search`` macro to separate ``header_search.pt`` template.
54
+
55
+ - macros.pt: Move ``status`` macro to separate ``header_status.pt`` template.
56
+
57
+ - macros.pt: Move ``statusbadge`` macro to separate ``status_badge.pt`` template.
58
+
59
+ - macros.pt: Move ``versions`` macro to separate ``footer_versions.pt`` template.
60
+
61
+
62
+
63
+ 4.3.0 (2024-10-16)
64
+ ==================
65
+
66
+ Features
67
+ --------
68
+
69
+ - 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.
70
+
71
+
72
+
5
73
  4.2.3 (2024-09-19)
6
74
  ==================
7
75
 
@@ -0,0 +1,119 @@
1
+
2
+
3
+ =========
4
+ Changelog
5
+ =========
6
+
7
+
8
+
9
+
10
+ .. towncrier release notes start
11
+
12
+ 5.0.0 (2025-06-12)
13
+ ==================
14
+
15
+ Deprecations and Removals
16
+ -------------------------
17
+
18
+ - Removed ``macros.pt``, the contained macros have all been moved to separate templates. See other news entries for details.
19
+
20
+ - Remove support for Python below 3.9. In the future end of life Python 3 versions aren't supported anymore.
21
+
22
+ - Future releases will more often require newer devpi-server than before.
23
+
24
+
25
+
26
+ Bug Fixes
27
+ ---------
28
+
29
+ - Fix #930: remove remaining uses of unmaintained py library.
30
+
31
+
32
+
33
+ Other Changes
34
+ -------------
35
+
36
+ - style.css: Added styling for readme/description code block / literals.
37
+
38
+ - macros.pt (``navigation`` macro): Move ``breadcrumbs`` out of ``navigation`` macro to separate ``header_breadcrumbs.pt`` template.
39
+
40
+ - macros.pt (``head`` macro): Move ``favicon`` out of ``head`` macro to separate ``favicon.pt`` template.
41
+
42
+ - macros.pt: Move ``footer`` macro to separate ``footer.pt`` template.
43
+
44
+ - macros.pt: Move ``head`` macro to separate ``head.pt`` template.
45
+
46
+ - macros.pt: Move ``headcss`` macro to separate ``html_head_css.pt`` template.
47
+
48
+ - macros.pt: Move ``headscript`` macro to separate ``html_head_scripts.pt`` template.
49
+
50
+ - macros.pt: Move ``logo`` macro to separate ``logo.pt`` template.
51
+
52
+ - macros.pt: Move ``navigation`` macro to separate ``header.pt`` template.
53
+
54
+ - macros.pt: Move ``query_doc`` macro to separate ``query_doc.pt`` template.
55
+
56
+ - macros.pt: Move ``rootaboveuserindexlist`` macro to separate ``root_above_user_index_list.pt`` template.
57
+
58
+ - macros.pt: Move ``rootbelowuserindexlist`` macro to separate ``root_below_user_index_list.pt`` template.
59
+
60
+ - macros.pt: Move ``search`` macro to separate ``header_search.pt`` template.
61
+
62
+ - macros.pt: Move ``status`` macro to separate ``header_status.pt`` template.
63
+
64
+ - macros.pt: Move ``statusbadge`` macro to separate ``status_badge.pt`` template.
65
+
66
+ - macros.pt: Move ``versions`` macro to separate ``footer_versions.pt`` template.
67
+
68
+
69
+
70
+ 4.3.0 (2024-10-16)
71
+ ==================
72
+
73
+ Features
74
+ --------
75
+
76
+ - 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.
77
+
78
+
79
+
80
+ 4.2.3 (2024-09-19)
81
+ ==================
82
+
83
+ Bug Fixes
84
+ ---------
85
+
86
+ - Fix deprecation warnings from devpi-server 6.13.0.
87
+
88
+ - Lazily evaluate file information. Especially with devpi-postgresql this safes many database accesses on most pages.
89
+
90
+ - Guard against missing doczip files, which can happen on replicas during replication.
91
+
92
+ - Increase threshold for index status from 60 s to 300 s for warnings and from 300 s to 3600 s for fatal.
93
+
94
+
95
+
96
+ 4.2.2 (2024-04-20)
97
+ ==================
98
+
99
+ Bug Fixes
100
+ ---------
101
+
102
+ - style.css: Always let content be full browser height. This also gives more height with some documentation themes when content is short.
103
+
104
+ - style.css: set ``scrollbar-gutter: stable`` on ``body`` to prevent jumping content in documentation iframe.
105
+
106
+ - Fix #970: overwrite fixed html/body heights like ``100%`` in documentation iframe content.
107
+
108
+
109
+
110
+ 4.2.1 (2023-07-02)
111
+ ==================
112
+
113
+ Bug Fixes
114
+ ---------
115
+
116
+ - Fix #953: Exception when browsers send ETag for documentation pages.
117
+
118
+ - Fix #980: Remove long deprecated backward compatibility for old pluggy versions to fix error with pluggy 1.1.0.
119
+
@@ -1,36 +1,44 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: devpi-web
3
- Version: 4.2.3
3
+ Version: 5.0.0
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,121 @@ 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.2.3 (2024-09-19)
90
+ 5.0.0 (2025-06-12)
81
91
  ==================
82
92
 
93
+ Deprecations and Removals
94
+ -------------------------
95
+
96
+ - Removed ``macros.pt``, the contained macros have all been moved to separate templates. See other news entries for details.
97
+
98
+ - Remove support for Python below 3.9. In the future end of life Python 3 versions aren't supported anymore.
99
+
100
+ - Future releases will more often require newer devpi-server than before.
101
+
102
+
103
+
83
104
  Bug Fixes
84
105
  ---------
85
106
 
86
- - Fix deprecation warnings from devpi-server 6.13.0.
107
+ - Fix #930: remove remaining uses of unmaintained py library.
87
108
 
88
- - Lazily evaluate file information. Especially with devpi-postgresql this safes many database accesses on most pages.
89
109
 
90
- - Guard against missing doczip files, which can happen on replicas during replication.
91
110
 
92
- - Increase threshold for index status from 60 s to 300 s for warnings and from 300 s to 3600 s for fatal.
111
+ Other Changes
112
+ -------------
93
113
 
114
+ - style.css: Added styling for readme/description code block / literals.
94
115
 
116
+ - macros.pt (``navigation`` macro): Move ``breadcrumbs`` out of ``navigation`` macro to separate ``header_breadcrumbs.pt`` template.
95
117
 
96
- 4.2.2 (2024-04-20)
97
- ==================
118
+ - macros.pt (``head`` macro): Move ``favicon`` out of ``head`` macro to separate ``favicon.pt`` template.
98
119
 
99
- Bug Fixes
100
- ---------
120
+ - macros.pt: Move ``footer`` macro to separate ``footer.pt`` template.
101
121
 
102
- - style.css: Always let content be full browser height. This also gives more height with some documentation themes when content is short.
122
+ - macros.pt: Move ``head`` macro to separate ``head.pt`` template.
103
123
 
104
- - style.css: set ``scrollbar-gutter: stable`` on ``body`` to prevent jumping content in documentation iframe.
124
+ - macros.pt: Move ``headcss`` macro to separate ``html_head_css.pt`` template.
105
125
 
106
- - Fix #970: overwrite fixed html/body heights like ``100%`` in documentation iframe content.
126
+ - macros.pt: Move ``headscript`` macro to separate ``html_head_scripts.pt`` template.
107
127
 
128
+ - macros.pt: Move ``logo`` macro to separate ``logo.pt`` template.
108
129
 
130
+ - macros.pt: Move ``navigation`` macro to separate ``header.pt`` template.
109
131
 
110
- 4.2.1 (2023-07-02)
111
- ==================
132
+ - macros.pt: Move ``query_doc`` macro to separate ``query_doc.pt`` template.
112
133
 
113
- Bug Fixes
114
- ---------
134
+ - macros.pt: Move ``rootaboveuserindexlist`` macro to separate ``root_above_user_index_list.pt`` template.
115
135
 
116
- - Fix #953: Exception when browsers send ETag for documentation pages.
136
+ - macros.pt: Move ``rootbelowuserindexlist`` macro to separate ``root_below_user_index_list.pt`` template.
117
137
 
118
- - Fix #980: Remove long deprecated backward compatibility for old pluggy versions to fix error with pluggy 1.1.0.
138
+ - macros.pt: Move ``search`` macro to separate ``header_search.pt`` template.
139
+
140
+ - macros.pt: Move ``status`` macro to separate ``header_status.pt`` template.
141
+
142
+ - macros.pt: Move ``statusbadge`` macro to separate ``status_badge.pt`` template.
143
+
144
+ - macros.pt: Move ``versions`` macro to separate ``footer_versions.pt`` template.
119
145
 
120
146
 
121
- 4.2.0 (2022-12-05)
147
+
148
+ 4.3.0 (2024-10-16)
122
149
  ==================
123
150
 
124
151
  Features
125
152
  --------
126
153
 
127
- - Set ETag header to the doczip hash and max-age to 60 seconds for all documentation files.
154
+ - 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.
155
+
128
156
 
129
- - Add ``--keep-docs-packed`` option.
130
157
 
158
+ 4.2.3 (2024-09-19)
159
+ ==================
131
160
 
132
161
  Bug Fixes
133
162
  ---------
134
163
 
135
- - common.js, macros.pt: Fix #823: Remove moment.js and update jquery to 3.6.0.
136
-
137
- - common.js: Fix #764: Jumping to anchors with whitespace in documentation now works.
164
+ - Fix deprecation warnings from devpi-server 6.13.0.
138
165
 
139
- - doc.pt, docview.js, style.css: Fix #764: Rewrote setting height of documentation iframe which also fixes scrolling to anchors generated by JavaScript.
166
+ - Lazily evaluate file information. Especially with devpi-postgresql this safes many database accesses on most pages.
140
167
 
141
- - Fix project names from mirrors with devpi-server >= 6.8.0.
168
+ - Guard against missing doczip files, which can happen on replicas during replication.
142
169
 
143
- - Fix exception in not found page of project URLs.
170
+ - Increase threshold for index status from 60 s to 300 s for warnings and from 300 s to 3600 s for fatal.
144
171
 
145
- - toxresults.pt, version.pt: Fix anchor generation for toxresults URLs.
146
172
 
147
173
 
148
- 4.1.1 (2022-09-28)
174
+ 4.2.2 (2024-04-20)
149
175
  ==================
150
176
 
177
+ Bug Fixes
178
+ ---------
179
+
180
+ - style.css: Always let content be full browser height. This also gives more height with some documentation themes when content is short.
181
+
182
+ - style.css: set ``scrollbar-gutter: stable`` on ``body`` to prevent jumping content in documentation iframe.
183
+
184
+ - Fix #970: overwrite fixed html/body heights like ``100%`` in documentation iframe content.
185
+
186
+
187
+
188
+ 4.2.1 (2023-07-02)
189
+ ==================
151
190
 
152
191
  Bug Fixes
153
192
  ---------
154
193
 
155
- - Generalize GET redirect from URLs with trailing slash to ones without for consistency.
194
+ - Fix #953: Exception when browsers send ETag for documentation pages.
195
+
196
+ - Fix #980: Remove long deprecated backward compatibility for old pluggy versions to fix error with pluggy 1.1.0.
156
197
 
@@ -0,0 +1 @@
1
+ __version__ = "5.0.0"
@@ -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
+ ]