Skip to content

Commit c4b6040

Browse files
authored
Use SPDX license identifier (#1076)
* Use SPDX license identifier * Don't install wheel during CI runs
1 parent 29b58db commit c4b6040

File tree

4 files changed

+14
-12
lines changed

4 files changed

+14
-12
lines changed

.github/workflows/publish.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ jobs:
109109

110110
- name: Install python dependencies
111111
run: |
112-
python -m pip install --upgrade pip setuptools wheel
112+
python -m pip install --upgrade pip setuptools
113113
python -m pip install -r requirements-win-test.txt
114114
python -m pip install ${{ matrix.aiokafka_whl }}
115115
shell: bash
@@ -154,7 +154,7 @@ jobs:
154154

155155
- name: Install python dependencies
156156
run: |
157-
pip install --upgrade pip setuptools wheel
157+
pip install --upgrade pip setuptools
158158
pip install -r requirements-ci.txt
159159
pip install ${{ matrix.aiokafka_whl }}
160160
@@ -197,7 +197,7 @@ jobs:
197197

198198
- name: Install python dependencies
199199
run: |
200-
pip install --upgrade pip setuptools wheel
200+
pip install --upgrade pip setuptools
201201
pip install -r requirements-ci.txt
202202
pip install ${{ matrix.aiokafka_whl }}
203203
@@ -244,7 +244,7 @@ jobs:
244244
sudo apt-get install -y libkrb5-dev
245245
- name: Install python dependencies
246246
run: |
247-
pip install --upgrade pip setuptools wheel
247+
pip install --upgrade pip setuptools
248248
pip install -r requirements-ci.txt
249249
pip install ${{ matrix.aiokafka_whl }}
250250
@@ -294,7 +294,7 @@ jobs:
294294
yum install -y epel-release && \
295295
yum-config-manager --enable epel && \
296296
yum install -y krb5-devel && \
297-
pip install --upgrade pip setuptools wheel && \
297+
pip install --upgrade pip setuptools && \
298298
pip install -r requirements-ci.txt && \
299299
pip install ${{ matrix.aiokafka_whl }} && \
300300
rm -rf aiokafka && \

.github/workflows/tests.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
4747
- name: Install python dependencies
4848
run: |
49-
pip install --upgrade pip setuptools wheel
49+
pip install --upgrade pip setuptools
5050
pip install -r requirements-ci.txt
5151
pip install -vv -Ue . # We set -vv to see compiler exceptions/warnings
5252
@@ -101,7 +101,7 @@ jobs:
101101
102102
- name: Install python dependencies
103103
run: |
104-
pip install --upgrade pip setuptools wheel
104+
pip install --upgrade pip setuptools
105105
pip install -r requirements-win-test.txt
106106
pip install -vv -Ue . # We set -vv to see compiler exceptions/warnings
107107
@@ -169,7 +169,7 @@ jobs:
169169
170170
- name: Install python dependencies
171171
run: |
172-
pip install --upgrade pip setuptools wheel
172+
pip install --upgrade pip setuptools
173173
pip install -r requirements-ci.txt
174174
pip install -vv -Ue . # We set -vv to see compiler exceptions/warnings
175175
@@ -295,7 +295,7 @@ jobs:
295295
296296
- name: Install python dependencies
297297
run: |
298-
pip install --upgrade pip setuptools wheel
298+
pip install --upgrade pip setuptools
299299
pip install -r requirements-ci.txt
300300
pip install -vv -Ue . # We set -vv to see compiler exceptions/warnings
301301

CHANGES.rst

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ Improved Documentation:
1111
(pr #1068 by @jzvandenoever)
1212
* Fix Java Client API reference (pr #1069 by @emmanuel-ferdman)
1313

14+
Misc:
15+
* Use SPDX license expression for project metadata.
16+
1417

1518
0.12.0 (2024-10-26)
1619
===================

pyproject.toml

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
[build-system]
2-
requires = ["setuptools >=61", "wheel", "Cython >=3.0.5"]
2+
requires = ["setuptools >=77", "Cython >=3.0.5"]
33

44
[project]
55
name = "aiokafka"
66
description = "Kafka integration with asyncio"
77
readme = "README.rst"
88
requires-python = ">=3.9"
9-
license = { file = "LICENSE" }
9+
license = "Apache-2.0"
1010
authors = [
1111
{ name = "Andrew Svetlov", email = "[email protected]" },
1212
]
1313
classifiers = [
14-
"License :: OSI Approved :: Apache Software License",
1514
"Intended Audience :: Developers",
1615
"Programming Language :: Python :: 3",
1716
"Programming Language :: Python :: 3.9",

0 commit comments

Comments
 (0)