Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The distribution package is incomplete #959

Open
sarthakpati opened this issue Jan 15, 2025 · 0 comments · May be fixed by #960
Open

The distribution package is incomplete #959

sarthakpati opened this issue Jan 15, 2025 · 0 comments · May be fixed by #960

Comments

@sarthakpati
Copy link
Contributor

🐛 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant