iker-python-common 1.0.21__tar.gz → 1.0.23__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 (71) hide show
  1. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/.github/workflows/push.yml +1 -1
  2. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/PKG-INFO +1 -1
  3. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/src/iker_python_common.egg-info/PKG-INFO +1 -1
  4. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/test/iker_tests/common/utils/argutils_test.py +1 -2
  5. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/test/iker_tests/common/utils/funcutils_test.py +1 -2
  6. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/test/iker_tests/common/utils/jsonutils_test.py +1 -2
  7. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/test/iker_tests/common/utils/randutils_test.py +1 -2
  8. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/test/iker_tests/common/utils/retry_test.py +8 -9
  9. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/test/iker_tests/common/utils/sequtils_test.py +2 -3
  10. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/test/iker_tests/common/utils/testutils_test.py +1 -2
  11. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/.editorconfig +0 -0
  12. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/.github/workflows/pr.yml +0 -0
  13. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/.gitignore +0 -0
  14. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/MANIFEST.in +0 -0
  15. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/README.md +0 -0
  16. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/VERSION +0 -0
  17. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/pyproject.toml +0 -0
  18. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/resources/unittest/config/config.cfg +0 -0
  19. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/resources/unittest/csv/data.csv +0 -0
  20. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/resources/unittest/csv/data.tsv +0 -0
  21. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/resources/unittest/shutils/dir.baz/file.bar.baz +0 -0
  22. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/resources/unittest/shutils/dir.baz/file.foo.bar +0 -0
  23. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/resources/unittest/shutils/dir.baz/file.foo.baz +0 -0
  24. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/resources/unittest/shutils/dir.foo/dir.foo.bar/dir.foo.bar.baz/file.foo.bar.baz +0 -0
  25. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/resources/unittest/shutils/dir.foo/dir.foo.bar/file.bar.baz +0 -0
  26. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/resources/unittest/shutils/dir.foo/dir.foo.bar/file.foo.bar +0 -0
  27. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/resources/unittest/shutils/dir.foo/dir.foo.bar/file.foo.baz +0 -0
  28. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/resources/unittest/shutils/dir.foo/file.bar +0 -0
  29. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/resources/unittest/shutils/dir.foo/file.baz +0 -0
  30. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/resources/unittest/shutils/dir.foo/file.foo +0 -0
  31. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/setup.cfg +0 -0
  32. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/setup.py +0 -0
  33. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/src/iker/common/__init__.py +0 -0
  34. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/src/iker/common/utils/__init__.py +0 -0
  35. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/src/iker/common/utils/argutils.py +0 -0
  36. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/src/iker/common/utils/config.py +0 -0
  37. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/src/iker/common/utils/csv.py +0 -0
  38. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/src/iker/common/utils/dbutils.py +0 -0
  39. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/src/iker/common/utils/dockerutils.py +0 -0
  40. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/src/iker/common/utils/dtutils.py +0 -0
  41. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/src/iker/common/utils/funcutils.py +0 -0
  42. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/src/iker/common/utils/jsonutils.py +0 -0
  43. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/src/iker/common/utils/logger.py +0 -0
  44. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/src/iker/common/utils/numutils.py +0 -0
  45. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/src/iker/common/utils/randutils.py +0 -0
  46. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/src/iker/common/utils/retry.py +0 -0
  47. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/src/iker/common/utils/s3utils.py +0 -0
  48. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/src/iker/common/utils/sequtils.py +0 -0
  49. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/src/iker/common/utils/shutils.py +0 -0
  50. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/src/iker/common/utils/span.py +0 -0
  51. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/src/iker/common/utils/strutils.py +0 -0
  52. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/src/iker/common/utils/testutils.py +0 -0
  53. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/src/iker_python_common.egg-info/SOURCES.txt +0 -0
  54. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/src/iker_python_common.egg-info/dependency_links.txt +0 -0
  55. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/src/iker_python_common.egg-info/not-zip-safe +0 -0
  56. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/src/iker_python_common.egg-info/requires.txt +0 -0
  57. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/src/iker_python_common.egg-info/top_level.txt +0 -0
  58. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/test/iker_test.py +0 -0
  59. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/test/iker_tests/__init__.py +0 -0
  60. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/test/iker_tests/common/utils/config_test.py +0 -0
  61. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/test/iker_tests/common/utils/csv_test.py +0 -0
  62. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/test/iker_tests/common/utils/dbutils_test.py +0 -0
  63. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/test/iker_tests/common/utils/dockerutils_test.py +0 -0
  64. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/test/iker_tests/common/utils/dtutils_test.py +0 -0
  65. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/test/iker_tests/common/utils/logger_test.py +0 -0
  66. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/test/iker_tests/common/utils/numutils_test.py +0 -0
  67. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/test/iker_tests/common/utils/s3utils_test.py +0 -0
  68. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/test/iker_tests/common/utils/shutils_test.py +0 -0
  69. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/test/iker_tests/common/utils/span_test.py +0 -0
  70. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/test/iker_tests/common/utils/strutils_test.py +0 -0
  71. {iker_python_common-1.0.21 → iker_python_common-1.0.23}/test/iker_tests/docker_fixtures.py +0 -0
@@ -32,5 +32,5 @@ jobs:
32
32
  uses: codecov/codecov-action@v5
33
33
  with:
34
34
  token: ${{ secrets.CODECOV_TOKEN }}
35
- slug: ${{ github.organization }}/${{ github.repository }}
35
+ slug: ${{ github.repository }}
36
36
  fail_ci_if_error: true
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: iker-python-common
3
- Version: 1.0.21
3
+ Version: 1.0.23
4
4
  Classifier: Programming Language :: Python :: 3
5
5
  Classifier: Programming Language :: Python :: 3.11
6
6
  Classifier: Programming Language :: Python :: 3.12
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: iker-python-common
3
- Version: 1.0.21
3
+ Version: 1.0.23
4
4
  Classifier: Programming Language :: Python :: 3
5
5
  Classifier: Programming Language :: Python :: 3.11
6
6
  Classifier: Programming Language :: Python :: 3.12
@@ -2,7 +2,6 @@ import argparse
2
2
  import unittest
3
3
 
4
4
  import ddt
5
- import pytest
6
5
 
7
6
  from iker.common.utils.argutils import ParserTree
8
7
 
@@ -154,5 +153,5 @@ class ArgUtilsTest(unittest.TestCase):
154
153
  )
155
154
  @ddt.unpack
156
155
  def test_parser_tree__exception(self, args):
157
- with pytest.raises(argparse.ArgumentError):
156
+ with self.assertRaises(argparse.ArgumentError):
158
157
  dummy_parser_tree().parse_args(args)
@@ -2,7 +2,6 @@ import unittest
2
2
  from dataclasses import dataclass
3
3
 
4
4
  import ddt
5
- import pytest
6
5
 
7
6
  from iker.common.utils.funcutils import lazy, memorized, singleton, unique_returns
8
7
  from iker.common.utils.randutils import randomizer
@@ -373,5 +372,5 @@ class FuncUtilsTest(unittest.TestCase):
373
372
 
374
373
  decorated_func = unique_returns(func, max_trials=10)
375
374
 
376
- with pytest.raises(ValueError):
375
+ with self.assertRaises(ValueError):
377
376
  [decorated_func(0, 10) for _ in range(11)]
@@ -6,7 +6,6 @@ from dataclasses import dataclass
6
6
  from typing import SupportsFloat, SupportsInt
7
7
 
8
8
  import ddt
9
- import pytest
10
9
 
11
10
  from iker.common.utils.jsonutils import asterisk, json_get, json_set
12
11
  from iker.common.utils.jsonutils import json_compare
@@ -957,7 +956,7 @@ class JsonUtilsTest(unittest.TestCase):
957
956
  ({"set": set(), "object": object()},),
958
957
  )
959
958
  def test_json_reformat__unregistered_type(self, data):
960
- with pytest.raises(ValueError):
959
+ with self.assertRaises(ValueError):
961
960
  json_reformat(data)
962
961
 
963
962
  @ddt.data(
@@ -2,7 +2,6 @@ import itertools
2
2
  import unittest
3
3
 
4
4
  import ddt
5
- import pytest
6
5
 
7
6
  from iker.common.utils.dtutils import dt_utc_max, dt_utc_min
8
7
  from iker.common.utils.randutils import max_float, max_int, randomizer
@@ -43,7 +42,7 @@ class RandUtilsTest(unittest.TestCase):
43
42
  self.assertTrue(lo <= randomizer().next_float(lo, hi) <= hi)
44
43
 
45
44
  def test_next_float__assertion_error(self):
46
- with pytest.raises(AssertionError):
45
+ with self.assertRaises(AssertionError):
47
46
  randomizer().next_float(-max_float(), max_float())
48
47
 
49
48
  def test_random_string(self):
@@ -1,7 +1,6 @@
1
1
  import unittest
2
2
 
3
3
  import ddt
4
- import pytest
5
4
 
6
5
  from iker.common.utils import retry
7
6
 
@@ -40,7 +39,7 @@ class RetryTest(unittest.TestCase):
40
39
  result.append(text)
41
40
  raise ValueError("dummy value error")
42
41
 
43
- with pytest.raises(RuntimeError):
42
+ with self.assertRaises(RuntimeError):
44
43
  callee(content)
45
44
 
46
45
  self.assertTrue(len(result) < retrials + 1)
@@ -59,7 +58,7 @@ class RetryTest(unittest.TestCase):
59
58
  result.append(text)
60
59
  raise ValueError("dummy value error")
61
60
 
62
- with pytest.raises(RuntimeError):
61
+ with self.assertRaises(RuntimeError):
63
62
  callee(content)
64
63
 
65
64
  @ddt.data(
@@ -76,7 +75,7 @@ class RetryTest(unittest.TestCase):
76
75
  result.append(text)
77
76
  raise ValueError("dummy value error")
78
77
 
79
- with pytest.raises(RuntimeError):
78
+ with self.assertRaises(RuntimeError):
80
79
  callee(content)
81
80
 
82
81
  self.assertEqual([content for _ in range(retrials + 1)], result)
@@ -103,7 +102,7 @@ class RetryTest(unittest.TestCase):
103
102
 
104
103
  callee = Callee()
105
104
 
106
- with pytest.raises(RuntimeError):
105
+ with self.assertRaises(RuntimeError):
107
106
  retry.retry(wait=wait, retrials=retrials)(callee)(content)
108
107
 
109
108
  self.assertEqual([content for _ in range(retrials + 1)], result)
@@ -124,7 +123,7 @@ class RetryTest(unittest.TestCase):
124
123
  result.append(text)
125
124
  raise ValueError("dummy value error")
126
125
 
127
- with pytest.raises(RuntimeError):
126
+ with self.assertRaises(RuntimeError):
128
127
  callee(content)
129
128
 
130
129
  self.assertEqual([content for _ in range(retrials + 1)], result)
@@ -151,7 +150,7 @@ class RetryTest(unittest.TestCase):
151
150
 
152
151
  callee = Callee()
153
152
 
154
- with pytest.raises(RuntimeError):
153
+ with self.assertRaises(RuntimeError):
155
154
  retry.retry_exponent(wait_exponent_init, wait_exponent_max, retrials)(callee)(content)
156
155
 
157
156
  self.assertEqual([content for _ in range(retrials + 1)], result)
@@ -172,7 +171,7 @@ class RetryTest(unittest.TestCase):
172
171
  result.append(text)
173
172
  raise ValueError("dummy value error")
174
173
 
175
- with pytest.raises(RuntimeError):
174
+ with self.assertRaises(RuntimeError):
176
175
  callee(content)
177
176
 
178
177
  self.assertEqual([content for _ in range(retrials + 1)], result)
@@ -199,7 +198,7 @@ class RetryTest(unittest.TestCase):
199
198
 
200
199
  callee = Callee()
201
200
 
202
- with pytest.raises(RuntimeError):
201
+ with self.assertRaises(RuntimeError):
203
202
  retry.retry_random(wait_random_min, wait_random_max, retrials)(callee)(content)
204
203
 
205
204
  self.assertEqual([content for _ in range(retrials + 1)], result)
@@ -1,7 +1,6 @@
1
1
  import unittest
2
2
 
3
3
  import ddt
4
- import pytest
5
4
 
6
5
  from iker.common.utils.sequtils import batch_yield
7
6
  from iker.common.utils.sequtils import chunk, chunk_between, chunk_with_key, merge_chunks
@@ -813,7 +812,7 @@ class SeqTest(unittest.TestCase):
813
812
  self.assertEqual(seq(data).data, expect)
814
813
 
815
814
  def test_builtin_init__unsupported_data_type(self):
816
- with pytest.raises(ValueError):
815
+ with self.assertRaises(ValueError):
817
816
  seq(object())
818
817
 
819
818
  @ddt.data(
@@ -844,7 +843,7 @@ class SeqTest(unittest.TestCase):
844
843
  self.assertEqual(actual.data, expect)
845
844
 
846
845
  def test_builtin_getitem__unsupported_index_type(self):
847
- with pytest.raises(ValueError):
846
+ with self.assertRaises(ValueError):
848
847
  seq([])[object()]
849
848
 
850
849
  @ddt.data(
@@ -5,7 +5,6 @@ from dataclasses import dataclass
5
5
  from decimal import Decimal
6
6
 
7
7
  import ddt
8
- import pytest
9
8
 
10
9
  from iker.common.utils.testutils import nested_approx, return_callee, throw_callee
11
10
 
@@ -403,5 +402,5 @@ class TestUtilsTest(unittest.TestCase):
403
402
  def test_throw_callee(self):
404
403
  callee = throw_callee(ValueError)
405
404
 
406
- with pytest.raises(ValueError):
405
+ with self.assertRaises(ValueError):
407
406
  callee(object())