LICENSE file is missing from the wheel artifact.

Open
#909 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python

Research direction

Inspect the wheel-building configuration and package metadata, then reproduce the difference between the PyPI tar.gz and wheel artifacts. Verify that the wheel contains LICENSE alongside the existing invoke-2.0.0.dist-info files and that its metadata remains consistent.

Written by the indexing model from the issue text.

Description

While the LICENSE file exists in the tar.gz artifact upload on pypi, it does not exist on the wheel artifact even though it is mentioned in the metadata

{
    "generator": "bdist_wheel (0.24.0)",
    "summary": "Pythonic task execution",
    "metadata_version": "2.0",
    "name": "invoke",
    "version": "2.0.0",
    "extensions": {
        "python.details": {
            "project_urls": {
                "Home": "https://pyinvoke.org"
            },
            "contacts": [
                {
                    "email": "jeff@bitprophet.org",
                    "name": "Jeff Forcier",
                    "role": "author"
                }
            ],
            "document_names": {
                "description": "DESCRIPTION.rst"
            }
        },
        "python.exports": {
            "console_scripts": {
                "inv": "invoke.main:program.run",
                "invoke": "invoke.main:program.run"
            }
        },
        "python.commands": {
            "wrap_console": {
                "inv": "invoke.main:program.run",
                "invoke": "invoke.main:program.run"
            }
        }
    },
    "license": "BSD",
    "project_url": "Docs, https://docs.pyinvoke.org",
    "classifiers": [
        "Development Status :: 5 - Production/Stable",
        "Environment :: Console",
        "Intended Audience :: Developers",
        "Intended Audience :: System Administrators",
        "License :: OSI Approved :: BSD License",
        "Operating System :: POSIX",
        "Operating System :: Unix",
        "Operating System :: MacOS :: MacOS X",
        "Operating System :: Microsoft :: Windows",
        "Programming Language :: Python",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.6",
        "Programming Language :: Python :: 3.7",
        "Programming Language :: Python :: 3.8",
        "Programming Language :: Python :: 3.9",
        "Programming Language :: Python :: 3.10",
        "Programming Language :: Python :: 3.11",
        "Topic :: Software Development",
        "Topic :: Software Development :: Build Tools",
        "Topic :: Software Development :: Libraries",
        "Topic :: Software Development :: Libraries :: Python Modules",
        "Topic :: System :: Software Distribution",
        "Topic :: System :: Systems Administration"
    ],
    "requires_python": ">=3.6",
    "license_file": "LICENSE"
}
ls -l
total 64
-rw-r--r--@ 1 user  group  1539 Jan 16 17:24 DESCRIPTION.rst
-rw-r--r--  1 user  group  3234 Jan 16 17:24 METADATA
-rw-r--r--  1 user  group  4930 Jan 16 17:24 RECORD
-rw-r--r--  1 user  group    92 Jan 16 17:24 WHEEL
-rw-r--r--@ 1 user  group    82 Jan 16 17:24 entry_points.txt
-rw-r--r--@ 1 user  group  2286 Jan 26 20:06 metadata.json
-rw-r--r--  1 user  group     7 Jan 16 17:24 top_level.txt
Dominant language
Python
Stars
4.8k
Forks
412
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from pyinvoke/invoke

All issues in pyinvoke/invoke

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.