zope.app.http 5.0__tar.gz → 6.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 (46) hide show
  1. zope_app_http-6.0/.pre-commit-config.yaml +28 -0
  2. {zope.app.http-5.0 → zope_app_http-6.0}/CHANGES.txt +10 -0
  3. {zope.app.http-5.0 → zope_app_http-6.0}/CONTRIBUTING.md +1 -1
  4. {zope.app.http-5.0 → zope_app_http-6.0}/MANIFEST.in +1 -0
  5. {zope.app.http-5.0 → zope_app_http-6.0}/PKG-INFO +43 -7
  6. zope_app_http-6.0/buildout.cfg +7 -0
  7. zope_app_http-6.0/pyproject.toml +32 -0
  8. {zope.app.http-5.0 → zope_app_http-6.0}/setup.cfg +1 -4
  9. {zope.app.http-5.0 → zope_app_http-6.0}/setup.py +6 -10
  10. {zope.app.http-5.0 → zope_app_http-6.0}/src/zope/app/http/exception/tests/test_methodnotallowed.py +0 -8
  11. {zope.app.http-5.0 → zope_app_http-6.0}/src/zope/app/http/exception/tests/test_unauthorized.py +0 -5
  12. {zope.app.http-5.0 → zope_app_http-6.0}/src/zope/app/http/httpdate.py +1 -1
  13. {zope.app.http-5.0 → zope_app_http-6.0}/src/zope/app/http/tests/test_delete.py +0 -8
  14. {zope.app.http-5.0 → zope_app_http-6.0}/src/zope/app/http/tests/test_options.py +0 -8
  15. {zope.app.http-5.0 → zope_app_http-6.0}/src/zope/app/http/tests/test_put.py +0 -9
  16. {zope.app.http-5.0 → zope_app_http-6.0}/src/zope/app/http/tests/test_traversers.py +0 -9
  17. {zope.app.http-5.0 → zope_app_http-6.0}/src/zope.app.http.egg-info/PKG-INFO +43 -7
  18. {zope.app.http-5.0 → zope_app_http-6.0}/src/zope.app.http.egg-info/SOURCES.txt +2 -3
  19. {zope.app.http-5.0 → zope_app_http-6.0}/src/zope.app.http.egg-info/requires.txt +1 -1
  20. zope_app_http-6.0/tox.ini +71 -0
  21. zope.app.http-5.0/buildout.cfg +0 -18
  22. zope.app.http-5.0/src/zope/__init__.py +0 -1
  23. zope.app.http-5.0/src/zope/app/__init__.py +0 -1
  24. zope.app.http-5.0/src/zope.app.http.egg-info/namespace_packages.txt +0 -2
  25. zope.app.http-5.0/tox.ini +0 -75
  26. {zope.app.http-5.0 → zope_app_http-6.0}/COPYRIGHT.txt +0 -0
  27. {zope.app.http-5.0 → zope_app_http-6.0}/LICENSE.txt +0 -0
  28. {zope.app.http-5.0 → zope_app_http-6.0}/README.txt +0 -0
  29. {zope.app.http-5.0 → zope_app_http-6.0}/src/zope/app/http/__init__.py +0 -0
  30. {zope.app.http-5.0 → zope_app_http-6.0}/src/zope/app/http/configure.zcml +0 -0
  31. {zope.app.http-5.0 → zope_app_http-6.0}/src/zope/app/http/delete.py +0 -0
  32. {zope.app.http-5.0 → zope_app_http-6.0}/src/zope/app/http/exception/__init__.py +0 -0
  33. {zope.app.http-5.0 → zope_app_http-6.0}/src/zope/app/http/exception/configure.zcml +0 -0
  34. {zope.app.http-5.0 → zope_app_http-6.0}/src/zope/app/http/exception/methodnotallowed.py +0 -0
  35. {zope.app.http-5.0 → zope_app_http-6.0}/src/zope/app/http/exception/notfound.py +0 -0
  36. {zope.app.http-5.0 → zope_app_http-6.0}/src/zope/app/http/exception/tests/__init__.py +0 -0
  37. {zope.app.http-5.0 → zope_app_http-6.0}/src/zope/app/http/exception/unauthorized.py +0 -0
  38. {zope.app.http-5.0 → zope_app_http-6.0}/src/zope/app/http/ftesting.zcml +0 -0
  39. {zope.app.http-5.0 → zope_app_http-6.0}/src/zope/app/http/interfaces.py +0 -0
  40. {zope.app.http-5.0 → zope_app_http-6.0}/src/zope/app/http/options.py +0 -0
  41. {zope.app.http-5.0 → zope_app_http-6.0}/src/zope/app/http/put.py +0 -0
  42. {zope.app.http-5.0 → zope_app_http-6.0}/src/zope/app/http/tests/__init__.py +0 -0
  43. {zope.app.http-5.0 → zope_app_http-6.0}/src/zope/app/http/traversal.py +0 -0
  44. {zope.app.http-5.0 → zope_app_http-6.0}/src/zope.app.http.egg-info/dependency_links.txt +0 -0
  45. {zope.app.http-5.0 → zope_app_http-6.0}/src/zope.app.http.egg-info/not-zip-safe +0 -0
  46. {zope.app.http-5.0 → zope_app_http-6.0}/src/zope.app.http.egg-info/top_level.txt +0 -0
@@ -0,0 +1,28 @@
1
+ # Generated from:
2
+ # https://github.com/zopefoundation/meta/tree/master/config/pure-python
3
+ minimum_pre_commit_version: '3.6'
4
+ repos:
5
+ - repo: https://github.com/pycqa/isort
6
+ rev: "6.0.1"
7
+ hooks:
8
+ - id: isort
9
+ - repo: https://github.com/hhatto/autopep8
10
+ rev: "v2.3.2"
11
+ hooks:
12
+ - id: autopep8
13
+ args: [--in-place, --aggressive, --aggressive]
14
+ - repo: https://github.com/asottile/pyupgrade
15
+ rev: v3.20.0
16
+ hooks:
17
+ - id: pyupgrade
18
+ args: [--py39-plus]
19
+ - repo: https://github.com/isidentical/teyit
20
+ rev: 0.4.3
21
+ hooks:
22
+ - id: teyit
23
+ - repo: https://github.com/PyCQA/flake8
24
+ rev: "7.3.0"
25
+ hooks:
26
+ - id: flake8
27
+ additional_dependencies:
28
+ - flake8-debugger == 4.1.2
@@ -2,6 +2,16 @@
2
2
  CHANGES
3
3
  =======
4
4
 
5
+ 6.0 (2025-09-12)
6
+ ----------------
7
+
8
+ - Replace ``pkg_resources`` namespace with PEP 420 native namespace.
9
+
10
+ - Add support for Python 3.12, 3.13.
11
+
12
+ - Drop support for Python 3.7, 3.8.
13
+
14
+
5
15
  5.0 (2023-02-07)
6
16
  ----------------
7
17
 
@@ -1,7 +1,7 @@
1
1
  <!--
2
2
  Generated from:
3
3
  https://github.com/zopefoundation/meta/tree/master/config/pure-python
4
- -->
4
+ -->
5
5
  # Contributing to zopefoundation projects
6
6
 
7
7
  The projects under the zopefoundation GitHub organization are open source and
@@ -5,6 +5,7 @@ include *.rst
5
5
  include *.txt
6
6
  include buildout.cfg
7
7
  include tox.ini
8
+ include .pre-commit-config.yaml
8
9
 
9
10
  recursive-include src *.py
10
11
  recursive-include src *.zcml
@@ -1,22 +1,22 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: zope.app.http
3
- Version: 5.0
3
+ Version: 6.0
4
4
  Summary: HTTP Behavior for the Zope Publisher
5
5
  Home-page: https://github.com/zopefoundation/zope.app.http
6
6
  Author: Zope Foundation and Contributors
7
7
  Author-email: zope-dev@zope.dev
8
- License: ZPL 2.1
8
+ License: ZPL-2.1
9
9
  Keywords: zope3 http publisher view
10
10
  Classifier: Development Status :: 5 - Production/Stable
11
11
  Classifier: Environment :: Web Environment
12
12
  Classifier: Intended Audience :: Developers
13
13
  Classifier: License :: OSI Approved :: Zope Public License
14
14
  Classifier: Programming Language :: Python :: 3
15
- Classifier: Programming Language :: Python :: 3.7
16
- Classifier: Programming Language :: Python :: 3.8
17
15
  Classifier: Programming Language :: Python :: 3.9
18
16
  Classifier: Programming Language :: Python :: 3.10
19
17
  Classifier: Programming Language :: Python :: 3.11
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Programming Language :: Python :: 3.13
20
20
  Classifier: Programming Language :: Python :: Implementation
21
21
  Classifier: Programming Language :: Python :: Implementation :: CPython
22
22
  Classifier: Programming Language :: Python :: Implementation :: PyPy
@@ -24,9 +24,35 @@ Classifier: Natural Language :: English
24
24
  Classifier: Operating System :: OS Independent
25
25
  Classifier: Topic :: Internet :: WWW/HTTP
26
26
  Classifier: Framework :: Zope :: 3
27
- Requires-Python: >=3.7
28
- Provides-Extra: test
27
+ Requires-Python: >=3.9
29
28
  License-File: LICENSE.txt
29
+ Requires-Dist: setuptools
30
+ Requires-Dist: zope.interface
31
+ Requires-Dist: zope.publisher>=4.0.0a2
32
+ Requires-Dist: zope.container>=4.0.0a2
33
+ Requires-Dist: zope.filerepresentation
34
+ Provides-Extra: test
35
+ Requires-Dist: zope.app.wsgi[testlayer]>=4.0; extra == "test"
36
+ Requires-Dist: zope.browserpage; extra == "test"
37
+ Requires-Dist: zope.component; extra == "test"
38
+ Requires-Dist: zope.login; extra == "test"
39
+ Requires-Dist: zope.password; extra == "test"
40
+ Requires-Dist: zope.principalregistry; extra == "test"
41
+ Requires-Dist: zope.securitypolicy>=4.0.0a1; extra == "test"
42
+ Requires-Dist: zope.site>=4.0.0a1; extra == "test"
43
+ Requires-Dist: zope.testrunner>=6.4; extra == "test"
44
+ Dynamic: author
45
+ Dynamic: author-email
46
+ Dynamic: classifier
47
+ Dynamic: description
48
+ Dynamic: home-page
49
+ Dynamic: keywords
50
+ Dynamic: license
51
+ Dynamic: license-file
52
+ Dynamic: provides-extra
53
+ Dynamic: requires-dist
54
+ Dynamic: requires-python
55
+ Dynamic: summary
30
56
 
31
57
  zope.app.http
32
58
  *************
@@ -40,6 +66,16 @@ HTTP exceptions.
40
66
  CHANGES
41
67
  =======
42
68
 
69
+ 6.0 (2025-09-12)
70
+ ----------------
71
+
72
+ - Replace ``pkg_resources`` namespace with PEP 420 native namespace.
73
+
74
+ - Add support for Python 3.12, 3.13.
75
+
76
+ - Drop support for Python 3.7, 3.8.
77
+
78
+
43
79
  5.0 (2023-02-07)
44
80
  ----------------
45
81
 
@@ -0,0 +1,7 @@
1
+ [buildout]
2
+ develop = .
3
+ parts = test
4
+
5
+ [test]
6
+ recipe = zc.recipe.testrunner
7
+ eggs = zope.app.http[test]
@@ -0,0 +1,32 @@
1
+ # Generated from:
2
+ # https://github.com/zopefoundation/meta/tree/master/config/pure-python
3
+
4
+ [build-system]
5
+ requires = [
6
+ "setuptools == 78.1.1",
7
+ "wheel",
8
+ ]
9
+ build-backend = "setuptools.build_meta"
10
+
11
+ [tool.coverage.run]
12
+ branch = true
13
+ source = ["zope.app.http"]
14
+
15
+ [tool.coverage.report]
16
+ fail_under = 84
17
+ precision = 2
18
+ ignore_errors = true
19
+ show_missing = true
20
+ exclude_lines = [
21
+ "pragma: no cover",
22
+ "pragma: nocover",
23
+ "except ImportError:",
24
+ "raise NotImplementedError",
25
+ "if __name__ == '__main__':",
26
+ "self.fail",
27
+ "raise AssertionError",
28
+ "raise unittest.Skip",
29
+ ]
30
+
31
+ [tool.coverage.html]
32
+ directory = "parts/htmlcov"
@@ -1,6 +1,3 @@
1
- [bdist_wheel]
2
- universal = 0
3
-
4
1
  [flake8]
5
2
  doctests = 1
6
3
 
@@ -13,7 +10,7 @@ ignore =
13
10
  force_single_line = True
14
11
  combine_as_imports = True
15
12
  sections = FUTURE,STDLIB,THIRDPARTY,ZOPE,FIRSTPARTY,LOCALFOLDER
16
- known_third_party = six, docutils, pkg_resources, pytz
13
+ known_third_party = docutils, pkg_resources, pytz
17
14
  known_zope =
18
15
  known_first_party =
19
16
  default_section = ZOPE
@@ -20,7 +20,6 @@
20
20
  """
21
21
  import os
22
22
 
23
- from setuptools import find_packages
24
23
  from setuptools import setup
25
24
 
26
25
 
@@ -29,7 +28,7 @@ def read(*rnames):
29
28
 
30
29
 
31
30
  setup(name='zope.app.http',
32
- version='5.0',
31
+ version='6.0',
33
32
  author='Zope Foundation and Contributors',
34
33
  author_email='zope-dev@zope.dev',
35
34
  description='HTTP Behavior for the Zope Publisher',
@@ -45,11 +44,11 @@ setup(name='zope.app.http',
45
44
  'Intended Audience :: Developers',
46
45
  'License :: OSI Approved :: Zope Public License',
47
46
  'Programming Language :: Python :: 3',
48
- 'Programming Language :: Python :: 3.7',
49
- 'Programming Language :: Python :: 3.8',
50
47
  'Programming Language :: Python :: 3.9',
51
48
  'Programming Language :: Python :: 3.10',
52
49
  'Programming Language :: Python :: 3.11',
50
+ 'Programming Language :: Python :: 3.12',
51
+ 'Programming Language :: Python :: 3.13',
53
52
  'Programming Language :: Python :: Implementation',
54
53
  'Programming Language :: Python :: Implementation :: CPython',
55
54
  'Programming Language :: Python :: Implementation :: PyPy',
@@ -59,11 +58,8 @@ setup(name='zope.app.http',
59
58
  'Framework :: Zope :: 3',
60
59
  ],
61
60
  url='https://github.com/zopefoundation/zope.app.http',
62
- license='ZPL 2.1',
63
- packages=find_packages('src'),
64
- package_dir={'': 'src'},
65
- namespace_packages=['zope', 'zope.app'],
66
- python_requires='>=3.7',
61
+ license='ZPL-2.1',
62
+ python_requires='>=3.9',
67
63
  extras_require=dict(
68
64
  test=[
69
65
  'zope.app.wsgi[testlayer] >= 4.0',
@@ -74,7 +70,7 @@ setup(name='zope.app.http',
74
70
  'zope.principalregistry',
75
71
  'zope.securitypolicy >= 4.0.0a1',
76
72
  'zope.site >= 4.0.0a1',
77
- 'zope.testrunner',
73
+ 'zope.testrunner >= 6.4',
78
74
  ]),
79
75
  install_requires=[
80
76
  'setuptools',
@@ -15,8 +15,6 @@
15
15
  """
16
16
  from io import BytesIO
17
17
  from unittest import TestCase
18
- from unittest import TestSuite
19
- from unittest import makeSuite
20
18
 
21
19
  from zope.component import provideAdapter
22
20
  from zope.interface import Interface
@@ -115,9 +113,3 @@ class TestMethodNotAllowedView(TestCase):
115
113
  # well this is empty, but we're grateful that it does not break
116
114
  self.assertEqual(request.response.getHeader('Allow'), '')
117
115
  self.assertEqual(result, b'Method Not Allowed')
118
-
119
-
120
- def test_suite():
121
- return TestSuite((
122
- makeSuite(TestMethodNotAllowedView),
123
- ))
@@ -14,7 +14,6 @@
14
14
  """Unauthorized Exception Test
15
15
  """
16
16
  from unittest import TestCase
17
- from unittest import makeSuite
18
17
 
19
18
  from zope.publisher.browser import TestRequest
20
19
  from zope.publisher.interfaces.http import IHTTPException
@@ -42,7 +41,3 @@ class Test(TestCase):
42
41
  self.assertEqual(request.response.getStatus(), 401)
43
42
  self.assertTrue(request.response.getHeader(
44
43
  'WWW-Authenticate', '', True).startswith('basic'))
45
-
46
-
47
- def test_suite():
48
- return makeSuite(Test)
@@ -50,7 +50,7 @@ months = ['jan', 'feb', 'mar', 'apr', 'may', 'jun', 'jul',
50
50
 
51
51
  monmap = {}
52
52
  for i in range(12):
53
- monmap[months[i]] = i+1
53
+ monmap[months[i]] = i + 1
54
54
 
55
55
  months_reg = group(join(months, '|'))
56
56
 
@@ -14,8 +14,6 @@
14
14
  """Test HTTP DELETE verb
15
15
  """
16
16
  from unittest import TestCase
17
- from unittest import TestSuite
18
- from unittest import makeSuite
19
17
 
20
18
  from zope.container.contained import contained
21
19
  from zope.filerepresentation.interfaces import IFileFactory
@@ -58,9 +56,3 @@ class TestDelete(TestCase):
58
56
  request = TestRequest()
59
57
  delete = zope.app.http.delete.DELETE(item, request)
60
58
  self.assertRaises(MethodNotAllowed, delete.DELETE)
61
-
62
-
63
- def test_suite():
64
- return TestSuite((
65
- makeSuite(TestDelete),
66
- ))
@@ -14,8 +14,6 @@
14
14
  """Test HTTP OPTIONS verb
15
15
  """
16
16
  from unittest import TestCase
17
- from unittest import TestSuite
18
- from unittest import makeSuite
19
17
 
20
18
  import zope.interface
21
19
  from zope.publisher.browser import IBrowserRequest
@@ -68,9 +66,3 @@ class TestOptions(TestCase):
68
66
  self.assertEqual(options.OPTIONS(), '')
69
67
  getHeader = request.response.getHeader
70
68
  self.assertEqual(getHeader('Allow'), 'GET, HEAD, POST, PUT')
71
-
72
-
73
- def test_suite():
74
- return TestSuite((
75
- makeSuite(TestOptions),
76
- ))
@@ -15,8 +15,6 @@
15
15
  """
16
16
  from io import BytesIO
17
17
  from unittest import TestCase
18
- from unittest import TestSuite
19
- from unittest import makeSuite
20
18
 
21
19
  from zope.app.wsgi.testlayer import BrowserLayer
22
20
  from zope.filerepresentation.interfaces import IFileFactory
@@ -176,10 +174,3 @@ class TestFilePUT(TestCase):
176
174
  put = zope.app.http.put.FilePUT(file, request)
177
175
  self.assertRaises(zope.publisher.interfaces.http.MethodNotAllowed,
178
176
  put.PUT)
179
-
180
-
181
- def test_suite():
182
- return TestSuite((
183
- makeSuite(TestFilePUT),
184
- makeSuite(TestNullPUT),
185
- ))
@@ -14,8 +14,6 @@
14
14
  """Test HTTP-specific object traversers
15
15
  """
16
16
  from unittest import TestCase
17
- from unittest import TestSuite
18
- from unittest import makeSuite
19
17
 
20
18
  from zope.publisher.browser import TestRequest
21
19
  from zope.publisher.interfaces import NotFound
@@ -73,10 +71,3 @@ class TestItem(TestContainer):
73
71
 
74
72
  Container = Items
75
73
  Traverser = ItemTraverser
76
-
77
-
78
- def test_suite():
79
- return TestSuite((
80
- makeSuite(TestContainer),
81
- makeSuite(TestItem),
82
- ))
@@ -1,22 +1,22 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: zope.app.http
3
- Version: 5.0
3
+ Version: 6.0
4
4
  Summary: HTTP Behavior for the Zope Publisher
5
5
  Home-page: https://github.com/zopefoundation/zope.app.http
6
6
  Author: Zope Foundation and Contributors
7
7
  Author-email: zope-dev@zope.dev
8
- License: ZPL 2.1
8
+ License: ZPL-2.1
9
9
  Keywords: zope3 http publisher view
10
10
  Classifier: Development Status :: 5 - Production/Stable
11
11
  Classifier: Environment :: Web Environment
12
12
  Classifier: Intended Audience :: Developers
13
13
  Classifier: License :: OSI Approved :: Zope Public License
14
14
  Classifier: Programming Language :: Python :: 3
15
- Classifier: Programming Language :: Python :: 3.7
16
- Classifier: Programming Language :: Python :: 3.8
17
15
  Classifier: Programming Language :: Python :: 3.9
18
16
  Classifier: Programming Language :: Python :: 3.10
19
17
  Classifier: Programming Language :: Python :: 3.11
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Programming Language :: Python :: 3.13
20
20
  Classifier: Programming Language :: Python :: Implementation
21
21
  Classifier: Programming Language :: Python :: Implementation :: CPython
22
22
  Classifier: Programming Language :: Python :: Implementation :: PyPy
@@ -24,9 +24,35 @@ Classifier: Natural Language :: English
24
24
  Classifier: Operating System :: OS Independent
25
25
  Classifier: Topic :: Internet :: WWW/HTTP
26
26
  Classifier: Framework :: Zope :: 3
27
- Requires-Python: >=3.7
28
- Provides-Extra: test
27
+ Requires-Python: >=3.9
29
28
  License-File: LICENSE.txt
29
+ Requires-Dist: setuptools
30
+ Requires-Dist: zope.interface
31
+ Requires-Dist: zope.publisher>=4.0.0a2
32
+ Requires-Dist: zope.container>=4.0.0a2
33
+ Requires-Dist: zope.filerepresentation
34
+ Provides-Extra: test
35
+ Requires-Dist: zope.app.wsgi[testlayer]>=4.0; extra == "test"
36
+ Requires-Dist: zope.browserpage; extra == "test"
37
+ Requires-Dist: zope.component; extra == "test"
38
+ Requires-Dist: zope.login; extra == "test"
39
+ Requires-Dist: zope.password; extra == "test"
40
+ Requires-Dist: zope.principalregistry; extra == "test"
41
+ Requires-Dist: zope.securitypolicy>=4.0.0a1; extra == "test"
42
+ Requires-Dist: zope.site>=4.0.0a1; extra == "test"
43
+ Requires-Dist: zope.testrunner>=6.4; extra == "test"
44
+ Dynamic: author
45
+ Dynamic: author-email
46
+ Dynamic: classifier
47
+ Dynamic: description
48
+ Dynamic: home-page
49
+ Dynamic: keywords
50
+ Dynamic: license
51
+ Dynamic: license-file
52
+ Dynamic: provides-extra
53
+ Dynamic: requires-dist
54
+ Dynamic: requires-python
55
+ Dynamic: summary
30
56
 
31
57
  zope.app.http
32
58
  *************
@@ -40,6 +66,16 @@ HTTP exceptions.
40
66
  CHANGES
41
67
  =======
42
68
 
69
+ 6.0 (2025-09-12)
70
+ ----------------
71
+
72
+ - Replace ``pkg_resources`` namespace with PEP 420 native namespace.
73
+
74
+ - Add support for Python 3.12, 3.13.
75
+
76
+ - Drop support for Python 3.7, 3.8.
77
+
78
+
43
79
  5.0 (2023-02-07)
44
80
  ----------------
45
81
 
@@ -1,3 +1,4 @@
1
+ .pre-commit-config.yaml
1
2
  CHANGES.txt
2
3
  CONTRIBUTING.md
3
4
  COPYRIGHT.txt
@@ -5,18 +6,16 @@ LICENSE.txt
5
6
  MANIFEST.in
6
7
  README.txt
7
8
  buildout.cfg
9
+ pyproject.toml
8
10
  setup.cfg
9
11
  setup.py
10
12
  tox.ini
11
- src/zope/__init__.py
12
13
  src/zope.app.http.egg-info/PKG-INFO
13
14
  src/zope.app.http.egg-info/SOURCES.txt
14
15
  src/zope.app.http.egg-info/dependency_links.txt
15
- src/zope.app.http.egg-info/namespace_packages.txt
16
16
  src/zope.app.http.egg-info/not-zip-safe
17
17
  src/zope.app.http.egg-info/requires.txt
18
18
  src/zope.app.http.egg-info/top_level.txt
19
- src/zope/app/__init__.py
20
19
  src/zope/app/http/__init__.py
21
20
  src/zope/app/http/configure.zcml
22
21
  src/zope/app/http/delete.py
@@ -13,4 +13,4 @@ zope.password
13
13
  zope.principalregistry
14
14
  zope.securitypolicy>=4.0.0a1
15
15
  zope.site>=4.0.0a1
16
- zope.testrunner
16
+ zope.testrunner>=6.4
@@ -0,0 +1,71 @@
1
+ # Generated from:
2
+ # https://github.com/zopefoundation/meta/tree/master/config/pure-python
3
+ [tox]
4
+ minversion = 3.18
5
+ envlist =
6
+ release-check
7
+ lint
8
+ py39
9
+ py310
10
+ py311
11
+ py312
12
+ py313
13
+ pypy3
14
+ coverage
15
+
16
+ [testenv]
17
+ usedevelop = true
18
+ package = wheel
19
+ wheel_build_env = .pkg
20
+ deps =
21
+ setuptools == 78.1.1
22
+ commands =
23
+ zope-testrunner --test-path=src {posargs:-vc}
24
+ extras =
25
+ test
26
+
27
+ [testenv:setuptools-latest]
28
+ basepython = python3
29
+ deps =
30
+ git+https://github.com/pypa/setuptools.git\#egg=setuptools
31
+
32
+ [testenv:release-check]
33
+ description = ensure that the distribution is ready to release
34
+ basepython = python3
35
+ skip_install = true
36
+ deps =
37
+ setuptools == 78.1.1
38
+ wheel
39
+ twine
40
+ build
41
+ check-manifest
42
+ check-python-versions >= 0.20.0
43
+ wheel
44
+ commands_pre =
45
+ commands =
46
+ check-manifest
47
+ check-python-versions --only setup.py,tox.ini,.github/workflows/tests.yml
48
+ python -m build --sdist --no-isolation
49
+ twine check dist/*
50
+
51
+ [testenv:lint]
52
+ description = This env runs all linters configured in .pre-commit-config.yaml
53
+ basepython = python3
54
+ skip_install = true
55
+ deps =
56
+ pre-commit
57
+ commands_pre =
58
+ commands =
59
+ pre-commit run --all-files --show-diff-on-failure
60
+
61
+ [testenv:coverage]
62
+ basepython = python3
63
+ allowlist_externals =
64
+ mkdir
65
+ deps =
66
+ coverage[toml]
67
+ commands =
68
+ mkdir -p {toxinidir}/parts/htmlcov
69
+ coverage run -m zope.testrunner --test-path=src {posargs:-vc}
70
+ coverage html
71
+ coverage report
@@ -1,18 +0,0 @@
1
- [buildout]
2
- develop = .
3
- parts = test coverage-test coverage-report
4
-
5
- [test]
6
- recipe = zc.recipe.testrunner
7
- eggs = zope.app.http [test]
8
-
9
- [coverage-test]
10
- recipe = zc.recipe.testrunner
11
- eggs = zope.app.http [test]
12
- defaults = ['--coverage', '../../coverage']
13
-
14
- [coverage-report]
15
- recipe = zc.recipe.egg
16
- eggs = z3c.coverage
17
- scripts = coverage=coverage-report
18
- arguments = ('coverage', 'coverage/report')
@@ -1 +0,0 @@
1
- __import__('pkg_resources').declare_namespace(__name__) # pragma: no cover
@@ -1 +0,0 @@
1
- __import__('pkg_resources').declare_namespace(__name__) # pragma: no cover
@@ -1,2 +0,0 @@
1
- zope
2
- zope.app
zope.app.http-5.0/tox.ini DELETED
@@ -1,75 +0,0 @@
1
- # Generated from:
2
- # https://github.com/zopefoundation/meta/tree/master/config/pure-python
3
- [tox]
4
- minversion = 3.18
5
- envlist =
6
- lint
7
- py37
8
- py38
9
- py39
10
- py310
11
- py311
12
- pypy3
13
- coverage
14
-
15
- [testenv]
16
- usedevelop = true
17
- deps =
18
- commands =
19
- zope-testrunner --test-path=src {posargs:-vc}
20
- extras =
21
- test
22
-
23
- [testenv:lint]
24
- basepython = python3
25
- skip_install = true
26
- commands =
27
- isort --check-only --diff {toxinidir}/src {toxinidir}/setup.py
28
- flake8 src setup.py
29
- check-manifest
30
- check-python-versions
31
- deps =
32
- check-manifest
33
- check-python-versions >= 0.19.1
34
- wheel
35
- flake8
36
- isort
37
-
38
- [testenv:isort-apply]
39
- basepython = python3
40
- skip_install = true
41
- commands_pre =
42
- deps =
43
- isort
44
- commands =
45
- isort {toxinidir}/src {toxinidir}/setup.py []
46
-
47
- [testenv:coverage]
48
- basepython = python3
49
- allowlist_externals =
50
- mkdir
51
- deps =
52
- coverage
53
- commands =
54
- mkdir -p {toxinidir}/parts/htmlcov
55
- coverage run -m zope.testrunner --test-path=src {posargs:-vc}
56
- coverage html --ignore-errors
57
- coverage report --ignore-errors --show-missing --fail-under=84
58
-
59
- [coverage:run]
60
- branch = True
61
- source = zope.app.http
62
-
63
- [coverage:report]
64
- precision = 2
65
- exclude_lines =
66
- pragma: no cover
67
- pragma: nocover
68
- except ImportError:
69
- raise NotImplementedError
70
- if __name__ == '__main__':
71
- self.fail
72
- raise AssertionError
73
-
74
- [coverage:html]
75
- directory = parts/htmlcov
File without changes
File without changes
File without changes