zope.globalrequest 3.0__tar.gz → 3.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 (28) hide show
  1. zope_globalrequest-3.1/.pre-commit-config.yaml +42 -0
  2. {zope_globalrequest-3.0 → zope_globalrequest-3.1}/CHANGES.rst +12 -0
  3. {zope_globalrequest-3.0 → zope_globalrequest-3.1}/CONTRIBUTING.md +2 -2
  4. zope_globalrequest-3.1/COPYRIGHT.txt +1 -0
  5. zope_globalrequest-3.1/LICENSE.txt +44 -0
  6. {zope_globalrequest-3.0 → zope_globalrequest-3.1}/MANIFEST.in +2 -2
  7. {zope_globalrequest-3.0 → zope_globalrequest-3.1}/PKG-INFO +29 -28
  8. {zope_globalrequest-3.0 → zope_globalrequest-3.1}/buildout.cfg +0 -1
  9. zope_globalrequest-3.1/pyproject.toml +89 -0
  10. zope_globalrequest-3.1/setup.py +5 -0
  11. {zope_globalrequest-3.0 → zope_globalrequest-3.1}/src/zope.globalrequest.egg-info/PKG-INFO +29 -28
  12. {zope_globalrequest-3.0 → zope_globalrequest-3.1}/src/zope.globalrequest.egg-info/SOURCES.txt +2 -1
  13. {zope_globalrequest-3.0 → zope_globalrequest-3.1}/src/zope.globalrequest.egg-info/requires.txt +0 -1
  14. {zope_globalrequest-3.0 → zope_globalrequest-3.1}/tox.ini +8 -8
  15. zope_globalrequest-3.0/.pre-commit-config.yaml +0 -28
  16. zope_globalrequest-3.0/pyproject.toml +0 -32
  17. zope_globalrequest-3.0/setup.py +0 -57
  18. zope_globalrequest-3.0/src/zope.globalrequest.egg-info/not-zip-safe +0 -1
  19. {zope_globalrequest-3.0 → zope_globalrequest-3.1}/README.rst +0 -0
  20. {zope_globalrequest-3.0 → zope_globalrequest-3.1}/setup.cfg +0 -0
  21. {zope_globalrequest-3.0 → zope_globalrequest-3.1}/src/zope/globalrequest/__init__.py +0 -0
  22. {zope_globalrequest-3.0 → zope_globalrequest-3.1}/src/zope/globalrequest/configure.zcml +0 -0
  23. {zope_globalrequest-3.0 → zope_globalrequest-3.1}/src/zope/globalrequest/interfaces.py +0 -0
  24. {zope_globalrequest-3.0 → zope_globalrequest-3.1}/src/zope/globalrequest/local.py +0 -0
  25. {zope_globalrequest-3.0 → zope_globalrequest-3.1}/src/zope/globalrequest/subscribers.py +0 -0
  26. {zope_globalrequest-3.0 → zope_globalrequest-3.1}/src/zope/globalrequest/tests.py +0 -0
  27. {zope_globalrequest-3.0 → zope_globalrequest-3.1}/src/zope.globalrequest.egg-info/dependency_links.txt +0 -0
  28. {zope_globalrequest-3.0 → zope_globalrequest-3.1}/src/zope.globalrequest.egg-info/top_level.txt +0 -0
@@ -0,0 +1,42 @@
1
+ # Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
2
+ # https://github.com/zopefoundation/meta/tree/master/src/zope/meta/pure-python
3
+ minimum_pre_commit_version: '3.6'
4
+ repos:
5
+ - repo: https://github.com/pre-commit/pre-commit-hooks
6
+ rev: v6.0.0
7
+ hooks:
8
+ - id: check-case-conflict
9
+ - id: check-merge-conflict
10
+ - id: check-toml
11
+ - id: check-yaml
12
+ - id: end-of-file-fixer
13
+ - id: trailing-whitespace
14
+ - repo: https://github.com/pycqa/isort
15
+ rev: "8.0.1"
16
+ hooks:
17
+ - id: isort
18
+ - repo: https://github.com/hhatto/autopep8
19
+ rev: "v2.3.2"
20
+ hooks:
21
+ - id: autopep8
22
+ args: [--in-place, --aggressive, --aggressive]
23
+ - repo: https://github.com/asottile/pyupgrade
24
+ rev: v3.21.2
25
+ hooks:
26
+ - id: pyupgrade
27
+ args: [--py311-plus]
28
+ - repo: https://github.com/isidentical/teyit
29
+ rev: 0.4.3
30
+ hooks:
31
+ - id: teyit
32
+ language_version: python3.13
33
+ - repo: https://github.com/PyCQA/flake8
34
+ rev: "7.3.0"
35
+ hooks:
36
+ - id: flake8
37
+ additional_dependencies:
38
+ - flake8-debugger == 4.1.2
39
+ - repo: https://github.com/sphinx-contrib/sphinx-lint
40
+ rev: v1.0.2
41
+ hooks:
42
+ - id: sphinx-lint
@@ -1,6 +1,18 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ 3.1 (2026-11-18)
5
+ ----------------
6
+
7
+ - Add support for Python 3.14, 3.15.
8
+
9
+ - Move package metadata from setup.py to pyproject.toml.
10
+
11
+ - Add ``LICENSE.txt`` and ``COPYRIGHT.txt``, so they ship in the sdist.
12
+
13
+ - Drop support for Python 3.10, 3.9.
14
+
15
+
4
16
  3.0 (2025-09-12)
5
17
  ----------------
6
18
 
@@ -1,6 +1,6 @@
1
1
  <!--
2
- Generated from:
3
- https://github.com/zopefoundation/meta/tree/master/config/pure-python
2
+ Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
3
+ https://github.com/zopefoundation/meta/tree/master/src/zope/meta/pure-python
4
4
  -->
5
5
  # Contributing to zopefoundation projects
6
6
 
@@ -0,0 +1 @@
1
+ Zope Foundation and Contributors
@@ -0,0 +1,44 @@
1
+ Zope Public License (ZPL) Version 2.1
2
+
3
+ A copyright notice accompanies this license document that identifies the
4
+ copyright holders.
5
+
6
+ This license has been certified as open source. It has also been designated as
7
+ GPL compatible by the Free Software Foundation (FSF).
8
+
9
+ Redistribution and use in source and binary forms, with or without
10
+ modification, are permitted provided that the following conditions are met:
11
+
12
+ 1. Redistributions in source code must retain the accompanying copyright
13
+ notice, this list of conditions, and the following disclaimer.
14
+
15
+ 2. Redistributions in binary form must reproduce the accompanying copyright
16
+ notice, this list of conditions, and the following disclaimer in the
17
+ documentation and/or other materials provided with the distribution.
18
+
19
+ 3. Names of the copyright holders must not be used to endorse or promote
20
+ products derived from this software without prior written permission from the
21
+ copyright holders.
22
+
23
+ 4. The right to distribute this software or to use it for any purpose does not
24
+ give you the right to use Servicemarks (sm) or Trademarks (tm) of the
25
+ copyright
26
+ holders. Use of them is covered by separate agreement with the copyright
27
+ holders.
28
+
29
+ 5. If any files are modified, you must cause the modified files to carry
30
+ prominent notices stating that you changed the files and the date of any
31
+ change.
32
+
33
+ Disclaimer
34
+
35
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED
36
+ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
37
+ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
38
+ EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT,
39
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
40
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
41
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
42
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
43
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
44
+ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -1,5 +1,5 @@
1
- # Generated from:
2
- # https://github.com/zopefoundation/meta/tree/master/config/pure-python
1
+ # Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
2
+ # https://github.com/zopefoundation/meta/tree/master/src/zope/meta/pure-python
3
3
  include *.md
4
4
  include *.rst
5
5
  include *.txt
@@ -1,55 +1,44 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: zope.globalrequest
3
- Version: 3.0
3
+ Version: 3.1
4
4
  Summary: Global way of retrieving the currently active request.
5
- Home-page: https://github.com/zopefoundation/zope.globalrequest
6
- Author: Zope Foundation and Contributors
7
- Author-email: zope-dev@zope.dev
8
- License: ZPL
9
- Project-URL: Issue Tracker, https://github.com/zopefoundation/zope.globalrequest/issues
10
- Project-URL: Sources, https://github.com/zopefoundation/zope.globalrequest
11
- Keywords: zope request global
12
- Platform: Any
5
+ Author-email: Zope Foundation and contributors <zope-dev@zope.dev>
6
+ Maintainer-email: Plone Foundation and contributors <zope-dev@zope.dev>
7
+ License-Expression: ZPL-2.1
8
+ Project-URL: Source, https://github.com/zopefoundation/zope.globalrequest
9
+ Project-URL: Issues, https://github.com/zopefoundation/zope.globalrequest/issues
10
+ Project-URL: Changelog, https://raw.githubusercontent.com/zopefoundation/zope.globalrequest/master/CHANGES.rst
11
+ Keywords: zope,request,global
13
12
  Classifier: Development Status :: 5 - Production/Stable
14
13
  Classifier: Environment :: Web Environment
15
14
  Classifier: Framework :: Plone
16
15
  Classifier: Framework :: Zope :: 3
17
16
  Classifier: Framework :: Zope :: 5
17
+ Classifier: Framework :: Zope :: 6
18
18
  Classifier: Intended Audience :: Developers
19
19
  Classifier: Intended Audience :: System Administrators
20
20
  Classifier: Intended Audience :: Other Audience
21
- Classifier: License :: OSI Approved :: Zope Public License
22
21
  Classifier: Operating System :: OS Independent
23
22
  Classifier: Programming Language :: Python
24
23
  Classifier: Programming Language :: Python :: 3
25
- Classifier: Programming Language :: Python :: 3.9
26
- Classifier: Programming Language :: Python :: 3.10
27
24
  Classifier: Programming Language :: Python :: 3.11
28
25
  Classifier: Programming Language :: Python :: 3.12
29
26
  Classifier: Programming Language :: Python :: 3.13
27
+ Classifier: Programming Language :: Python :: 3.14
28
+ Classifier: Programming Language :: Python :: 3.15
30
29
  Classifier: Programming Language :: Python :: Implementation :: CPython
31
- Requires-Python: >=3.9
32
- Requires-Dist: setuptools
30
+ Requires-Python: >=3.11
31
+ Description-Content-Type: text/x-rst
32
+ License-File: LICENSE.txt
33
33
  Requires-Dist: zope.interface
34
34
  Requires-Dist: zope.publisher
35
35
  Requires-Dist: zope.traversing
36
36
  Provides-Extra: test
37
37
  Requires-Dist: zope.testrunner>=6.4; extra == "test"
38
- Dynamic: author
39
- Dynamic: author-email
40
- Dynamic: classifier
41
- Dynamic: description
42
- Dynamic: home-page
43
- Dynamic: keywords
44
- Dynamic: license
45
- Dynamic: platform
46
- Dynamic: project-url
47
- Dynamic: provides-extra
48
- Dynamic: requires-dist
49
- Dynamic: requires-python
50
- Dynamic: summary
51
-
38
+ Dynamic: license-file
52
39
 
40
+ zope.globalrequest
41
+ ==================
53
42
 
54
43
  Introduction
55
44
  ------------
@@ -67,6 +56,18 @@ the latter promotes a clean separation of concerns and the pattern of having a g
67
56
  Changelog
68
57
  =========
69
58
 
59
+ 3.1 (2026-11-18)
60
+ ----------------
61
+
62
+ - Add support for Python 3.14, 3.15.
63
+
64
+ - Move package metadata from setup.py to pyproject.toml.
65
+
66
+ - Add ``LICENSE.txt`` and ``COPYRIGHT.txt``, so they ship in the sdist.
67
+
68
+ - Drop support for Python 3.10, 3.9.
69
+
70
+
70
71
  3.0 (2025-09-12)
71
72
  ----------------
72
73
 
@@ -11,4 +11,3 @@ interpreter = zopepy
11
11
  recipe = zc.recipe.testrunner
12
12
  eggs = zope.globalrequest [test]
13
13
  defaults = ['-v']
14
-
@@ -0,0 +1,89 @@
1
+ # Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
2
+ # https://github.com/zopefoundation/meta/tree/master/src/zope/meta/pure-python
3
+ [build-system]
4
+ requires = [
5
+ "setuptools >= 78.1.1,< 82",
6
+ "wheel",
7
+ ]
8
+ build-backend = "setuptools.build_meta"
9
+
10
+ [project]
11
+ name = "zope.globalrequest"
12
+ version = "3.1"
13
+ description = "Global way of retrieving the currently active request."
14
+ license = "ZPL-2.1"
15
+ classifiers = [
16
+ "Development Status :: 5 - Production/Stable",
17
+ "Environment :: Web Environment",
18
+ "Framework :: Plone",
19
+ "Framework :: Zope :: 3",
20
+ "Framework :: Zope :: 5",
21
+ "Framework :: Zope :: 6",
22
+ "Intended Audience :: Developers",
23
+ "Intended Audience :: System Administrators",
24
+ "Intended Audience :: Other Audience",
25
+ "Operating System :: OS Independent",
26
+ "Programming Language :: Python",
27
+ "Programming Language :: Python :: 3",
28
+ "Programming Language :: Python :: 3.11",
29
+ "Programming Language :: Python :: 3.12",
30
+ "Programming Language :: Python :: 3.13",
31
+ "Programming Language :: Python :: 3.14",
32
+ "Programming Language :: Python :: 3.15",
33
+ "Programming Language :: Python :: Implementation :: CPython",
34
+ ]
35
+ dynamic = ["readme"]
36
+ requires-python = ">=3.11"
37
+ authors = [
38
+ {name = "Zope Foundation and contributors",email = "zope-dev@zope.dev"},
39
+ ]
40
+ maintainers = [
41
+ {name = "Plone Foundation and contributors",email = "zope-dev@zope.dev"},
42
+ ]
43
+ dependencies = [
44
+ "zope.interface",
45
+ "zope.publisher",
46
+ "zope.traversing",
47
+ ]
48
+ keywords = ["zope", "request", "global"]
49
+
50
+ [project.optional-dependencies]
51
+ test = [
52
+ 'zope.testrunner >= 6.4'
53
+ ]
54
+
55
+ [project.urls]
56
+ Source = "https://github.com/zopefoundation/zope.globalrequest"
57
+ Issues = "https://github.com/zopefoundation/zope.globalrequest/issues"
58
+ Changelog = "https://raw.githubusercontent.com/zopefoundation/zope.globalrequest/master/CHANGES.rst"
59
+
60
+ [tool.coverage.run]
61
+ branch = true
62
+ source = ["zope.globalrequest"]
63
+
64
+ [tool.coverage.report]
65
+ fail_under = 100
66
+ precision = 2
67
+ ignore_errors = true
68
+ show_missing = true
69
+ exclude_lines = [
70
+ "pragma: no cover",
71
+ "pragma: nocover",
72
+ "except ImportError:",
73
+ "raise NotImplementedError",
74
+ "if __name__ == '__main__':",
75
+ "self.fail",
76
+ "raise AssertionError",
77
+ "raise unittest.Skip",
78
+ ]
79
+
80
+ [tool.coverage.html]
81
+ directory = "parts/htmlcov"
82
+
83
+ [tool.setuptools.dynamic]
84
+ readme = {file = ["README.rst", "CHANGES.rst"]}
85
+
86
+ [tool.zest-releaser]
87
+ create-wheel = false
88
+ extra-message = ""
89
+ upload-pypi = false
@@ -0,0 +1,5 @@
1
+ from setuptools import setup
2
+
3
+
4
+ # See pyproject.toml for package metadata
5
+ setup()
@@ -1,55 +1,44 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: zope.globalrequest
3
- Version: 3.0
3
+ Version: 3.1
4
4
  Summary: Global way of retrieving the currently active request.
5
- Home-page: https://github.com/zopefoundation/zope.globalrequest
6
- Author: Zope Foundation and Contributors
7
- Author-email: zope-dev@zope.dev
8
- License: ZPL
9
- Project-URL: Issue Tracker, https://github.com/zopefoundation/zope.globalrequest/issues
10
- Project-URL: Sources, https://github.com/zopefoundation/zope.globalrequest
11
- Keywords: zope request global
12
- Platform: Any
5
+ Author-email: Zope Foundation and contributors <zope-dev@zope.dev>
6
+ Maintainer-email: Plone Foundation and contributors <zope-dev@zope.dev>
7
+ License-Expression: ZPL-2.1
8
+ Project-URL: Source, https://github.com/zopefoundation/zope.globalrequest
9
+ Project-URL: Issues, https://github.com/zopefoundation/zope.globalrequest/issues
10
+ Project-URL: Changelog, https://raw.githubusercontent.com/zopefoundation/zope.globalrequest/master/CHANGES.rst
11
+ Keywords: zope,request,global
13
12
  Classifier: Development Status :: 5 - Production/Stable
14
13
  Classifier: Environment :: Web Environment
15
14
  Classifier: Framework :: Plone
16
15
  Classifier: Framework :: Zope :: 3
17
16
  Classifier: Framework :: Zope :: 5
17
+ Classifier: Framework :: Zope :: 6
18
18
  Classifier: Intended Audience :: Developers
19
19
  Classifier: Intended Audience :: System Administrators
20
20
  Classifier: Intended Audience :: Other Audience
21
- Classifier: License :: OSI Approved :: Zope Public License
22
21
  Classifier: Operating System :: OS Independent
23
22
  Classifier: Programming Language :: Python
24
23
  Classifier: Programming Language :: Python :: 3
25
- Classifier: Programming Language :: Python :: 3.9
26
- Classifier: Programming Language :: Python :: 3.10
27
24
  Classifier: Programming Language :: Python :: 3.11
28
25
  Classifier: Programming Language :: Python :: 3.12
29
26
  Classifier: Programming Language :: Python :: 3.13
27
+ Classifier: Programming Language :: Python :: 3.14
28
+ Classifier: Programming Language :: Python :: 3.15
30
29
  Classifier: Programming Language :: Python :: Implementation :: CPython
31
- Requires-Python: >=3.9
32
- Requires-Dist: setuptools
30
+ Requires-Python: >=3.11
31
+ Description-Content-Type: text/x-rst
32
+ License-File: LICENSE.txt
33
33
  Requires-Dist: zope.interface
34
34
  Requires-Dist: zope.publisher
35
35
  Requires-Dist: zope.traversing
36
36
  Provides-Extra: test
37
37
  Requires-Dist: zope.testrunner>=6.4; extra == "test"
38
- Dynamic: author
39
- Dynamic: author-email
40
- Dynamic: classifier
41
- Dynamic: description
42
- Dynamic: home-page
43
- Dynamic: keywords
44
- Dynamic: license
45
- Dynamic: platform
46
- Dynamic: project-url
47
- Dynamic: provides-extra
48
- Dynamic: requires-dist
49
- Dynamic: requires-python
50
- Dynamic: summary
51
-
38
+ Dynamic: license-file
52
39
 
40
+ zope.globalrequest
41
+ ==================
53
42
 
54
43
  Introduction
55
44
  ------------
@@ -67,6 +56,18 @@ the latter promotes a clean separation of concerns and the pattern of having a g
67
56
  Changelog
68
57
  =========
69
58
 
59
+ 3.1 (2026-11-18)
60
+ ----------------
61
+
62
+ - Add support for Python 3.14, 3.15.
63
+
64
+ - Move package metadata from setup.py to pyproject.toml.
65
+
66
+ - Add ``LICENSE.txt`` and ``COPYRIGHT.txt``, so they ship in the sdist.
67
+
68
+ - Drop support for Python 3.10, 3.9.
69
+
70
+
70
71
  3.0 (2025-09-12)
71
72
  ----------------
72
73
 
@@ -1,6 +1,8 @@
1
1
  .pre-commit-config.yaml
2
2
  CHANGES.rst
3
3
  CONTRIBUTING.md
4
+ COPYRIGHT.txt
5
+ LICENSE.txt
4
6
  MANIFEST.in
5
7
  README.rst
6
8
  buildout.cfg
@@ -11,7 +13,6 @@ tox.ini
11
13
  src/zope.globalrequest.egg-info/PKG-INFO
12
14
  src/zope.globalrequest.egg-info/SOURCES.txt
13
15
  src/zope.globalrequest.egg-info/dependency_links.txt
14
- src/zope.globalrequest.egg-info/not-zip-safe
15
16
  src/zope.globalrequest.egg-info/requires.txt
16
17
  src/zope.globalrequest.egg-info/top_level.txt
17
18
  src/zope/globalrequest/__init__.py
@@ -1,4 +1,3 @@
1
- setuptools
2
1
  zope.interface
3
2
  zope.publisher
4
3
  zope.traversing
@@ -1,15 +1,15 @@
1
- # Generated from:
2
- # https://github.com/zopefoundation/meta/tree/master/config/pure-python
1
+ # Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
2
+ # https://github.com/zopefoundation/meta/tree/master/src/zope/meta/pure-python
3
3
  [tox]
4
4
  minversion = 3.18
5
5
  envlist =
6
6
  release-check
7
7
  lint
8
- py39
9
- py310
10
8
  py311
11
9
  py312
12
10
  py313
11
+ py314
12
+ py315
13
13
  coverage
14
14
 
15
15
  [testenv]
@@ -17,7 +17,7 @@ usedevelop = true
17
17
  package = wheel
18
18
  wheel_build_env = .pkg
19
19
  deps =
20
- setuptools == 78.1.1
20
+ setuptools >= 78.1.1,< 82
21
21
  commands =
22
22
  zope-testrunner --test-path=src {posargs:-vc}
23
23
  extras =
@@ -33,17 +33,17 @@ description = ensure that the distribution is ready to release
33
33
  basepython = python3
34
34
  skip_install = true
35
35
  deps =
36
- setuptools == 78.1.1
36
+ setuptools >= 78.1.1,< 82
37
37
  wheel
38
38
  twine
39
39
  build
40
40
  check-manifest
41
- check-python-versions >= 0.20.0
41
+ check-python-versions >= 0.24.2
42
42
  wheel
43
43
  commands_pre =
44
44
  commands =
45
45
  check-manifest
46
- check-python-versions --only setup.py,tox.ini,.github/workflows/tests.yml
46
+ check-python-versions --only pyproject.toml,setup.py,tox.ini,.github/workflows/tests.yml
47
47
  python -m build --sdist --no-isolation
48
48
  twine check dist/*
49
49
 
@@ -1,28 +0,0 @@
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
@@ -1,32 +0,0 @@
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.globalrequest"]
14
-
15
- [tool.coverage.report]
16
- fail_under = 100
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,57 +0,0 @@
1
- from setuptools import setup
2
-
3
-
4
- version = '3.0'
5
-
6
- readme = open('README.rst').read()
7
- changes = open('CHANGES.rst').read()
8
-
9
- setup(
10
- name='zope.globalrequest',
11
- version=version,
12
- description='Global way of retrieving the currently active request.',
13
- long_description=readme[readme.find('\n\n'):] + '\n' + changes,
14
- classifiers=[
15
- 'Development Status :: 5 - Production/Stable',
16
- 'Environment :: Web Environment',
17
- 'Framework :: Plone',
18
- 'Framework :: Zope :: 3',
19
- 'Framework :: Zope :: 5',
20
- 'Intended Audience :: Developers',
21
- 'Intended Audience :: System Administrators',
22
- 'Intended Audience :: Other Audience',
23
- 'License :: OSI Approved :: Zope Public License',
24
- 'Operating System :: OS Independent',
25
- 'Programming Language :: Python',
26
- 'Programming Language :: Python :: 3',
27
- 'Programming Language :: Python :: 3.9',
28
- 'Programming Language :: Python :: 3.10',
29
- 'Programming Language :: Python :: 3.11',
30
- 'Programming Language :: Python :: 3.12',
31
- 'Programming Language :: Python :: 3.13',
32
- 'Programming Language :: Python :: Implementation :: CPython',
33
- ],
34
- keywords='zope request global',
35
- author='Zope Foundation and Contributors',
36
- author_email='zope-dev@zope.dev',
37
- url='https://github.com/zopefoundation/zope.globalrequest',
38
- project_urls={
39
- 'Issue Tracker': ('https://github.com/zopefoundation/'
40
- 'zope.globalrequest/issues'),
41
- 'Sources': 'https://github.com/zopefoundation/zope.globalrequest',
42
- },
43
- license='ZPL',
44
- include_package_data=True,
45
- platforms='Any',
46
- zip_safe=False,
47
- python_requires='>=3.9',
48
- install_requires=[
49
- 'setuptools',
50
- 'zope.interface',
51
- 'zope.publisher',
52
- 'zope.traversing',
53
- ],
54
- extras_require=dict(
55
- test=['zope.testrunner >= 6.4'],
56
- ),
57
- )