requirements-detector 1.2.2__py3-none-any.whl → 1.3.1__py3-none-any.whl

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.
@@ -1,7 +1,7 @@
1
1
  from pathlib import Path
2
2
  from typing import Union
3
3
 
4
- from astroid import MANAGER, AstroidBuildingException, AstroidSyntaxError
4
+ from astroid import MANAGER, AstroidSyntaxError
5
5
  from astroid.builder import AstroidBuilder
6
6
  from astroid.nodes import Assign, AssignName, Call, Const, Keyword, List, Name, Tuple
7
7
 
@@ -92,7 +92,7 @@ def from_setup_py(setup_file: Union[str, Path]):
92
92
 
93
93
  try:
94
94
  ast = AstroidBuilder(MANAGER).string_build(setup_file.open().read())
95
- except (SyntaxError, AstroidBuildingException, AstroidSyntaxError):
95
+ except (SyntaxError, AstroidSyntaxError):
96
96
  # if the setup file is broken, we can't do much about that...
97
97
  raise CouldNotParseRequirements
98
98
 
@@ -1,31 +1,26 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: requirements-detector
3
- Version: 1.2.2
3
+ Version: 1.3.1
4
4
  Summary: Python tool to find and list requirements of a Python project
5
5
  Home-page: https://github.com/landscapeio/requirements-detector
6
6
  License: MIT
7
7
  Keywords: python,requirements detector
8
8
  Author: Landscape.io
9
9
  Author-email: code@landscape.io
10
- Requires-Python: >=3.7,<4.0
10
+ Requires-Python: >=3.8,<4.0
11
11
  Classifier: Development Status :: 5 - Production/Stable
12
12
  Classifier: Environment :: Console
13
13
  Classifier: Intended Audience :: Developers
14
14
  Classifier: License :: OSI Approved :: MIT License
15
15
  Classifier: Operating System :: Unix
16
16
  Classifier: Programming Language :: Python :: 3
17
- Classifier: Programming Language :: Python :: 3.7
18
17
  Classifier: Programming Language :: Python :: 3.8
19
18
  Classifier: Programming Language :: Python :: 3.9
20
19
  Classifier: Programming Language :: Python :: 3.10
21
20
  Classifier: Programming Language :: Python :: 3.11
22
- Classifier: Programming Language :: Python :: 3.10
23
- Classifier: Programming Language :: Python :: 3.11
24
- Classifier: Programming Language :: Python :: 3.7
25
- Classifier: Programming Language :: Python :: 3.8
26
- Classifier: Programming Language :: Python :: 3.9
21
+ Classifier: Programming Language :: Python :: 3.12
27
22
  Classifier: Topic :: Software Development :: Quality Assurance
28
- Requires-Dist: astroid (>=2.0,<3.0)
23
+ Requires-Dist: astroid (>=3.0,<4.0)
29
24
  Requires-Dist: packaging (>=21.3)
30
25
  Requires-Dist: semver (>=3.0.0,<4.0.0)
31
26
  Requires-Dist: toml (>=0.10.2,<0.11.0)
@@ -3,7 +3,7 @@ requirements_detector/__main__.py,sha256=U6nHQrMwd11auXYgQsT0wqqqKyyGKXxHZ_SDaaO
3
3
  requirements_detector/detect.py,sha256=2RP-kNQe6hEXfLSknWuHP2BOo7nwe9Bhpb8QSmaLH48,5880
4
4
  requirements_detector/exceptions.py,sha256=bTy7-ZvAXt-nucXKnaYIBxa5FngtFpD95FXswejc7Wk,103
5
5
  requirements_detector/formatters.py,sha256=zcxR2n2Tp8z3DHkpokbjHorNqei5LZ9hprWZK0ZBVik,340
6
- requirements_detector/handle_setup.py,sha256=A4JwYeGeOg7bBIJr-25yuA-SsyIS5rpNV4G72qziYAk,3999
6
+ requirements_detector/handle_setup.py,sha256=K-tnZP9ioKO-zgVsDRaI9aBBZpMtQKLPkXyFWotohEk,3947
7
7
  requirements_detector/poetry_semver/README.md,sha256=lU6DxV4Qk1qv_KIgOW1uEahx6PWDNhnIziF2izA49-k,261
8
8
  requirements_detector/poetry_semver/__init__.py,sha256=3rarQkEpLB-X5nbqsIrCXspaUL1Y9DGQTKA2gvBritA,4681
9
9
  requirements_detector/poetry_semver/empty_constraint.py,sha256=U_a8Obi0shKP4KoLDbXTGWzwha3J4HKwqEKWTNiLfuo,562
@@ -15,8 +15,8 @@ requirements_detector/poetry_semver/version_range.py,sha256=dm7mgZL5H0Xn0vKG2YuM
15
15
  requirements_detector/poetry_semver/version_union.py,sha256=MmYBSED7hyb2H5sxuL0i6feWTc6x1tYVrVvGraon1g0,7931
16
16
  requirements_detector/requirement.py,sha256=XuKspLsLY_sZOVKupXSjGFMxV1u3NHaTgjb-kRXbzFg,5548
17
17
  requirements_detector/run.py,sha256=8AjUalMAmCgK4HAsswSoxVG4N_uhYrvGMhZnfQUf8X8,861
18
- requirements_detector-1.2.2.dist-info/METADATA,sha256=ShO2BcyLjQorTQ3b0GsiqYTHhm0prDBwg4grnoAi648,3938
19
- requirements_detector-1.2.2.dist-info/WHEEL,sha256=vVCvjcmxuUltf8cYhJ0sJMRDLr1XsPuxEId8YDzbyCY,88
20
- requirements_detector-1.2.2.dist-info/LICENSE,sha256=548oOCrCNqQty8Fsqqry522lXdxnBTqLyzqr38ct-cw,1040
21
- requirements_detector-1.2.2.dist-info/entry_points.txt,sha256=c1Pyo5EK49kT1g7Wac3vwl0bVs0QBZeQ8Zia1WVL1do,69
22
- requirements_detector-1.2.2.dist-info/RECORD,,
18
+ requirements_detector-1.3.1.dist-info/LICENSE,sha256=548oOCrCNqQty8Fsqqry522lXdxnBTqLyzqr38ct-cw,1040
19
+ requirements_detector-1.3.1.dist-info/METADATA,sha256=Rf7ImjEZeg5meDZvvkBmHWOBcn10WEM4anJxoLZQhTk,3687
20
+ requirements_detector-1.3.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
21
+ requirements_detector-1.3.1.dist-info/entry_points.txt,sha256=c1Pyo5EK49kT1g7Wac3vwl0bVs0QBZeQ8Zia1WVL1do,69
22
+ requirements_detector-1.3.1.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 1.4.0
2
+ Generator: poetry-core 1.9.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any