Skip to content

Commit fcf4633

Browse files
committed
Sync with SCTK settings
Also streamline test dependencies, remove mock for unittest.mock Signed-off-by: Philippe Ombredanne <[email protected]>
1 parent 5ea9895 commit fcf4633

File tree

7 files changed

+104
-32
lines changed

7 files changed

+104
-32
lines changed

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ include *.rst
99
include setup.*
1010
include configure*
1111
include requirements*
12-
include .git*
12+
include .giti*
1313

1414
global-exclude *.py[co] __pycache__ *.*~
1515

requirements-dev.txt

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,23 @@
1-
atomicwrites==1.4.0
1+
bleach==4.1.0
2+
build==0.7.0
3+
commonmark==0.9.1
4+
docutils==0.18.1
5+
et-xmlfile==1.1.0
26
execnet==1.9.0
37
iniconfig==1.1.1
4-
mock==4.0.3
5-
packaging==21.0
6-
pluggy==0.13.1
7-
py==1.10.0
8-
pyparsing==2.4.7
9-
pytest==6.2.5
10-
pytest-forked==1.3.0
11-
pytest-xdist==2.3.0
12-
toml==0.10.2
8+
jeepney==0.7.1
9+
keyring==23.4.1
10+
openpyxl==3.0.9
11+
pep517==0.12.0
12+
pkginfo==1.8.2
13+
py==1.11.0
14+
pytest==7.0.1
15+
pytest-forked==1.4.0
16+
pytest-xdist==2.5.0
17+
readme-renderer==34.0
18+
requests-toolbelt==0.9.1
19+
rfc3986==1.5.0
20+
rich==12.3.0
21+
secretstorage==3.3.2
22+
tomli==1.2.3
23+
twine==3.8.0

requirements.txt

Lines changed: 74 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,80 @@
1-
attrs==21.2.0
1+
attrs==21.4.0
2+
banal==1.0.6
3+
beautifulsoup4==4.11.1
4+
binaryornot==0.4.4
25
boolean.py==3.8
3-
certifi==2021.5.30
4-
click==8.0.1
6+
certifi==2021.10.8
7+
cffi==1.15.0
8+
chardet==4.0.0
9+
charset-normalizer==2.0.12
10+
click==8.0.4
511
colorama==0.4.4
6-
importlib-metadata==4.8.1
7-
Jinja2==3.0.1
12+
commoncode==30.2.0
13+
construct==2.10.68
14+
container-inspector==31.0.0
15+
cryptography==36.0.2
16+
debian-inspector==30.0.0
17+
dockerfile-parse==1.2.0
18+
dparse2==0.6.1
19+
extractcode==31.0.0
20+
extractcode-7z==16.5.210531
21+
extractcode-libarchive==3.5.1.210531
22+
fasteners==0.17.3
23+
fingerprints==1.0.3
24+
ftfy==6.0.3
25+
future==0.18.2
26+
gemfileparser==0.8.0
27+
html5lib==1.1
28+
idna==3.3
29+
importlib-metadata==4.8.3
30+
inflection==0.5.1
31+
intbitset==3.0.1
32+
isodate==0.6.1
33+
jaraco.functools==3.4.0
34+
javaproperties==0.8.1
35+
Jinja2==3.0.3
36+
jsonstreams==0.6.0
837
license-expression==21.6.14
38+
lxml==4.8.0
939
MarkupSafe==2.0.1
10-
openpyxl==3.0.9
11-
packageurl-python==0.9.4
12-
pip==21.2.4
40+
more-itertools==8.13.0
41+
normality==2.3.3
42+
packagedcode-msitools==0.101.210706
43+
packageurl-python==0.9.9
44+
packaging==21.3
45+
parameter-expansion-patched==0.3.1
46+
patch==1.16
47+
pdfminer-six==20220506
48+
pefile==2021.9.3
49+
pip-requirements-parser==31.2.0
50+
pkginfo2==30.0.0
51+
pluggy==1.0.0
52+
plugincode==30.0.0
53+
ply==3.11
54+
publicsuffix2==2.20191221
55+
pyahocorasick==2.0.0b1
56+
pycparser==2.21
57+
pygmars==0.7.0
58+
Pygments==2.12.0
59+
pymaven-patch==0.3.0
60+
pyparsing==3.0.8
61+
pytz==2022.1
1362
PyYAML==6.0
63+
rdflib==5.0.0
64+
regipy==2.3.1
65+
requests==2.27.1
66+
rpm-inspector-rpm==4.16.1.3.210404
1467
saneyaml==0.5.2
15-
setuptools==58.1.0
16-
typing-extensions==3.10.0.2
17-
wheel==0.37.0
18-
zipp==3.5.0
68+
six==1.16.0
69+
soupsieve==2.3.1
70+
spdx-tools==0.7.0a3
71+
text-unidecode==1.3
72+
toml==0.10.2
73+
typecode==30.0.0
74+
typecode-libmagic==5.39.210531
75+
urllib3==1.26.9
76+
urlpy==0.5
77+
wcwidth==0.2.5
78+
webencodings==0.5.1
79+
xmltodict==0.12.0
80+
zipp==3.6.0

setup.cfg

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ classifiers =
1919
Programming Language :: Python :: 3.7
2020
Programming Language :: Python :: 3.8
2121
Programming Language :: Python :: 3.9
22+
Programming Language :: Python :: 3.10
2223
Topic :: Software Development
2324
Topic :: Software Development :: Documentation
2425
Topic :: Software Development :: Quality Assurance
@@ -34,6 +35,10 @@ keywords =
3435
attribution
3536
software
3637
inventory
38+
open source
39+
sca
40+
SBOM
41+
spdx
3742

3843
license_files =
3944
apache-2.0.LICENSE
@@ -63,8 +68,6 @@ install_requires =
6368
packageurl_python >= 0.9.0
6469
saneyaml
6570

66-
python_requires = >=3.6
67-
6871

6972
[options.packages.find]
7073
where = src
@@ -75,8 +78,6 @@ testing =
7578
pytest >= 6, != 7.0.0
7679
pytest-xdist >= 2
7780
black
78-
mock
79-
colorama
8081

8182
docs =
8283
Sphinx >= 3.3.1

tests/test_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
# ============================================================================
16-
import unittest
1716

18-
import mock
17+
import unittest
18+
from unittest import mock
1919

2020
from attributecode import api
2121
from attributecode import ERROR

tests/test_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
import posixpath
2121
import shutil
2222
import unittest
23+
from unittest import mock
2324

24-
import mock
2525
import saneyaml
2626

2727
from attributecode import CRITICAL

thirdparty/README.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)