mappingtools 0.2.0__tar.gz → 0.2.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 (24) hide show
  1. {mappingtools-0.2.0 → mappingtools-0.2.1}/.github/workflows/test-beta.yml +2 -1
  2. {mappingtools-0.2.0 → mappingtools-0.2.1}/.github/workflows/test.yml +1 -1
  3. {mappingtools-0.2.0 → mappingtools-0.2.1}/PKG-INFO +2 -1
  4. {mappingtools-0.2.0 → mappingtools-0.2.1}/pyproject.toml +2 -1
  5. {mappingtools-0.2.0 → mappingtools-0.2.1}/src/mappingtools.py +1 -1
  6. {mappingtools-0.2.0 → mappingtools-0.2.1}/tests/test_mapping_collector.py +0 -1
  7. {mappingtools-0.2.0 → mappingtools-0.2.1}/tests/test_stream_dict_records.py +1 -1
  8. {mappingtools-0.2.0 → mappingtools-0.2.1}/.github/dependabot.yml +0 -0
  9. {mappingtools-0.2.0 → mappingtools-0.2.1}/.github/workflows/publish.yml +0 -0
  10. {mappingtools-0.2.0 → mappingtools-0.2.1}/.gitignore +0 -0
  11. {mappingtools-0.2.0 → mappingtools-0.2.1}/LICENSE +0 -0
  12. {mappingtools-0.2.0 → mappingtools-0.2.1}/README.md +0 -0
  13. {mappingtools-0.2.0 → mappingtools-0.2.1}/tests/test_category_counter.py +0 -0
  14. {mappingtools-0.2.0 → mappingtools-0.2.1}/tests/test_distinct.py +0 -0
  15. {mappingtools-0.2.0 → mappingtools-0.2.1}/tests/test_inverse.py +0 -0
  16. {mappingtools-0.2.0 → mappingtools-0.2.1}/tests/test_keep.py +0 -0
  17. {mappingtools-0.2.0 → mappingtools-0.2.1}/tests/test_listify.py +0 -0
  18. {mappingtools-0.2.0 → mappingtools-0.2.1}/tests/test_mapping_collector_collect.py +0 -0
  19. {mappingtools-0.2.0 → mappingtools-0.2.1}/tests/test_mapping_collector_repr.py +0 -0
  20. {mappingtools-0.2.0 → mappingtools-0.2.1}/tests/test_nested_defaultdict.py +0 -0
  21. {mappingtools-0.2.0 → mappingtools-0.2.1}/tests/test_remove.py +0 -0
  22. {mappingtools-0.2.0 → mappingtools-0.2.1}/tests/test_simplify.py +0 -0
  23. {mappingtools-0.2.0 → mappingtools-0.2.1}/tests/test_stream.py +0 -0
  24. {mappingtools-0.2.0 → mappingtools-0.2.1}/tests/test_stream_namedtuples.py +0 -0
@@ -15,7 +15,8 @@ jobs:
15
15
  strategy:
16
16
  fail-fast: false
17
17
  matrix:
18
- python-version: [ "3.13.0-beta.4" ]
18
+ # https://github.com/actions/python-versions/blob/main/versions-manifest.json
19
+ python-version: [ "3.14.0-alpha.1" ]
19
20
  steps:
20
21
  - uses: actions/checkout@v4
21
22
  - name: Set up Python ${{ matrix.python-version }}
@@ -15,7 +15,7 @@ jobs:
15
15
  strategy:
16
16
  fail-fast: false
17
17
  matrix:
18
- python-version: ["3.10", "3.11", "3.12"]
18
+ python-version: ["3.10", "3.11", "3.12", "3.13"]
19
19
  steps:
20
20
  - uses: actions/checkout@v4
21
21
  - name: Set up Python ${{ matrix.python-version }}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: mappingtools
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: MappingTools. Do stuff with Mappings
5
5
  Project-URL: Homepage, https://erivlis.github.io/mappingtools
6
6
  Project-URL: Bug Tracker, https://github.com/erivlis/mappingtools/issues
@@ -19,6 +19,7 @@ Classifier: Programming Language :: Python :: 3 :: Only
19
19
  Classifier: Programming Language :: Python :: 3.10
20
20
  Classifier: Programming Language :: Python :: 3.11
21
21
  Classifier: Programming Language :: Python :: 3.12
22
+ Classifier: Programming Language :: Python :: 3.13
22
23
  Classifier: Programming Language :: Python :: Implementation :: CPython
23
24
  Classifier: Topic :: Software Development :: Libraries
24
25
  Classifier: Typing :: Typed
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "mappingtools"
3
- version = "0.2.0"
3
+ version = "0.2.1"
4
4
  authors = [
5
5
  { name = "Eran Rivlis", email = "eran@rivlis.info" },
6
6
  ]
@@ -15,6 +15,7 @@ classifiers = [
15
15
  "Programming Language :: Python :: 3.10",
16
16
  "Programming Language :: Python :: 3.11",
17
17
  "Programming Language :: Python :: 3.12",
18
+ "Programming Language :: Python :: 3.13",
18
19
  "Programming Language :: Python :: 3 :: Only",
19
20
  "Programming Language :: Python :: Implementation :: CPython",
20
21
  "License :: OSI Approved :: MIT License",
@@ -4,7 +4,7 @@ from collections import Counter, defaultdict
4
4
  from collections.abc import Callable, Generator, Iterable, Mapping
5
5
  from enum import Enum, auto
6
6
  from itertools import chain
7
- from typing import Any, NamedTuple, TypeVar
7
+ from typing import Any, TypeVar
8
8
 
9
9
  K = TypeVar('K')
10
10
  KT = TypeVar('KT')
@@ -79,7 +79,6 @@ def test_adding_key_value_pairs_in_first_mode():
79
79
 
80
80
  # Initialization with invalid mode
81
81
  def test_initialization_with_invalid_mode():
82
- from mappingtools import MappingCollector
83
82
  # Arrange & Act & Assert
84
83
  with pytest.raises(ValueError):
85
84
  MappingCollector("INVALID_MODE")
@@ -159,4 +159,4 @@ def test_large_dictionaries_performance():
159
159
 
160
160
  # Act & Assert (no assertion needed for performance, just ensure it runs)
161
161
  for _ in stream_dict_records(input_dict):
162
- pass
162
+ assert _ is not None
File without changes
File without changes
File without changes