renumerate 1.1.10__zip → 1.1.11__zip

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.

Potentially problematic release.


This version of renumerate might be problematic. Click here for more details.

Files changed (31) hide show
  1. renumerate-1.1.11/.readthedocs.yml +15 -0
  2. {renumerate-1.1.10 → renumerate-1.1.11}/CHANGES.rst +5 -0
  3. {renumerate-1.1.10 → renumerate-1.1.11}/LICENSE +1 -1
  4. {renumerate-1.1.10 → renumerate-1.1.11}/MANIFEST.in +2 -2
  5. {renumerate-1.1.10 → renumerate-1.1.11}/PKG-INFO +27 -12
  6. {renumerate-1.1.10 → renumerate-1.1.11}/README.rst +5 -6
  7. {renumerate-1.1.10 → renumerate-1.1.11}/docs/conf.py +1 -0
  8. {renumerate-1.1.10 → renumerate-1.1.11}/pyproject.toml +94 -80
  9. renumerate-1.1.11/setup.cfg +4 -0
  10. renumerate-1.1.11/src/renumerate/__about__.py +6 -0
  11. {renumerate-1.1.10 → renumerate-1.1.11}/src/renumerate/__init__.py +2 -2
  12. {renumerate-1.1.10 → renumerate-1.1.11}/src/renumerate/_renumerate.py +2 -2
  13. {renumerate-1.1.10 → renumerate-1.1.11}/src/renumerate.egg-info/PKG-INFO +27 -12
  14. {renumerate-1.1.10 → renumerate-1.1.11}/src/renumerate.egg-info/SOURCES.txt +0 -1
  15. renumerate-1.1.11/src/renumerate.egg-info/requires.txt +16 -0
  16. {renumerate-1.1.10 → renumerate-1.1.11}/tests/__init__.py +2 -2
  17. {renumerate-1.1.10 → renumerate-1.1.11}/tests/__main__.py +2 -2
  18. {renumerate-1.1.10 → renumerate-1.1.11}/tests/test_main.py +2 -2
  19. renumerate-1.1.10/.readthedocs.yml +0 -9
  20. renumerate-1.1.10/setup.cfg +0 -11
  21. renumerate-1.1.10/src/renumerate/__about__.py +0 -6
  22. renumerate-1.1.10/src/renumerate.egg-info/requires.txt +0 -14
  23. {renumerate-1.1.10 → renumerate-1.1.11}/docs/CHANGES.rst +0 -0
  24. {renumerate-1.1.10 → renumerate-1.1.11}/docs/README.rst +0 -0
  25. {renumerate-1.1.10 → renumerate-1.1.11}/docs/_static/.keep +0 -0
  26. {renumerate-1.1.10 → renumerate-1.1.11}/docs/_templates/.keep +0 -0
  27. {renumerate-1.1.10 → renumerate-1.1.11}/docs/index.rst +0 -0
  28. {renumerate-1.1.10 → renumerate-1.1.11}/src/renumerate.egg-info/dependency_links.txt +0 -0
  29. {renumerate-1.1.10 → renumerate-1.1.11}/src/renumerate.egg-info/top_level.txt +0 -0
  30. {renumerate-1.1.10 → renumerate-1.1.11}/src/renumerate.egg-info/zip-safe +0 -0
  31. {renumerate-1.1.10 → renumerate-1.1.11}/tests/data/.keep +0 -0
@@ -0,0 +1,15 @@
1
+ version: 2
2
+ build:
3
+ os: "ubuntu-22.04"
4
+ tools:
5
+ python: "3.11"
6
+ python:
7
+ install:
8
+ - method: pip
9
+ path: .
10
+ extra_requirements:
11
+ - doc
12
+ sphinx:
13
+ builder: html
14
+ configuration: docs/conf.py
15
+ fail_on_warning: true
@@ -1,6 +1,11 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ 1.1.11 (2024-01-25)
5
+ -------------------
6
+ - Setup update (now based on tox >= 4.0).
7
+ - Cleanup.
8
+
4
9
  1.1.10 (2022-10-18)
5
10
  -------------------
6
11
  - Tox configuration has been moved to pyproject.toml
@@ -1,6 +1,6 @@
1
1
  zlib License
2
2
 
3
- Copyright (C) 2016-2022 Adam Karpierz
3
+ Copyright (C) 2016-2024 Adam Karpierz
4
4
 
5
5
  This software is provided 'as-is', without any express or implied
6
6
  warranty. In no event will the authors be held liable for any damages
@@ -1,6 +1,6 @@
1
- # Copyright (c) 2016-2022 Adam Karpierz
1
+ # Copyright (c) 2016 Adam Karpierz
2
2
  # Licensed under the zlib/libpng License
3
- # https://opensource.org/licenses/Zlib
3
+ # https://opensource.org/license/zlib
4
4
 
5
5
  include README.rst
6
6
  include CHANGES.rst
@@ -1,12 +1,12 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: renumerate
3
- Version: 1.1.10
3
+ Version: 1.1.11
4
4
  Summary: Reverse enumerate.
5
5
  Author: Adam Karpierz
6
6
  Author-email: adam@karpierz.net
7
7
  Maintainer: Adam Karpierz
8
8
  Maintainer-email: adam@karpierz.net
9
- License: zlib/libpng License ; https://opensource.org/licenses/Zlib
9
+ License: zlib/libpng License ; https://opensource.org/license/zlib
10
10
  Project-URL: Homepage, https://pypi.org/project/renumerate/
11
11
  Project-URL: Documentation, https://renumerate.readthedocs.io/
12
12
  Project-URL: Download, https://pypi.org/project/renumerate/
@@ -21,21 +21,32 @@ Classifier: Operating System :: OS Independent
21
21
  Classifier: Natural Language :: Polish
22
22
  Classifier: Programming Language :: Python
23
23
  Classifier: Programming Language :: Python :: 3
24
- Classifier: Programming Language :: Python :: 3.7
25
24
  Classifier: Programming Language :: Python :: 3.8
26
25
  Classifier: Programming Language :: Python :: 3.9
27
26
  Classifier: Programming Language :: Python :: 3.10
28
27
  Classifier: Programming Language :: Python :: 3.11
28
+ Classifier: Programming Language :: Python :: 3.12
29
29
  Classifier: Programming Language :: Python :: 3 :: Only
30
30
  Classifier: Programming Language :: Python :: Implementation :: CPython
31
31
  Classifier: Programming Language :: Python :: Implementation :: PyPy
32
- Classifier: Programming Language :: Python :: Implementation :: Stackless
33
32
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
34
- Requires-Python: <4.0.0,>=3.7.0
33
+ Requires-Python: <4.0.0,>=3.8.1
35
34
  Description-Content-Type: text/x-rst; charset=UTF-8
35
+ License-File: LICENSE
36
+ Requires-Dist: setuptools>=68.2.2
37
+ Requires-Dist: pkg-about>=1.1.3
36
38
  Provides-Extra: doc
39
+ Requires-Dist: Sphinx>=7.1.2; extra == "doc"
40
+ Requires-Dist: sphinx-toolbox>=3.5.0; extra == "doc"
41
+ Requires-Dist: sphinx-tabs>=3.4.1; extra == "doc"
42
+ Requires-Dist: sphinx-copybutton>=0.5.1; extra == "doc"
43
+ Requires-Dist: sphinxcontrib-spelling>=7.7.0; extra == "doc"
44
+ Requires-Dist: sphinx-lint>=0.6.7; extra == "doc"
45
+ Requires-Dist: restructuredtext-lint>=1.4.0; extra == "doc"
46
+ Requires-Dist: nbsphinx>=0.8.10; extra == "doc"
37
47
  Provides-Extra: test
38
- License-File: LICENSE
48
+ Requires-Dist: deepdiff>=6.7.1; extra == "test"
49
+ Requires-Dist: rich>=13.7.0; extra == "test"
39
50
 
40
51
  renumerate
41
52
  ==========
@@ -94,10 +105,9 @@ Installation
94
105
 
95
106
  Prerequisites:
96
107
 
97
- + Python 3.7 or higher
108
+ + Python 3.8 or higher
98
109
 
99
110
  * https://www.python.org/
100
- * 3.7 is a primary test environment.
101
111
 
102
112
  + pip and setuptools
103
113
 
@@ -119,7 +129,7 @@ Prerequisites:
119
129
 
120
130
  python -m pip install --upgrade tox
121
131
 
122
- Visit `development page`_.
132
+ Visit `Development page`_.
123
133
 
124
134
  Installation from sources:
125
135
 
@@ -144,9 +154,9 @@ or on development mode:
144
154
  License
145
155
  =======
146
156
 
147
- | Copyright (c) 2016-2022 Adam Karpierz
157
+ | Copyright (c) 2016-2024 Adam Karpierz
148
158
  | Licensed under the zlib/libpng License
149
- | https://opensource.org/licenses/Zlib
159
+ | https://opensource.org/license/zlib
150
160
  | Please refer to the accompanying LICENSE file.
151
161
 
152
162
  Authors
@@ -157,7 +167,7 @@ Authors
157
167
  .. |package| replace:: renumerate
158
168
  .. |package_bold| replace:: **renumerate**
159
169
  .. |respository| replace:: https://github.com/karpierz/renumerate.git
160
- .. _development page: https://github.com/karpierz/renumerate
170
+ .. _Development page: https://github.com/karpierz/renumerate
161
171
  .. _PyPI record: https://pypi.org/project/renumerate/
162
172
  .. _Documentation: https://renumerate.readthedocs.io/
163
173
  .. _enumerate: https://docs.python.org/library/functions.html#enumerate
@@ -165,6 +175,11 @@ Authors
165
175
  Changelog
166
176
  =========
167
177
 
178
+ 1.1.11 (2024-01-25)
179
+ -------------------
180
+ - Setup update (now based on tox >= 4.0).
181
+ - Cleanup.
182
+
168
183
  1.1.10 (2022-10-18)
169
184
  -------------------
170
185
  - Tox configuration has been moved to pyproject.toml
@@ -55,10 +55,9 @@ Installation
55
55
 
56
56
  Prerequisites:
57
57
 
58
- + Python 3.7 or higher
58
+ + Python 3.8 or higher
59
59
 
60
60
  * https://www.python.org/
61
- * 3.7 is a primary test environment.
62
61
 
63
62
  + pip and setuptools
64
63
 
@@ -80,7 +79,7 @@ Prerequisites:
80
79
 
81
80
  python -m pip install --upgrade tox
82
81
 
83
- Visit `development page`_.
82
+ Visit `Development page`_.
84
83
 
85
84
  Installation from sources:
86
85
 
@@ -105,9 +104,9 @@ or on development mode:
105
104
  License
106
105
  =======
107
106
 
108
- | Copyright (c) 2016-2022 Adam Karpierz
107
+ | Copyright (c) 2016-2024 Adam Karpierz
109
108
  | Licensed under the zlib/libpng License
110
- | https://opensource.org/licenses/Zlib
109
+ | https://opensource.org/license/zlib
111
110
  | Please refer to the accompanying LICENSE file.
112
111
 
113
112
  Authors
@@ -118,7 +117,7 @@ Authors
118
117
  .. |package| replace:: renumerate
119
118
  .. |package_bold| replace:: **renumerate**
120
119
  .. |respository| replace:: https://github.com/karpierz/renumerate.git
121
- .. _development page: https://github.com/karpierz/renumerate
120
+ .. _Development page: https://github.com/karpierz/renumerate
122
121
  .. _PyPI record: https://pypi.org/project/renumerate/
123
122
  .. _Documentation: https://renumerate.readthedocs.io/
124
123
  .. _enumerate: https://docs.python.org/library/functions.html#enumerate
@@ -48,6 +48,7 @@ extensions = [
48
48
  #'sphinx.ext.coverage',
49
49
  'sphinx.ext.ifconfig',
50
50
  'sphinx.ext.napoleon',
51
+ #'sphinx_toolbox',
51
52
  'sphinx_tabs.tabs',
52
53
  'sphinx_copybutton',
53
54
  'sphinxcontrib.spelling',
@@ -1,16 +1,21 @@
1
- # Copyright (c) 2016-2022 Adam Karpierz
1
+ # Copyright (c) 2016 Adam Karpierz
2
2
  # Licensed under the zlib/libpng License
3
- # https://opensource.org/licenses/Zlib
3
+ # https://opensource.org/license/zlib
4
4
 
5
5
  [build-system]
6
6
  build-backend = 'setuptools.build_meta'
7
- requires = ['setuptools>=63.2.0', 'wheel>=0.37.1', 'packaging>=21.3.0', 'tox>=3.25.1']
7
+ requires = ['setuptools>=68.2.2', 'wheel>=0.42.0', 'packaging>=23.2.0', 'tox>=4.11.3']
8
8
 
9
9
  [project]
10
10
  name = 'renumerate'
11
- version = '1.1.10'
11
+ version = '1.1.11'
12
12
  description = 'Reverse enumerate.'
13
- license = { text = 'zlib/libpng License ; https://opensource.org/licenses/Zlib' }
13
+ urls.Homepage = 'https://pypi.org/project/renumerate/'
14
+ urls.Documentation = 'https://renumerate.readthedocs.io/'
15
+ urls.Download = 'https://pypi.org/project/renumerate/'
16
+ urls.Source = 'https://github.com/karpierz/renumerate'
17
+ urls.Issues = 'https://github.com/karpierz/renumerate/issues'
18
+ license = { text = 'zlib/libpng License ; https://opensource.org/license/zlib' }
14
19
  authors = [
15
20
  { name = 'Adam Karpierz' },
16
21
  { email = 'adam@karpierz.net' },
@@ -28,50 +33,45 @@ classifiers = [
28
33
  'Natural Language :: Polish',
29
34
  'Programming Language :: Python',
30
35
  'Programming Language :: Python :: 3',
31
- 'Programming Language :: Python :: 3.7',
32
36
  'Programming Language :: Python :: 3.8',
33
37
  'Programming Language :: Python :: 3.9',
34
38
  'Programming Language :: Python :: 3.10',
35
39
  'Programming Language :: Python :: 3.11',
40
+ 'Programming Language :: Python :: 3.12',
36
41
  'Programming Language :: Python :: 3 :: Only',
37
42
  'Programming Language :: Python :: Implementation :: CPython',
38
43
  'Programming Language :: Python :: Implementation :: PyPy',
39
- 'Programming Language :: Python :: Implementation :: Stackless',
40
44
  'Topic :: Software Development :: Libraries :: Python Modules',
41
45
  ]
42
- requires-python = '>=3.7.0,<4.0.0'
46
+ requires-python = '>=3.8.1,<4.0.0'
43
47
  dependencies = [
44
48
  # mandatory
45
- 'setuptools>=63.2.0',
46
- 'pkg_about>=1.0.8',
49
+ 'setuptools>=68.2.2',
50
+ 'pkg-about>=1.1.3',
47
51
  # others
48
52
  ]
49
53
  dynamic = ['readme']
50
54
  [project.optional-dependencies]
51
55
  doc = [
52
- 'docutils>=0.14,<0.19',
53
- 'Sphinx>=4.5.0',
56
+ 'Sphinx>=7.1.2',
57
+ 'sphinx-toolbox>=3.5.0',
54
58
  'sphinx-tabs>=3.4.1',
55
- 'sphinx_copybutton>=0.5.0',
56
- 'sphinxcontrib-spelling>=7.6.0',
59
+ 'sphinx-copybutton>=0.5.1',
60
+ 'sphinxcontrib-spelling>=7.7.0',
61
+ 'sphinx-lint>=0.6.7',
57
62
  'restructuredtext-lint>=1.4.0',
58
- 'nbsphinx>=0.8.9',
63
+ 'nbsphinx>=0.8.10',
59
64
  ]
60
65
  test = [
61
- 'deepdiff>=5.8.1',
66
+ 'deepdiff>=6.7.1',
67
+ 'rich>=13.7.0',
62
68
  ]
63
- [project.urls]
64
- Homepage = 'https://pypi.org/project/renumerate/'
65
- Documentation = 'https://renumerate.readthedocs.io/'
66
- Download = 'https://pypi.org/project/renumerate/'
67
- Source = 'https://github.com/karpierz/renumerate'
68
- Issues = 'https://github.com/karpierz/renumerate/issues'
69
69
 
70
70
  [project.scripts]
71
- #renumerate = 'renumerate.__main__:main'
71
+ #'renumerate' = 'renumerate.__main__:main'
72
72
 
73
73
  [project.gui-scripts]
74
- #renumerate-gui = 'renumerate:main_gui'
74
+ #'renumerate-gui' = 'renumerate:main_gui'
75
75
 
76
76
  #[project.entry-points.'renumerate.magical']
77
77
  #epoint = 'renumerate:main_epoint'
@@ -97,6 +97,11 @@ where = ['src']
97
97
  renumerate = [
98
98
  ]
99
99
 
100
+ [tool.setuptools.exclude-package-data]
101
+ '*' = ['*.c','*.h','*.cpp','*.hpp','*.cxx','*.hxx','*.pyx','*.pxd']
102
+ renumerate = [
103
+ ]
104
+
100
105
  [tool.coverage.run]
101
106
  source = [
102
107
  'renumerate',
@@ -105,18 +110,16 @@ source = [
105
110
  omit = [
106
111
  ]
107
112
  data_file = '.tox/coverage/.coverage'
113
+ plugins = ['covdefaults']
108
114
 
109
115
  [tool.coverage.report]
110
116
  exclude_lines = [
111
117
  # Regexes
112
118
  # Have to re-enable the standard pragma
113
- 'pragma: no cover',
114
- 'if\s+self\.debug\s+:',
115
- 'if\s+__debug__\s+:',
116
- 'raise (AssertionError|NotImplementedError)',
117
- 'if\s+(0|False)\s*:',
118
- '''if\s+__name__.*\s*==\s*'__main__'\s*:''',
119
- 'if\s+__name__.*\s*==\s*"__main__"\s*:',
119
+ '^\s*if\s+self\.debug\s*:',
120
+ '^\s*if\s+__debug__\s*:',
121
+ '^\s*if\s+(0|False)\s*:',
122
+ '''if\s+__name__.*\s*==\s*['"]__main__['"]\s*:''',
120
123
  '^\s*@unittest\.skip\(',
121
124
  '^\s*@unittest\.skipIf\(sys\.platform\.startswith\("win"\)',
122
125
  ]
@@ -155,35 +158,50 @@ count = true
155
158
  [tool.tox]
156
159
  legacy_tox_ini = """
157
160
  [tox]
158
- envlist = py{37,38,39,310,311}, pypy{37,38,39}, coverage, docs
159
- minversion = 3.24.5
160
- isolated_build = True
161
+ envlist = py{38,39,310,311,312}, pypy{39,310}win, docs
162
+ labels =
163
+ py = py{38,39,310,311,312}, pypy{39,310}win
164
+ prepare = prepare
165
+ coverage = coverage
166
+ lint = lint
167
+ docs = docs
168
+ build = py{38,39,310,311,312}, pypy{39,310}win, docs, build
169
+ deploy = py{38,39,310,311,312}, pypy{39,310}win, docs, build, publish
170
+ minversion = 4.11.3
161
171
  skip_missing_interpreters = true
162
172
  requires =
163
- tox-venv>=0.4.0
164
- tox-backticks>=0.3.0
173
+ {[base]deps}
174
+ virtualenv>=20.25.0
175
+ tox-backtick>=0.4.3
165
176
  tox-tags>=0.2.0
166
- tox-run-before>=0.1.0
167
- {[base]setup_requires}
168
177
 
169
178
  [base]
170
- setup_requires =
171
- pip>=21.2.4
172
- setuptools>=63.2.0
173
- wheel>=0.37.1
179
+ basepython = python3.11
180
+ deps =
181
+ pip>=23.3.2
182
+ setuptools>=68.2.2
183
+ wheel>=0.42.0
174
184
  packagesubdir = renumerate
175
185
 
176
186
  [testenv]
177
187
  passenv = WINDIR
188
+ setenv =
189
+ PYTHONDONTWRITEBYTECODE = 1
178
190
  commands =
179
191
  {envpython} --version
180
- {envpython} -B -m tests {posargs}
192
+ {envpython} -m tests {posargs}
181
193
  extras = test
182
194
  deps =
183
- {[base]setup_requires}
195
+ {[base]deps}
196
+
197
+ [testenv:pypy39win]
198
+ basepython = C:\\PyPy39\\pypy.exe
199
+
200
+ [testenv:pypy310win]
201
+ basepython = C:\\PyPy310\\pypy.exe
184
202
 
185
203
  [testenv:prepare]
186
- basepython = python3.7
204
+ basepython = {[base]basepython}
187
205
  skip_install = true
188
206
  allowlist_externals =
189
207
  cmd
@@ -192,72 +210,68 @@ commands =
192
210
  cmd /C if exist .build.cmd .build.cmd
193
211
 
194
212
  [testenv:coverage]
195
- basepython = python3.7
213
+ basepython = {[base]basepython}
196
214
  commands =
197
215
  {envpython} -m coverage erase
198
- -{envpython} -B -m coverage run -m tests {posargs}
216
+ -{envpython} -m coverage run -m tests {posargs}
199
217
  {envpython} -m coverage report
200
218
  {envpython} -m coverage html
201
219
  deps =
202
220
  {[testenv]deps}
203
- coverage>=6.4.4
204
- diff-cover>=6.5.1
221
+ coverage>=7.4.0
222
+ covdefaults>=2.3.0
223
+ diff-cover>=7.7.0
205
224
 
206
225
  [testenv:docs]
207
- basepython = python3.7
226
+ basepython = {[base]basepython}
208
227
  commands =
228
+ {envpython} -m sphinxlint --ignore .tox --ignore build --ignore dist
209
229
  #{envpython} -m sphinx.apidoc -f {envsitepackagesdir}/{[base]packagesubdir}
210
- {envpython} -c "from setuptools import setup ; setup()" -v build_sphinx -b html -E
211
- {envpython} -c "from setuptools import setup ; setup()" -v build_sphinx -b linkcheck
212
- {envpython} -c "from setuptools import setup ; setup()" -v build_sphinx -b doctest
230
+ {envpython} -m sphinx.cmd.build -W -a -b html -E ./docs ./build/docs/html
231
+ {envpython} -m sphinx.cmd.build -W -a -b linkcheck ./docs ./build/docs/html
232
+ {envpython} -m sphinx.cmd.build -W -a -b doctest ./docs ./build/docs/html
213
233
  extras = doc
214
234
  deps =
215
235
 
216
236
  [testenv:build]
217
- basepython = python3.7
237
+ depends = py{38,39,310,311,312}, pypy{39,310}win, docs
238
+ basepython = {[base]basepython}
218
239
  setenv =
219
- PKG_PVER=`{envpython} -c "import platform ; print(''.join(platform.python_version_tuple()[:2]))" 2> nul`
220
- PKG_NAME=`{envpython} -c "import warnings ; warnings.filterwarnings('ignore') ;import setuptools ; setuptools._distutils.core._setup_stop_after='config' ; print(setuptools.setup().metadata.get_name(), end='')" 2> nul`
221
- PKG_DIST=`{envpython} -c "import warnings ; warnings.filterwarnings('ignore') ;import setuptools ; setuptools._distutils.core._setup_stop_after='config' ; print(setuptools.setup().metadata.get_fullname(), end='')" 2> nul`
240
+ {[testenv]setenv}
241
+ PKG_PVER=`{envpython} -W ignore -c "import platform ; print(''.join(platform.python_version_tuple()[:2]), end='')" 2> nul`
242
+ PKG_NAME=`{envpython} -W ignore -c "import setuptools ; setuptools._distutils.core._setup_stop_after='config' ; print(setuptools.setup().metadata.get_name(), end='')" 2> nul`
243
+ PKG_DIST=`{envpython} -W ignore -c "import setuptools ; setuptools._distutils.core._setup_stop_after='config' ; print(setuptools.setup().metadata.get_fullname(), end='')" 2> nul`
222
244
  commands =
223
- {[testenv]commands}
224
- {[testenv:docs]commands}
225
- {envpython} -c "from setuptools import setup ; setup()" --quiet sdist --formats=zip
226
- {envpython} -c "from setuptools import setup ; setup()" --quiet bdist_wheel
245
+ {envpython} -W ignore -c "from setuptools import setup ; setup()" --quiet sdist --formats=zip
246
+ {envpython} -W ignore -c "from setuptools import setup ; setup()" --quiet bdist_wheel
227
247
  # check out for PyPi
228
248
  {envpython} -m twine check dist/*
229
- extras =
230
- {[testenv]extras}
231
- {[testenv:docs]extras}
232
249
  deps =
233
250
  {[testenv]deps}
234
- {[testenv:docs]deps}
235
- twine>=4.0.1
251
+ twine>=4.0.2
236
252
 
237
253
  [testenv:publish]
238
- basepython = python3.7
239
- setenv =
240
- {[testenv:build]setenv}
254
+ depends = build
255
+ basepython = {[base]basepython}
256
+ skip_install = true
241
257
  commands =
242
- {[testenv:build]commands}
243
258
  # publish on PyPi
244
259
  {envpython} -m twine upload dist/*
245
260
  extras =
246
- {[testenv:build]extras}
247
261
  deps =
248
- {[testenv:build]deps}
249
- twine>=4.0.1
262
+ twine>=4.0.2
250
263
 
251
264
  [testenv:lint]
252
- basepython = python3.7
265
+ basepython = {[base]basepython}
253
266
  commands =
254
- {envpython} -m flake8p {envsitepackagesdir}/{[base]packagesubdir}/
267
+ {envpython} -m flake8 {envsitepackagesdir}/{[base]packagesubdir}/
255
268
  extras =
256
269
  deps =
257
270
  {[testenv]deps}
258
- flake8>=5.0.4
259
- flake8-pyproject>=1.1.0.post0
260
- flake8-docstrings>=1.6.0
261
- pep8-naming>=0.13.2
262
- flake8-builtins>=1.5.3
271
+ flake8>=7.0.0
272
+ flake8-pyproject>=1.2.3
273
+ flake8-docstrings>=1.7.0
274
+ pep8-naming>=0.13.3
275
+ flake8-builtins>=2.2.0
276
+ flake8-deprecated>=2.2.1
263
277
  """
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,6 @@
1
+ # Copyright (c) 2016 Adam Karpierz
2
+ # Licensed under the zlib/libpng License
3
+ # https://opensource.org/license/zlib
4
+
5
+ __import__("pkg_about").about()
6
+ __copyright__ = f"Copyright (c) 2016-2024 {__author__}" # noqa
@@ -1,6 +1,6 @@
1
- # Copyright (c) 2016-2022 Adam Karpierz
1
+ # Copyright (c) 2016 Adam Karpierz
2
2
  # Licensed under the zlib/libpng License
3
- # https://opensource.org/licenses/Zlib
3
+ # https://opensource.org/license/zlib
4
4
 
5
5
  from .__about__ import * ; del __about__ # noqa
6
6
 
@@ -1,6 +1,6 @@
1
- # Copyright (c) 2016-2022 Adam Karpierz
1
+ # Copyright (c) 2016 Adam Karpierz
2
2
  # Licensed under the zlib/libpng License
3
- # https://opensource.org/licenses/Zlib
3
+ # https://opensource.org/license/zlib
4
4
 
5
5
  __all__ = ('renumerate',)
6
6
 
@@ -1,12 +1,12 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: renumerate
3
- Version: 1.1.10
3
+ Version: 1.1.11
4
4
  Summary: Reverse enumerate.
5
5
  Author: Adam Karpierz
6
6
  Author-email: adam@karpierz.net
7
7
  Maintainer: Adam Karpierz
8
8
  Maintainer-email: adam@karpierz.net
9
- License: zlib/libpng License ; https://opensource.org/licenses/Zlib
9
+ License: zlib/libpng License ; https://opensource.org/license/zlib
10
10
  Project-URL: Homepage, https://pypi.org/project/renumerate/
11
11
  Project-URL: Documentation, https://renumerate.readthedocs.io/
12
12
  Project-URL: Download, https://pypi.org/project/renumerate/
@@ -21,21 +21,32 @@ Classifier: Operating System :: OS Independent
21
21
  Classifier: Natural Language :: Polish
22
22
  Classifier: Programming Language :: Python
23
23
  Classifier: Programming Language :: Python :: 3
24
- Classifier: Programming Language :: Python :: 3.7
25
24
  Classifier: Programming Language :: Python :: 3.8
26
25
  Classifier: Programming Language :: Python :: 3.9
27
26
  Classifier: Programming Language :: Python :: 3.10
28
27
  Classifier: Programming Language :: Python :: 3.11
28
+ Classifier: Programming Language :: Python :: 3.12
29
29
  Classifier: Programming Language :: Python :: 3 :: Only
30
30
  Classifier: Programming Language :: Python :: Implementation :: CPython
31
31
  Classifier: Programming Language :: Python :: Implementation :: PyPy
32
- Classifier: Programming Language :: Python :: Implementation :: Stackless
33
32
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
34
- Requires-Python: <4.0.0,>=3.7.0
33
+ Requires-Python: <4.0.0,>=3.8.1
35
34
  Description-Content-Type: text/x-rst; charset=UTF-8
35
+ License-File: LICENSE
36
+ Requires-Dist: setuptools>=68.2.2
37
+ Requires-Dist: pkg-about>=1.1.3
36
38
  Provides-Extra: doc
39
+ Requires-Dist: Sphinx>=7.1.2; extra == "doc"
40
+ Requires-Dist: sphinx-toolbox>=3.5.0; extra == "doc"
41
+ Requires-Dist: sphinx-tabs>=3.4.1; extra == "doc"
42
+ Requires-Dist: sphinx-copybutton>=0.5.1; extra == "doc"
43
+ Requires-Dist: sphinxcontrib-spelling>=7.7.0; extra == "doc"
44
+ Requires-Dist: sphinx-lint>=0.6.7; extra == "doc"
45
+ Requires-Dist: restructuredtext-lint>=1.4.0; extra == "doc"
46
+ Requires-Dist: nbsphinx>=0.8.10; extra == "doc"
37
47
  Provides-Extra: test
38
- License-File: LICENSE
48
+ Requires-Dist: deepdiff>=6.7.1; extra == "test"
49
+ Requires-Dist: rich>=13.7.0; extra == "test"
39
50
 
40
51
  renumerate
41
52
  ==========
@@ -94,10 +105,9 @@ Installation
94
105
 
95
106
  Prerequisites:
96
107
 
97
- + Python 3.7 or higher
108
+ + Python 3.8 or higher
98
109
 
99
110
  * https://www.python.org/
100
- * 3.7 is a primary test environment.
101
111
 
102
112
  + pip and setuptools
103
113
 
@@ -119,7 +129,7 @@ Prerequisites:
119
129
 
120
130
  python -m pip install --upgrade tox
121
131
 
122
- Visit `development page`_.
132
+ Visit `Development page`_.
123
133
 
124
134
  Installation from sources:
125
135
 
@@ -144,9 +154,9 @@ or on development mode:
144
154
  License
145
155
  =======
146
156
 
147
- | Copyright (c) 2016-2022 Adam Karpierz
157
+ | Copyright (c) 2016-2024 Adam Karpierz
148
158
  | Licensed under the zlib/libpng License
149
- | https://opensource.org/licenses/Zlib
159
+ | https://opensource.org/license/zlib
150
160
  | Please refer to the accompanying LICENSE file.
151
161
 
152
162
  Authors
@@ -157,7 +167,7 @@ Authors
157
167
  .. |package| replace:: renumerate
158
168
  .. |package_bold| replace:: **renumerate**
159
169
  .. |respository| replace:: https://github.com/karpierz/renumerate.git
160
- .. _development page: https://github.com/karpierz/renumerate
170
+ .. _Development page: https://github.com/karpierz/renumerate
161
171
  .. _PyPI record: https://pypi.org/project/renumerate/
162
172
  .. _Documentation: https://renumerate.readthedocs.io/
163
173
  .. _enumerate: https://docs.python.org/library/functions.html#enumerate
@@ -165,6 +175,11 @@ Authors
165
175
  Changelog
166
176
  =========
167
177
 
178
+ 1.1.11 (2024-01-25)
179
+ -------------------
180
+ - Setup update (now based on tox >= 4.0).
181
+ - Cleanup.
182
+
168
183
  1.1.10 (2022-10-18)
169
184
  -------------------
170
185
  - Tox configuration has been moved to pyproject.toml
@@ -4,7 +4,6 @@ LICENSE
4
4
  MANIFEST.in
5
5
  README.rst
6
6
  pyproject.toml
7
- setup.cfg
8
7
  docs/CHANGES.rst
9
8
  docs/README.rst
10
9
  docs/conf.py
@@ -0,0 +1,16 @@
1
+ setuptools>=68.2.2
2
+ pkg-about>=1.1.3
3
+
4
+ [doc]
5
+ Sphinx>=7.1.2
6
+ sphinx-toolbox>=3.5.0
7
+ sphinx-tabs>=3.4.1
8
+ sphinx-copybutton>=0.5.1
9
+ sphinxcontrib-spelling>=7.7.0
10
+ sphinx-lint>=0.6.7
11
+ restructuredtext-lint>=1.4.0
12
+ nbsphinx>=0.8.10
13
+
14
+ [test]
15
+ deepdiff>=6.7.1
16
+ rich>=13.7.0
@@ -1,6 +1,6 @@
1
- # Copyright (c) 2016-2022 Adam Karpierz
1
+ # Copyright (c) 2016 Adam Karpierz
2
2
  # Licensed under the zlib/libpng License
3
- # https://opensource.org/licenses/Zlib
3
+ # https://opensource.org/license/zlib
4
4
 
5
5
  __all__ = ('top_dir', 'test_dir')
6
6
 
@@ -1,6 +1,6 @@
1
- # Copyright (c) 2016-2022 Adam Karpierz
1
+ # Copyright (c) 2016 Adam Karpierz
2
2
  # Licensed under the zlib/libpng License
3
- # https://opensource.org/licenses/Zlib
3
+ # https://opensource.org/license/zlib
4
4
 
5
5
  import unittest
6
6
  import sys
@@ -1,6 +1,6 @@
1
- # Copyright (c) 2016-2022 Adam Karpierz
1
+ # Copyright (c) 2016 Adam Karpierz
2
2
  # Licensed under the zlib/libpng License
3
- # https://opensource.org/licenses/Zlib
3
+ # https://opensource.org/license/zlib
4
4
 
5
5
  import unittest
6
6
  import types
@@ -1,9 +0,0 @@
1
- version: 2
2
- build:
3
- image: latest
4
- python:
5
- version: 3.7
6
- install:
7
- - method: pip
8
- path: .
9
- extra_requirements: [doc]
@@ -1,11 +0,0 @@
1
- [build_sphinx]
2
- source-dir = docs
3
- build-dir = build/docs
4
- builder = html
5
- all-files = True
6
- warning-is-error = True
7
-
8
- [egg_info]
9
- tag_build =
10
- tag_date = 0
11
-
@@ -1,6 +0,0 @@
1
- # Copyright (c) 2016-2022 Adam Karpierz
2
- # Licensed under the zlib/libpng License
3
- # https://opensource.org/licenses/Zlib
4
-
5
- __import__("pkg_about").about()
6
- __copyright__ = f"Copyright (c) 2016-2022 {__author__}" # noqa
@@ -1,14 +0,0 @@
1
- setuptools>=63.2.0
2
- pkg_about>=1.0.8
3
-
4
- [doc]
5
- docutils<0.19,>=0.14
6
- Sphinx>=4.5.0
7
- sphinx-tabs>=3.4.1
8
- sphinx_copybutton>=0.5.0
9
- sphinxcontrib-spelling>=7.6.0
10
- restructuredtext-lint>=1.4.0
11
- nbsphinx>=0.8.9
12
-
13
- [test]
14
- deepdiff>=5.8.1
File without changes
File without changes