Skip to content

The distribution package is incomplete #959

Description

@sarthakpati

🐛 Describe the bug

The current distributions as for both requirements.txt and dev-requirements.txt but they are not present:

(base) sp@pc:/downloads$ wget https://files.pythonhosted.org/packages/3c/b9/c440c3bf39edddf1b72cbf88245a8ca3345caae0cbeabb2601ddcc679be5/torchtnt-0.2.4.tar.gz
--2025-01-15 15:23:21--  https://files.pythonhosted.org/packages/3c/b9/c440c3bf39edddf1b72cbf88245a8ca3345caae0cbeabb2601ddcc679be5/torchtnt-0.2.4.tar.gz
Resolving files.pythonhosted.org (files.pythonhosted.org)... 146.75.124.223, 2a04:4e42:8f::223
Connecting to files.pythonhosted.org (files.pythonhosted.org)|146.75.124.223|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 115176 (112K) [application/octet-stream]
Saving to: ‘torchtnt-0.2.4.tar.gz.1’

torchtnt-0.2.4.tar.gz                              100%[===================================================================================================================>] 112.48K  --.-KB/s    in 0.02s

2025-01-15 15:23:22 (6.94 MB/s) - ‘torchtnt-0.2.4.tar.gz’ saved [115176/115176]
(base) sp@pc:/downloads$ tar -xf torchtnt-0.2.4.tar.gz
(base) sp@pc:/downloads$ ll torchtnt-0.2.4
total 16
drwxrwxrwx 1 sp sp 4096 May 22  2024 ./
drwxrwxrwx 1 sp sp 4096 Jan 15 15:22 ../
-rwxrwxrwx 1 sp sp 1533 May 22  2024 LICENSE*
-rwxrwxrwx 1 sp sp 3070 May 22  2024 PKG-INFO*
-rwxrwxrwx 1 sp sp 1778 May 22  2024 README.md*
-rwxrwxrwx 1 sp sp   44 May 22  2024 pyproject.toml*
-rwxrwxrwx 1 sp sp   38 May 22  2024 setup.cfg*
-rwxrwxrwx 1 sp sp 2948 May 22  2024 setup.py*
drwxrwxrwx 1 sp sp 4096 May 22  2024 torchtnt/
drwxrwxrwx 1 sp sp 4096 May 22  2024 torchtnt.egg-info/
(base) sp@pc:/downloads$ cat ./torchtnt-0.2.4/setup.py | grep -i requirements
def read_requirements(file_name: str) -> List[str]:
        install_requires=read_requirements("requirements.txt"),
        extras_require={"dev": read_requirements("dev-requirements.txt")},

As you can probably imagine, this can cause issues when trying to use the sdist (as the conda recipe does).

Versions

All.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions