Skip to content

Commit fb034f1

Browse files
authored
🐛 fix dependency version (#68)
<!-- Copyright (C) 2020-2022 Arm Limited or its affiliates and Contributors. All rights reserved. SPDX-License-Identifier: Apache-2.0 --> ### Description Breaking changes were introduced in a minor release https://github.com/spdx/tools-python/releases/tag/v0.7.0. Therefore fixing the version ### Test Coverage <!-- Please put an `x` in the correct box e.g. `[x]` to indicate the testing coverage of this change. --> - [x] This change is covered by existing or additional automated tests. - [ ] Manual testing has been performed (and evidence provided) as automated testing was not feasible. - [ ] Additional tests are not required for this change (e.g. documentation update).
1 parent a3c6fe2 commit fb034f1

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ jobs:
166166
fail-fast: false
167167
matrix:
168168
os: [ubuntu-latest ] # FIXME add other platforms when much quicker macOS-latest, windows-latest]
169-
python-version: ["3.7", "3.8", "3.9", "3.10"]
169+
python-version: ["3.8", "3.9", "3.10"]
170170
multi-platform:
171171
- ${{ github.ref == 'refs/heads/main' || github.event_name == 'workflow_dispatch' }}
172172
# include:

news/202301251550.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix `spdx-tools` version as breaking changes were introduced See https://github.com/spdx/tools-python/releases/tag/v0.7.0.

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ packaging="either Apache-2.0 or BSD-2-Clause"
4444
importlib-metadata="Apache-2.0 or Python-2.0"
4545
typing-extensions="PSF-2.0"
4646
tomli="MIT"
47+
markdown-it-py="MIT"
48+
mdurl="MIT"
49+
cryptography="((Apache-2.0 OR BSD-3-Clause) AND PSF-2.0)"
4750

4851
[AutoVersionConfig]
4952
CONFIG_NAME = "DEFAULT"

setup.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
"License :: OSI Approved :: Apache Software License",
3030
"Programming Language :: Python",
3131
"Programming Language :: Python :: 3 :: Only",
32-
"Programming Language :: Python :: 3.7",
3332
"Programming Language :: Python :: 3.8",
3433
"Programming Language :: Python :: 3.9",
3534
"Programming Language :: Python :: 3.10",
@@ -64,7 +63,7 @@
6463
"boto3",
6564
"packaging",
6665
"licenseheaders<0.8.9",
67-
"spdx-tools",
66+
"spdx-tools==0.6.1",
6867
"license-expression",
6968
"wcmatch",
7069
"jellyfish",
@@ -78,7 +77,7 @@
7877
long_description=long_description,
7978
name=PROJECT_SLUG,
8079
packages=[SOURCE_DIR],
81-
python_requires=">=3.7,<4",
80+
python_requires=">=3.8,<4",
8281
url=f"https://github.com/ARMmbed/{PROJECT_SLUG}",
8382
version=__version__,
8483
)

0 commit comments

Comments
 (0)