Skip to content

Version 1.4.2 package has incorrect dependency configuration in setup.py #798

@sreelathasankaranarayanan

Description

Describe the bug
A clear and concise description of what the bug is.
Version 1.4.2 package has incorrect dependency configuration in setup.py, this is causing errors in projects that use pytenable as a dependency and with pip 24.0 dependency resolver this problem is hard to avoid as it seems to download older versions of dependencies to find the best compatibility match.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Call '....'
  3. Do '....'
  4. See error

Run pip install pytenable==1.4.2

Expected behavior
A clear and concise description of what you expected to happen.
The package should install successfully without errors in setup.py

Screenshots
If applicable, add screenshots to help explain your problem.

Collecting pytenable==1.4.2
Using cached https://na.artifactory.swg-devops.com/artifactory/api/pypi/wcp-auditree-pypi-virtual/packages/packages/8f/1e/96d67f77c8dd714e9194a766c9ea4784053a8d7370a2a8ed4b4e632b0585/pyTenable-1.4.2.tar.gz (161 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [3 lines of output]
error in pyTenable setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Expected end or semicolon (after version specifier)
typing-extensions>=3.10.0.2dataclasses>=0.8;python_version=="3.6"
~~~~~~~~~~^
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

System Information (please complete the following information):

  • OS: [e.g. MacOS]
  • Architecture [e.g. 64bit, 32bit]
  • Version [e.g. 2.7.9]
  • Memory [e.g. 4G]

MacOS, Ubuntu

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions