let3 1.0.21__zip → 1.0.23__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.
Files changed (31) hide show
  1. let3-1.0.23/.readthedocs.yml +15 -0
  2. {let3-1.0.21 → let3-1.0.23}/CHANGES.rst +11 -0
  3. {let3-1.0.21 → let3-1.0.23}/LICENSE +1 -1
  4. {let3-1.0.21 → let3-1.0.23}/MANIFEST.in +2 -2
  5. {let3-1.0.21 → let3-1.0.23}/PKG-INFO +32 -11
  6. {let3-1.0.21 → let3-1.0.23}/README.rst +4 -5
  7. {let3-1.0.21 → let3-1.0.23}/docs/conf.py +1 -0
  8. {let3-1.0.21 → let3-1.0.23}/pyproject.toml +88 -80
  9. let3-1.0.23/setup.cfg +4 -0
  10. let3-1.0.23/src/let/__about__.py +6 -0
  11. {let3-1.0.21 → let3-1.0.23}/src/let/__init__.py +2 -2
  12. {let3-1.0.21 → let3-1.0.23}/src/let/_let.py +2 -2
  13. {let3-1.0.21 → let3-1.0.23}/src/let3.egg-info/PKG-INFO +32 -11
  14. {let3-1.0.21 → let3-1.0.23}/src/let3.egg-info/SOURCES.txt +0 -1
  15. let3-1.0.23/src/let3.egg-info/requires.txt +16 -0
  16. {let3-1.0.21 → let3-1.0.23}/tests/__init__.py +2 -2
  17. {let3-1.0.21 → let3-1.0.23}/tests/__main__.py +2 -2
  18. {let3-1.0.21 → let3-1.0.23}/tests/test_main.py +5 -2
  19. let3-1.0.21/.readthedocs.yml +0 -9
  20. let3-1.0.21/setup.cfg +0 -11
  21. let3-1.0.21/src/let/__about__.py +0 -6
  22. let3-1.0.21/src/let3.egg-info/requires.txt +0 -14
  23. {let3-1.0.21 → let3-1.0.23}/docs/CHANGES.rst +0 -0
  24. {let3-1.0.21 → let3-1.0.23}/docs/README.rst +0 -0
  25. {let3-1.0.21 → let3-1.0.23}/docs/_static/.keep +0 -0
  26. {let3-1.0.21 → let3-1.0.23}/docs/_templates/.keep +0 -0
  27. {let3-1.0.21 → let3-1.0.23}/docs/index.rst +0 -0
  28. {let3-1.0.21 → let3-1.0.23}/src/let3.egg-info/dependency_links.txt +0 -0
  29. {let3-1.0.21 → let3-1.0.23}/src/let3.egg-info/top_level.txt +0 -0
  30. {let3-1.0.21 → let3-1.0.23}/src/let3.egg-info/zip-safe +0 -0
  31. {let3-1.0.21 → let3-1.0.23}/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,17 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ 1.0.23 (2024-01-26)
5
+ -------------------
6
+ - Setup update (now based on tox >= 4.0).
7
+ - Add support for Python 3.12
8
+ - Drop support for Python 3.7
9
+ - Add support for PyPy 3.9 and 3.10
10
+ - Add support for PyPy 3.7 and 3.8
11
+ - Copyright year update.
12
+ - Tox configuration has been moved to pyproject.toml
13
+ - Cleanup.
14
+
4
15
  1.0.21 (2022-10-18)
5
16
  -------------------
6
17
  - Tox configuration has been moved to pyproject.toml
@@ -1,7 +1,7 @@
1
1
  MIT License
2
2
 
3
3
  Copyright (c) 2016 Taylor Marks <taylor@marksfam.com>
4
- Copyright (c) 2016-2022 Adam Karpierz <adam@karpierz.net>
4
+ Copyright (c) 2016-2024 Adam Karpierz <adam@karpierz.net>
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
7
7
  of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
- # Copyright (c) 2016-2022 Adam Karpierz
1
+ # Copyright (c) 2016 Adam Karpierz
2
2
  # Licensed under the MIT License
3
- # https://opensource.org/licenses/MIT
3
+ # https://opensource.org/license/mit
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: let3
3
- Version: 1.0.21
3
+ Version: 1.0.23
4
4
  Summary: Assign variables wherever, whenever you want.
5
5
  Author: Taylor Marks, Adam Karpierz
6
6
  Author-email: adam@karpierz.net
7
7
  Maintainer: Adam Karpierz
8
8
  Maintainer-email: adam@karpierz.net
9
- License: MIT License ; https://opensource.org/licenses/MIT
9
+ License: MIT License ; https://opensource.org/license/mit
10
10
  Project-URL: Homepage, https://pypi.org/project/let3/
11
11
  Project-URL: Documentation, https://let3.readthedocs.io/
12
12
  Project-URL: Download, https://pypi.org/project/let3/
@@ -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.5
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
  let3
41
52
  ====
@@ -115,7 +126,6 @@ Prerequisites:
115
126
  + Python 3.7 or higher
116
127
 
117
128
  * https://www.python.org/
118
- * 3.7 is a primary test environment.
119
129
 
120
130
  + pip and setuptools
121
131
 
@@ -137,7 +147,7 @@ Prerequisites:
137
147
 
138
148
  python -m pip install --upgrade tox
139
149
 
140
- Visit `development page`_.
150
+ Visit `Development page`_.
141
151
 
142
152
  Installation from sources:
143
153
 
@@ -163,9 +173,9 @@ License
163
173
  =======
164
174
 
165
175
  | Copyright (c) 2016 Taylor Marks
166
- | Copyright (c) 2016-2022 Adam Karpierz
176
+ | Copyright (c) 2016-2024 Adam Karpierz
167
177
  | Licensed under the MIT License
168
- | https://opensource.org/licenses/MIT
178
+ | https://opensource.org/license/mit
169
179
  | Please refer to the accompanying LICENSE file.
170
180
 
171
181
  Authors
@@ -177,7 +187,7 @@ Authors
177
187
  .. |package| replace:: let3
178
188
  .. |package_bold| replace:: **let3**
179
189
  .. |respository| replace:: https://github.com/karpierz/let3.git
180
- .. _development page: https://github.com/karpierz/let3
190
+ .. _Development page: https://github.com/karpierz/let3
181
191
  .. _PyPI record: https://pypi.org/project/let3/
182
192
  .. _Documentation: https://let3.readthedocs.io/
183
193
  .. _let: https://pypi.org/project/let/
@@ -185,6 +195,17 @@ Authors
185
195
  Changelog
186
196
  =========
187
197
 
198
+ 1.0.23 (2024-01-26)
199
+ -------------------
200
+ - Setup update (now based on tox >= 4.0).
201
+ - Add support for Python 3.12
202
+ - Drop support for Python 3.7
203
+ - Add support for PyPy 3.9 and 3.10
204
+ - Add support for PyPy 3.7 and 3.8
205
+ - Copyright year update.
206
+ - Tox configuration has been moved to pyproject.toml
207
+ - Cleanup.
208
+
188
209
  1.0.21 (2022-10-18)
189
210
  -------------------
190
211
  - Tox configuration has been moved to pyproject.toml
@@ -76,7 +76,6 @@ Prerequisites:
76
76
  + Python 3.7 or higher
77
77
 
78
78
  * https://www.python.org/
79
- * 3.7 is a primary test environment.
80
79
 
81
80
  + pip and setuptools
82
81
 
@@ -98,7 +97,7 @@ Prerequisites:
98
97
 
99
98
  python -m pip install --upgrade tox
100
99
 
101
- Visit `development page`_.
100
+ Visit `Development page`_.
102
101
 
103
102
  Installation from sources:
104
103
 
@@ -124,9 +123,9 @@ License
124
123
  =======
125
124
 
126
125
  | Copyright (c) 2016 Taylor Marks
127
- | Copyright (c) 2016-2022 Adam Karpierz
126
+ | Copyright (c) 2016-2024 Adam Karpierz
128
127
  | Licensed under the MIT License
129
- | https://opensource.org/licenses/MIT
128
+ | https://opensource.org/license/mit
130
129
  | Please refer to the accompanying LICENSE file.
131
130
 
132
131
  Authors
@@ -138,7 +137,7 @@ Authors
138
137
  .. |package| replace:: let3
139
138
  .. |package_bold| replace:: **let3**
140
139
  .. |respository| replace:: https://github.com/karpierz/let3.git
141
- .. _development page: https://github.com/karpierz/let3
140
+ .. _Development page: https://github.com/karpierz/let3
142
141
  .. _PyPI record: https://pypi.org/project/let3/
143
142
  .. _Documentation: https://let3.readthedocs.io/
144
143
  .. _let: https://pypi.org/project/let/
@@ -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 MIT License
3
- # https://opensource.org/licenses/MIT
3
+ # https://opensource.org/license/mit
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 = 'let3'
11
- version = '1.0.21'
11
+ version = '1.0.23'
12
12
  description = 'Assign variables wherever, whenever you want.'
13
- license = { text = 'MIT License ; https://opensource.org/licenses/MIT' }
13
+ urls.Homepage = 'https://pypi.org/project/let3/'
14
+ urls.Documentation = 'https://let3.readthedocs.io/'
15
+ urls.Download = 'https://pypi.org/project/let3/'
16
+ urls.Source = 'https://github.com/karpierz/let3'
17
+ urls.Issues = 'https://github.com/karpierz/let3/issues'
18
+ license = { text = 'MIT License ; https://opensource.org/license/mit' }
14
19
  authors = [
15
20
  { name = 'Taylor Marks, Adam Karpierz' },
16
21
  { email = 'adam@karpierz.net' },
@@ -29,50 +34,45 @@ classifiers = [
29
34
  'Natural Language :: Polish',
30
35
  'Programming Language :: Python',
31
36
  'Programming Language :: Python :: 3',
32
- 'Programming Language :: Python :: 3.7',
33
37
  'Programming Language :: Python :: 3.8',
34
38
  'Programming Language :: Python :: 3.9',
35
39
  'Programming Language :: Python :: 3.10',
36
40
  'Programming Language :: Python :: 3.11',
41
+ 'Programming Language :: Python :: 3.12',
37
42
  'Programming Language :: Python :: 3 :: Only',
38
43
  'Programming Language :: Python :: Implementation :: CPython',
39
44
  'Programming Language :: Python :: Implementation :: PyPy',
40
- 'Programming Language :: Python :: Implementation :: Stackless',
41
45
  'Topic :: Software Development :: Libraries :: Python Modules',
42
46
  ]
43
- requires-python = '>=3.7.0,<4.0.0'
47
+ requires-python = '>=3.8.1,<4.0.0'
44
48
  dependencies = [
45
49
  # mandatory
46
- 'setuptools>=63.2.0',
47
- 'pkg_about>=1.0.8',
50
+ 'setuptools>=68.2.2',
51
+ 'pkg-about>=1.1.5',
48
52
  # others
49
53
  ]
50
54
  dynamic = ['readme']
51
55
  [project.optional-dependencies]
52
56
  doc = [
53
- 'docutils>=0.14,<0.19',
54
- 'Sphinx>=4.5.0',
57
+ 'Sphinx>=7.1.2',
58
+ 'sphinx-toolbox>=3.5.0',
55
59
  'sphinx-tabs>=3.4.1',
56
- 'sphinx_copybutton>=0.5.0',
57
- 'sphinxcontrib-spelling>=7.6.0',
60
+ 'sphinx-copybutton>=0.5.1',
61
+ 'sphinxcontrib-spelling>=7.7.0',
62
+ 'sphinx-lint>=0.6.7',
58
63
  'restructuredtext-lint>=1.4.0',
59
- 'nbsphinx>=0.8.9',
64
+ 'nbsphinx>=0.8.10',
60
65
  ]
61
66
  test = [
62
- 'deepdiff>=5.8.1',
67
+ 'deepdiff>=6.7.1',
68
+ 'rich>=13.7.0',
63
69
  ]
64
- [project.urls]
65
- Homepage = 'https://pypi.org/project/let3/'
66
- Documentation = 'https://let3.readthedocs.io/'
67
- Download = 'https://pypi.org/project/let3/'
68
- Source = 'https://github.com/karpierz/let3'
69
- Issues = 'https://github.com/karpierz/let3/issues'
70
70
 
71
71
  [project.scripts]
72
- #let = 'let.__main__:main'
72
+ #'let' = 'let.__main__:main'
73
73
 
74
74
  [project.gui-scripts]
75
- #let-gui = 'let:main_gui'
75
+ #'let-gui' = 'let:main_gui'
76
76
 
77
77
  #[project.entry-points.'let.magical']
78
78
  #epoint = 'let:main_epoint'
@@ -98,6 +98,11 @@ where = ['src']
98
98
  let = [
99
99
  ]
100
100
 
101
+ [tool.setuptools.exclude-package-data]
102
+ '*' = ['*.c','*.h','*.cpp','*.hpp','*.cxx','*.hxx','*.pyx','*.pxd']
103
+ let = [
104
+ ]
105
+
101
106
  [tool.coverage.run]
102
107
  source = [
103
108
  'let',
@@ -106,18 +111,16 @@ source = [
106
111
  omit = [
107
112
  ]
108
113
  data_file = '.tox/coverage/.coverage'
114
+ plugins = ['covdefaults']
109
115
 
110
116
  [tool.coverage.report]
111
117
  exclude_lines = [
112
118
  # Regexes
113
119
  # Have to re-enable the standard pragma
114
- 'pragma: no cover',
115
- 'if\s+self\.debug\s+:',
116
- 'if\s+__debug__\s+:',
117
- 'raise (AssertionError|NotImplementedError)',
118
- 'if\s+(0|False)\s*:',
119
- '''if\s+__name__.*\s*==\s*'__main__'\s*:''',
120
- 'if\s+__name__.*\s*==\s*"__main__"\s*:',
120
+ '^\s*if\s+self\.debug\s*:',
121
+ '^\s*if\s+__debug__\s*:',
122
+ '^\s*if\s+(0|False)\s*:',
123
+ '''if\s+__name__.*\s*==\s*['"]__main__['"]\s*:''',
121
124
  '^\s*@unittest\.skip\(',
122
125
  '^\s*@unittest\.skipIf\(sys\.platform\.startswith\("win"\)',
123
126
  ]
@@ -156,35 +159,44 @@ count = true
156
159
  [tool.tox]
157
160
  legacy_tox_ini = """
158
161
  [tox]
159
- envlist = py{37,38,39,310,311}, pypy{37,38,39}, coverage, docs
160
- minversion = 3.24.5
161
- isolated_build = True
162
+ envlist = py{38,39,310,311,312}, pypy{39,310}, docs
163
+ labels =
164
+ py = py{38,39,310,311,312}, pypy{39,310}
165
+ prepare = prepare
166
+ coverage = coverage
167
+ lint = lint
168
+ docs = docs
169
+ build = py{38,39,310,311,312}, pypy{39,310}, docs, build
170
+ deploy = py{38,39,310,311,312}, pypy{39,310}, docs, build, publish
171
+ minversion = 4.11.3
162
172
  skip_missing_interpreters = true
163
173
  requires =
164
- tox-venv>=0.4.0
165
- tox-backticks>=0.3.0
174
+ {[base]deps}
175
+ virtualenv>=20.25.0
176
+ tox-backtick>=0.4.4
166
177
  tox-tags>=0.2.0
167
- tox-run-before>=0.1.0
168
- {[base]setup_requires}
169
178
 
170
179
  [base]
171
- setup_requires =
172
- pip>=21.2.4
173
- setuptools>=63.2.0
174
- wheel>=0.37.1
180
+ basepython = python3.11
181
+ deps =
182
+ pip>=23.3.2
183
+ setuptools>=68.2.2
184
+ wheel>=0.42.0
175
185
  packagesubdir = let
176
186
 
177
187
  [testenv]
178
188
  passenv = WINDIR
189
+ setenv =
190
+ PYTHONDONTWRITEBYTECODE = 1
179
191
  commands =
180
192
  {envpython} --version
181
- {envpython} -B -m tests {posargs}
193
+ {envpython} -m tests {posargs}
182
194
  extras = test
183
195
  deps =
184
- {[base]setup_requires}
196
+ {[base]deps}
185
197
 
186
198
  [testenv:prepare]
187
- basepython = python3.7
199
+ basepython = {[base]basepython}
188
200
  skip_install = true
189
201
  allowlist_externals =
190
202
  cmd
@@ -193,72 +205,68 @@ commands =
193
205
  cmd /C if exist .build.cmd .build.cmd
194
206
 
195
207
  [testenv:coverage]
196
- basepython = python3.7
208
+ basepython = {[base]basepython}
197
209
  commands =
198
210
  {envpython} -m coverage erase
199
- -{envpython} -B -m coverage run -m tests {posargs}
211
+ -{envpython} -m coverage run -m tests {posargs}
200
212
  {envpython} -m coverage report
201
213
  {envpython} -m coverage html
202
214
  deps =
203
215
  {[testenv]deps}
204
- coverage>=6.4.4
205
- diff-cover>=6.5.1
216
+ coverage>=7.4.0
217
+ covdefaults>=2.3.0
218
+ diff-cover>=7.7.0
206
219
 
207
220
  [testenv:docs]
208
- basepython = python3.7
221
+ basepython = {[base]basepython}
209
222
  commands =
223
+ {envpython} -m sphinxlint --ignore .tox --ignore build --ignore dist
210
224
  #{envpython} -m sphinx.apidoc -f {envsitepackagesdir}/{[base]packagesubdir}
211
- {envpython} -c "from setuptools import setup ; setup()" -v build_sphinx -b html -E
212
- {envpython} -c "from setuptools import setup ; setup()" -v build_sphinx -b linkcheck
213
- {envpython} -c "from setuptools import setup ; setup()" -v build_sphinx -b doctest
225
+ {envpython} -m sphinx.cmd.build -W -a -b html -E ./docs ./build/docs/html
226
+ {envpython} -m sphinx.cmd.build -W -a -b linkcheck ./docs ./build/docs/html
227
+ {envpython} -m sphinx.cmd.build -W -a -b doctest ./docs ./build/docs/html
214
228
  extras = doc
215
229
  deps =
216
230
 
217
231
  [testenv:build]
218
- basepython = python3.7
232
+ depends = py{38,39,310,311,312}, pypy{39,310}, docs
233
+ basepython = {[base]basepython}
219
234
  setenv =
220
- PKG_PVER=`{envpython} -c "import platform ; print(''.join(platform.python_version_tuple()[:2]))" 2> nul`
221
- 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`
222
- 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`
235
+ {[testenv]setenv}
236
+ PKG_PVER=`{envpython} -W ignore -c "import platform ; print(''.join(platform.python_version_tuple()[:2]), end='')" 2> nul`
237
+ PKG_NAME=`{envpython} -W ignore -c "import setuptools ; setuptools._distutils.core._setup_stop_after='config' ; print(setuptools.setup().metadata.get_name(), end='')" 2> nul`
238
+ PKG_DIST=`{envpython} -W ignore -c "import setuptools ; setuptools._distutils.core._setup_stop_after='config' ; print(setuptools.setup().metadata.get_fullname(), end='')" 2> nul`
223
239
  commands =
224
- {[testenv]commands}
225
- {[testenv:docs]commands}
226
- {envpython} -c "from setuptools import setup ; setup()" --quiet sdist --formats=zip
227
- {envpython} -c "from setuptools import setup ; setup()" --quiet bdist_wheel
240
+ {envpython} -W ignore -c "from setuptools import setup ; setup()" --quiet sdist --formats=zip
241
+ {envpython} -W ignore -c "from setuptools import setup ; setup()" --quiet bdist_wheel
228
242
  # check out for PyPi
229
243
  {envpython} -m twine check dist/*
230
- extras =
231
- {[testenv]extras}
232
- {[testenv:docs]extras}
233
244
  deps =
234
245
  {[testenv]deps}
235
- {[testenv:docs]deps}
236
- twine>=4.0.1
246
+ twine>=4.0.2
237
247
 
238
248
  [testenv:publish]
239
- basepython = python3.7
240
- setenv =
241
- {[testenv:build]setenv}
249
+ depends = build
250
+ basepython = {[base]basepython}
251
+ skip_install = true
242
252
  commands =
243
- {[testenv:build]commands}
244
253
  # publish on PyPi
245
254
  {envpython} -m twine upload dist/*
246
255
  extras =
247
- {[testenv:build]extras}
248
256
  deps =
249
- {[testenv:build]deps}
250
- twine>=4.0.1
257
+ twine>=4.0.2
251
258
 
252
259
  [testenv:lint]
253
- basepython = python3.7
260
+ basepython = {[base]basepython}
254
261
  commands =
255
- {envpython} -m flake8p {envsitepackagesdir}/{[base]packagesubdir}/
262
+ {envpython} -m flake8 {envsitepackagesdir}/{[base]packagesubdir}/
256
263
  extras =
257
264
  deps =
258
265
  {[testenv]deps}
259
- flake8>=5.0.4
260
- flake8-pyproject>=1.1.0.post0
261
- flake8-docstrings>=1.6.0
262
- pep8-naming>=0.13.2
263
- flake8-builtins>=1.5.3
266
+ flake8>=7.0.0
267
+ flake8-pyproject>=1.2.3
268
+ flake8-docstrings>=1.7.0
269
+ pep8-naming>=0.13.3
270
+ flake8-builtins>=2.2.0
271
+ flake8-deprecated>=2.2.1
264
272
  """
let3-1.0.23/setup.cfg ADDED
@@ -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 MIT License
3
+ # https://opensource.org/license/mit
4
+
5
+ __import__("pkg_about").about("let3")
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 MIT License
3
- # https://opensource.org/licenses/MIT
3
+ # https://opensource.org/license/mit
4
4
 
5
5
  from .__about__ import * ; del __about__ # noqa
6
6
 
@@ -1,7 +1,7 @@
1
1
  # Copyright (c) 2016 Taylor Marks
2
- # Copyright (c) 2016-2022 Adam Karpierz
2
+ # Copyright (c) 2016 Adam Karpierz
3
3
  # Licensed under the MIT License
4
- # https://opensource.org/licenses/MIT
4
+ # https://opensource.org/license/mit
5
5
 
6
6
  __all__ = ('let',)
7
7
 
@@ -1,12 +1,12 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: let3
3
- Version: 1.0.21
3
+ Version: 1.0.23
4
4
  Summary: Assign variables wherever, whenever you want.
5
5
  Author: Taylor Marks, Adam Karpierz
6
6
  Author-email: adam@karpierz.net
7
7
  Maintainer: Adam Karpierz
8
8
  Maintainer-email: adam@karpierz.net
9
- License: MIT License ; https://opensource.org/licenses/MIT
9
+ License: MIT License ; https://opensource.org/license/mit
10
10
  Project-URL: Homepage, https://pypi.org/project/let3/
11
11
  Project-URL: Documentation, https://let3.readthedocs.io/
12
12
  Project-URL: Download, https://pypi.org/project/let3/
@@ -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.5
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
  let3
41
52
  ====
@@ -115,7 +126,6 @@ Prerequisites:
115
126
  + Python 3.7 or higher
116
127
 
117
128
  * https://www.python.org/
118
- * 3.7 is a primary test environment.
119
129
 
120
130
  + pip and setuptools
121
131
 
@@ -137,7 +147,7 @@ Prerequisites:
137
147
 
138
148
  python -m pip install --upgrade tox
139
149
 
140
- Visit `development page`_.
150
+ Visit `Development page`_.
141
151
 
142
152
  Installation from sources:
143
153
 
@@ -163,9 +173,9 @@ License
163
173
  =======
164
174
 
165
175
  | Copyright (c) 2016 Taylor Marks
166
- | Copyright (c) 2016-2022 Adam Karpierz
176
+ | Copyright (c) 2016-2024 Adam Karpierz
167
177
  | Licensed under the MIT License
168
- | https://opensource.org/licenses/MIT
178
+ | https://opensource.org/license/mit
169
179
  | Please refer to the accompanying LICENSE file.
170
180
 
171
181
  Authors
@@ -177,7 +187,7 @@ Authors
177
187
  .. |package| replace:: let3
178
188
  .. |package_bold| replace:: **let3**
179
189
  .. |respository| replace:: https://github.com/karpierz/let3.git
180
- .. _development page: https://github.com/karpierz/let3
190
+ .. _Development page: https://github.com/karpierz/let3
181
191
  .. _PyPI record: https://pypi.org/project/let3/
182
192
  .. _Documentation: https://let3.readthedocs.io/
183
193
  .. _let: https://pypi.org/project/let/
@@ -185,6 +195,17 @@ Authors
185
195
  Changelog
186
196
  =========
187
197
 
198
+ 1.0.23 (2024-01-26)
199
+ -------------------
200
+ - Setup update (now based on tox >= 4.0).
201
+ - Add support for Python 3.12
202
+ - Drop support for Python 3.7
203
+ - Add support for PyPy 3.9 and 3.10
204
+ - Add support for PyPy 3.7 and 3.8
205
+ - Copyright year update.
206
+ - Tox configuration has been moved to pyproject.toml
207
+ - Cleanup.
208
+
188
209
  1.0.21 (2022-10-18)
189
210
  -------------------
190
211
  - 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.5
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 MIT License
3
- # https://opensource.org/licenses/MIT
3
+ # https://opensource.org/license/mit
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 MIT License
3
- # https://opensource.org/licenses/MIT
3
+ # https://opensource.org/license/mit
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 MIT License
3
- # https://opensource.org/licenses/MIT
3
+ # https://opensource.org/license/mit
4
4
 
5
5
  import unittest
6
6
 
@@ -12,3 +12,6 @@ class MainTestCase(unittest.TestCase):
12
12
 
13
13
  def setUp(self):
14
14
  pass
15
+
16
+ def test_main(self):
17
+ pass
@@ -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]
let3-1.0.21/setup.cfg DELETED
@@ -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 MIT License
3
- # https://opensource.org/licenses/MIT
4
-
5
- __import__("pkg_about").about("let3")
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
File without changes
File without changes
File without changes
File without changes
File without changes