Skip to content

Commit 8c9b342

Browse files
ssbarneaCopilot
andauthored
Update format of license in packaging metadata (#4641)
Co-authored-by: Copilot <[email protected]>
1 parent 2dcdc97 commit 8c9b342

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

pyproject.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,8 @@ classifiers = [
1515
"Intended Audience :: Developers",
1616
"Intended Audience :: Information Technology",
1717
"Intended Audience :: System Administrators",
18-
"License :: OSI Approved :: MIT License",
1918
"Operating System :: MacOS",
2019
"Operating System :: POSIX",
21-
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
2220
"Programming Language :: Python :: 3",
2321
"Programming Language :: Python :: 3.10",
2422
"Programming Language :: Python :: 3.11",
@@ -34,7 +32,7 @@ classifiers = [
3432
description = "Checks playbooks for practices and behavior that could potentially be improved"
3533
dynamic = ["version", "dependencies", "optional-dependencies"]
3634
keywords = ["ansible", "lint"]
37-
license = {text = "GPLv3+"}
35+
license = "GPL-3.0-or-later"
3836
maintainers = [{"email" = "[email protected]", "name" = "Ansible by Red Hat"}]
3937
name = "ansible-lint"
4038
readme = "README.md"

tox.ini

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,9 @@ deps =
117117
twine>=4.0.1
118118
commands_pre =
119119
commands =
120-
bash -ec "PIPX_BIN_DIR={work_dir}/.pipx/bin; PIPX_HOME={work_dir}/.pipx; pipx uninstall ansible-lint || true; pipx install --force -e ."
121-
bash -c "if stderr=$({work_dir}/.pipx/bin/ansible-lint --version >/dev/null) && test -z \"$stderr\"; then echo "ok"; fi"
120+
bash -ec "rm -rf src/*.egg-info"
121+
bash -ec "PIPX_BIN_DIR={work_dir}/.pipx/bin; PIPX_HOME={work_dir}/.pipx; pipx uninstall ansible-lint >/dev/null || true; pipx install --force -e ."
122+
bash -ec "if stderr=$({work_dir}/.pipx/bin/ansible-lint --version >/dev/null) && test -z \"$stderr\"; then echo \"ok\"; fi"
122123
{env_python} -c 'import os.path, shutil, sys; \
123124
dist_dir = os.path.join("{tox_root}", "dist"); \
124125
os.path.isdir(dist_dir) or sys.exit(0); \

0 commit comments

Comments
 (0)