pyup icon indicating copy to clipboard operation
pyup copied to clipboard

pyup wrongly thinks that `scp` is not Python 3 compatible

Open adamtheturtle opened this issue 6 years ago • 5 comments

Hi, thanks for the software.

I am a user of pyup and scp.

pyup shows that scp is not Python 3 compatible, but this is not correct. The test suite is run on Python 3. setup.py shows "Programming Language :: Python :: 3.5".

What needs to change to get recognised as Python 3 compatible?

screen shot 2018-01-25 at 10 49 56

adamtheturtle avatar Jan 25 '18 10:01 adamtheturtle

Hi!

The bot looks on the metadata that's available on PyPi to determine if the project is Python 3 compatible: https://pypi.python.org/pypi/scp/json

The classifier list for scp is empty on PyPi. It could be that the setup.py was modified after the most recent release, so the classifiers from setup.py haven't made it into PyPi's metadata.

I can add this to a whitelist in pyup.io's backend, but the best thing would be to raise this issue with scp so that they can update the metadata accordingly.

jayfk avatar Jan 25 '18 11:01 jayfk

Hello @jayfk,

I have the same issue with the package: untangle

If you have a look to the classifiers published in the package on PyPI you have the followings:

classifiers=(
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        "Programming Language :: Python :: 3.3",
        "Programming Language :: Python :: 3.4",
        "Programming Language :: Python :: 3.5",
        "Programming Language :: Python :: 3.6",
    ),

Inside the PKG_INFO file:

Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6

DEKHTIARJonathan avatar Apr 02 '18 10:04 DEKHTIARJonathan

@DEKHTIARJonathan the problem is that this isn't on PyPi. If you take a look at the JSON here https://pypi.python.org/pypi/untangle/json you'll see that the classifiers are empty.

Please report this to the people maintaining the package and tell them to republish it. Once the classifiers are set, it will work :)

jayfk avatar Apr 02 '18 11:04 jayfk

That's weird... Why is it unpublished ? It is inside the setup.py and PKG INFO file ...

DEKHTIARJonathan avatar Apr 02 '18 11:04 DEKHTIARJonathan

Well, it is published but the classifiers are missing. Probably because they were added to setup.py after the release was pushed to PyPi.

jayfk avatar Apr 02 '18 11:04 jayfk