boilerplates 1.2.0.dev4__tar.gz → 1.2.2__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 (47) hide show
  1. {boilerplates-1.2.0.dev4/boilerplates.egg-info → boilerplates-1.2.2}/PKG-INFO +7 -7
  2. {boilerplates-1.2.0.dev4 → boilerplates-1.2.2}/boilerplates/sentry.py +1 -1
  3. {boilerplates-1.2.0.dev4 → boilerplates-1.2.2/boilerplates.egg-info}/PKG-INFO +7 -7
  4. {boilerplates-1.2.0.dev4 → boilerplates-1.2.2}/pyproject.toml +1 -1
  5. {boilerplates-1.2.0.dev4 → boilerplates-1.2.2}/setup.py +1 -1
  6. {boilerplates-1.2.0.dev4 → boilerplates-1.2.2}/LICENSE +0 -0
  7. {boilerplates-1.2.0.dev4 → boilerplates-1.2.2}/MANIFEST.in +0 -0
  8. {boilerplates-1.2.0.dev4 → boilerplates-1.2.2}/NOTICE +0 -0
  9. {boilerplates-1.2.0.dev4 → boilerplates-1.2.2}/README.rst +0 -0
  10. {boilerplates-1.2.0.dev4 → boilerplates-1.2.2}/boilerplates/__init__.py +0 -0
  11. {boilerplates-1.2.0.dev4 → boilerplates-1.2.2}/boilerplates/bundled_version_query/__init__.py +0 -0
  12. {boilerplates-1.2.0.dev4 → boilerplates-1.2.2}/boilerplates/bundled_version_query/git_query.py +0 -0
  13. {boilerplates-1.2.0.dev4 → boilerplates-1.2.2}/boilerplates/bundled_version_query/parser.py +0 -0
  14. {boilerplates-1.2.0.dev4 → boilerplates-1.2.2}/boilerplates/bundled_version_query/patterns.py +0 -0
  15. {boilerplates-1.2.0.dev4 → boilerplates-1.2.2}/boilerplates/bundled_version_query/py.typed +0 -0
  16. {boilerplates-1.2.0.dev4 → boilerplates-1.2.2}/boilerplates/bundled_version_query/py_query.py +0 -0
  17. {boilerplates-1.2.0.dev4 → boilerplates-1.2.2}/boilerplates/bundled_version_query/query.py +0 -0
  18. {boilerplates-1.2.0.dev4 → boilerplates-1.2.2}/boilerplates/bundled_version_query/version.py +0 -0
  19. {boilerplates-1.2.0.dev4 → boilerplates-1.2.2}/boilerplates/cli.py +0 -0
  20. {boilerplates-1.2.0.dev4 → boilerplates-1.2.2}/boilerplates/config.py +0 -0
  21. {boilerplates-1.2.0.dev4 → boilerplates-1.2.2}/boilerplates/git_repo_tests.py +0 -0
  22. {boilerplates-1.2.0.dev4 → boilerplates-1.2.2}/boilerplates/logging.py +0 -0
  23. {boilerplates-1.2.0.dev4 → boilerplates-1.2.2}/boilerplates/packaging_tests.py +0 -0
  24. {boilerplates-1.2.0.dev4 → boilerplates-1.2.2}/boilerplates/py.typed +0 -0
  25. {boilerplates-1.2.0.dev4 → boilerplates-1.2.2}/boilerplates/setup.py +0 -0
  26. {boilerplates-1.2.0.dev4 → boilerplates-1.2.2}/boilerplates.egg-info/SOURCES.txt +0 -0
  27. {boilerplates-1.2.0.dev4 → boilerplates-1.2.2}/boilerplates.egg-info/dependency_links.txt +0 -0
  28. {boilerplates-1.2.0.dev4 → boilerplates-1.2.2}/boilerplates.egg-info/requires.txt +0 -0
  29. {boilerplates-1.2.0.dev4 → boilerplates-1.2.2}/boilerplates.egg-info/top_level.txt +0 -0
  30. {boilerplates-1.2.0.dev4 → boilerplates-1.2.2}/requirements.txt +0 -0
  31. {boilerplates-1.2.0.dev4 → boilerplates-1.2.2}/requirements_cli.txt +0 -0
  32. {boilerplates-1.2.0.dev4 → boilerplates-1.2.2}/requirements_config.txt +0 -0
  33. {boilerplates-1.2.0.dev4 → boilerplates-1.2.2}/requirements_git_repo_tests.txt +0 -0
  34. {boilerplates-1.2.0.dev4 → boilerplates-1.2.2}/requirements_logging.txt +0 -0
  35. {boilerplates-1.2.0.dev4 → boilerplates-1.2.2}/requirements_packaging_tests.txt +0 -0
  36. {boilerplates-1.2.0.dev4 → boilerplates-1.2.2}/requirements_sentry.txt +0 -0
  37. {boilerplates-1.2.0.dev4 → boilerplates-1.2.2}/requirements_setup.txt +0 -0
  38. {boilerplates-1.2.0.dev4 → boilerplates-1.2.2}/requirements_test.txt +0 -0
  39. {boilerplates-1.2.0.dev4 → boilerplates-1.2.2}/setup.cfg +0 -0
  40. {boilerplates-1.2.0.dev4 → boilerplates-1.2.2}/test/__init__.py +0 -0
  41. {boilerplates-1.2.0.dev4 → boilerplates-1.2.2}/test/test_cli.py +0 -0
  42. {boilerplates-1.2.0.dev4 → boilerplates-1.2.2}/test/test_config.py +0 -0
  43. {boilerplates-1.2.0.dev4 → boilerplates-1.2.2}/test/test_git_repo.py +0 -0
  44. {boilerplates-1.2.0.dev4 → boilerplates-1.2.2}/test/test_logging.py +0 -0
  45. {boilerplates-1.2.0.dev4 → boilerplates-1.2.2}/test/test_packaging.py +0 -0
  46. {boilerplates-1.2.0.dev4 → boilerplates-1.2.2}/test/test_sentry.py +0 -0
  47. {boilerplates-1.2.0.dev4 → boilerplates-1.2.2}/test/test_setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: boilerplates
3
- Version: 1.2.0.dev4
3
+ Version: 1.2.2
4
4
  Summary: Various boilerplates used in almost all of my Python packages.
5
5
  Home-page: https://github.com/mbdevpl/python-boilerplates
6
6
  Download-URL:
@@ -8,7 +8,7 @@ Author: Mateusz Bysiek, Stian Hanssen
8
8
  Author-email: mateusz.bysiek@gmail.com
9
9
  Maintainer: Mateusz Bysiek
10
10
  Maintainer-email: mateusz.bysiek@gmail.com
11
- License: Apache License 2.0
11
+ License-Expression: Apache-2.0
12
12
  Keywords: git,logging,packaging,releasing
13
13
  Classifier: Development Status :: 5 - Production/Stable
14
14
  Classifier: Intended Audience :: Developers
@@ -59,8 +59,8 @@ Dynamic: description
59
59
  Dynamic: description-content-type
60
60
  Dynamic: home-page
61
61
  Dynamic: keywords
62
- Dynamic: license
63
62
  Dynamic: license-file
63
+ Dynamic: license-expression
64
64
  Dynamic: maintainer
65
65
  Dynamic: maintainer-email
66
66
  Dynamic: provides-extra
@@ -96,7 +96,7 @@ Various boilerplates used in almost all of my Python packages.
96
96
  :alt: grade from Codacy
97
97
 
98
98
  .. image:: https://img.shields.io/github/license/mbdevpl/python-boilerplates.svg
99
- :target: https://github.com/mbdevpl/python-boilerplates/blob/v1.2.0.dev4/NOTICE
99
+ :target: https://github.com/mbdevpl/python-boilerplates/blob/v1.2.2/NOTICE
100
100
  :alt: license
101
101
 
102
102
  This package includes boilerplates for various common tasks in Python packages, such as building
@@ -111,9 +111,9 @@ Requirements
111
111
 
112
112
  Python version 3.9 or later.
113
113
 
114
- Python libraries as specified in `requirements.txt <https://github.com/mbdevpl/python-boilerplates/blob/v1.2.0.dev4/requirements.txt>`_.
114
+ Python libraries as specified in `requirements.txt <https://github.com/mbdevpl/python-boilerplates/blob/v1.2.2/requirements.txt>`_.
115
115
 
116
- Building and running tests additionally requires packages listed in `requirements_test.txt <https://github.com/mbdevpl/python-boilerplates/blob/v1.2.0.dev4/requirements_test.txt>`_.
116
+ Building and running tests additionally requires packages listed in `requirements_test.txt <https://github.com/mbdevpl/python-boilerplates/blob/v1.2.2/requirements_test.txt>`_.
117
117
 
118
118
  Tested on Linux, macOS and Windows.
119
119
 
@@ -396,7 +396,7 @@ Your example ``cli.py`` file which defines your command-line interface may look
396
396
  verbosity = boilerplates.cli.get_verbosity_level(parsed_args)
397
397
  ...
398
398
 
399
- You can see the above example in action in the `examples.ipynb <https://github.com/mbdevpl/python-boilerplates/blob/v1.2.0.dev4/examples.ipynb>`_ notebook.
399
+ You can see the above example in action in the `examples.ipynb <https://github.com/mbdevpl/python-boilerplates/blob/v1.2.2/examples.ipynb>`_ notebook.
400
400
  Please see the ``boilerplates.cli`` module for details of the available features.
401
401
 
402
402
  And then, an example ``__main__.py`` file may look like:
@@ -113,7 +113,7 @@ class Sentry:
113
113
  return dsn is not None and len(dsn) > 0
114
114
 
115
115
  @classmethod
116
- def init(cls, *args, **kwargs):
116
+ def init(cls, *args, **kwargs) -> None:
117
117
  """Initialise Sentry SDK."""
118
118
  if not cls.is_dsn_set():
119
119
  _LOG.info('Sentry DSN is not set, skipping Sentry SDK initialisation')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: boilerplates
3
- Version: 1.2.0.dev4
3
+ Version: 1.2.2
4
4
  Summary: Various boilerplates used in almost all of my Python packages.
5
5
  Home-page: https://github.com/mbdevpl/python-boilerplates
6
6
  Download-URL:
@@ -8,7 +8,7 @@ Author: Mateusz Bysiek, Stian Hanssen
8
8
  Author-email: mateusz.bysiek@gmail.com
9
9
  Maintainer: Mateusz Bysiek
10
10
  Maintainer-email: mateusz.bysiek@gmail.com
11
- License: Apache License 2.0
11
+ License-Expression: Apache-2.0
12
12
  Keywords: git,logging,packaging,releasing
13
13
  Classifier: Development Status :: 5 - Production/Stable
14
14
  Classifier: Intended Audience :: Developers
@@ -59,8 +59,8 @@ Dynamic: description
59
59
  Dynamic: description-content-type
60
60
  Dynamic: home-page
61
61
  Dynamic: keywords
62
- Dynamic: license
63
62
  Dynamic: license-file
63
+ Dynamic: license-expression
64
64
  Dynamic: maintainer
65
65
  Dynamic: maintainer-email
66
66
  Dynamic: provides-extra
@@ -96,7 +96,7 @@ Various boilerplates used in almost all of my Python packages.
96
96
  :alt: grade from Codacy
97
97
 
98
98
  .. image:: https://img.shields.io/github/license/mbdevpl/python-boilerplates.svg
99
- :target: https://github.com/mbdevpl/python-boilerplates/blob/v1.2.0.dev4/NOTICE
99
+ :target: https://github.com/mbdevpl/python-boilerplates/blob/v1.2.2/NOTICE
100
100
  :alt: license
101
101
 
102
102
  This package includes boilerplates for various common tasks in Python packages, such as building
@@ -111,9 +111,9 @@ Requirements
111
111
 
112
112
  Python version 3.9 or later.
113
113
 
114
- Python libraries as specified in `requirements.txt <https://github.com/mbdevpl/python-boilerplates/blob/v1.2.0.dev4/requirements.txt>`_.
114
+ Python libraries as specified in `requirements.txt <https://github.com/mbdevpl/python-boilerplates/blob/v1.2.2/requirements.txt>`_.
115
115
 
116
- Building and running tests additionally requires packages listed in `requirements_test.txt <https://github.com/mbdevpl/python-boilerplates/blob/v1.2.0.dev4/requirements_test.txt>`_.
116
+ Building and running tests additionally requires packages listed in `requirements_test.txt <https://github.com/mbdevpl/python-boilerplates/blob/v1.2.2/requirements_test.txt>`_.
117
117
 
118
118
  Tested on Linux, macOS and Windows.
119
119
 
@@ -396,7 +396,7 @@ Your example ``cli.py`` file which defines your command-line interface may look
396
396
  verbosity = boilerplates.cli.get_verbosity_level(parsed_args)
397
397
  ...
398
398
 
399
- You can see the above example in action in the `examples.ipynb <https://github.com/mbdevpl/python-boilerplates/blob/v1.2.0.dev4/examples.ipynb>`_ notebook.
399
+ You can see the above example in action in the `examples.ipynb <https://github.com/mbdevpl/python-boilerplates/blob/v1.2.2/examples.ipynb>`_ notebook.
400
400
  Please see the ``boilerplates.cli`` module for details of the available features.
401
401
 
402
402
  And then, an example ``__main__.py`` file may look like:
@@ -1,7 +1,7 @@
1
1
  [build-system]
2
2
  build-backend = 'setuptools.build_meta'
3
3
  requires = [
4
- 'boilerplates[setup] ~= 1.1, >= 1.1.4',
4
+ 'boilerplates[setup] ~= 1.2',
5
5
  'docutils ~= 0.20',
6
6
  'GitPython ~= 3.1',
7
7
  'packaging >= 24.0',
@@ -19,7 +19,7 @@ def prepare_local_version_query():
19
19
  repo_path = pathlib.Path(temporary_path)
20
20
  print(f'ensuring version-query repository is available locally at "{repo_path}"')
21
21
  repo = git.Repo.clone_from('https://github.com/mbdevpl/version-query', repo_path)
22
- repo.git.checkout('v1.6.2')
22
+ repo.git.checkout('v1.6.3')
23
23
  print(f'ensuring version_query module is available locally at "{module_path}"')
24
24
  shutil.copytree(repo_path / 'version_query', module_path, dirs_exist_ok=True)
25
25
  for filename in ('_version.py', '__main__.py', 'main.py'):
File without changes
File without changes