Code Monkey home page Code Monkey logo

caniusepython3.com's People

Contributors

acdha avatar greyli avatar jezdez avatar msabramo avatar requires avatar tricoder42 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

caniusepython3.com's Issues

Broken image on project page

In the HTML there is the following image line

 <img height="16" src="https://caniusepython3.com/project/blackhole" alt="blackhole port status" />

As you can see from that img tag's source attribute, that's not an image and it fails to load in latest Chrome Canary build.

no worky

non-existent projects?

Currently you can search for any project and caniusepython3 will report it's Python3 compatible... If you press on "Check again" in the result page will 404 you.
Is it covered?
caiusepy3

Redirect Issue

I have (ERR_INVALID_REDIRECT) in all browsers ? How I fix this ? when I I manually enter "https://" it works.

Unable to check requirements files containing non-editable mode URLs

STR:

  1. Create a requirements file containing:
requests
https://github.com/jeads/datasource/archive/v0.10.0.tar.gz#egg=datasource==0.10.0
  1. Drag onto the text area on https://caniusepython3.com/ and press check

Expected:
Ideally both requirements checked, or failing that at least the check run against the non-URL requirement (requests).

Actual:

Couldn't check ['https://github.com/jeads/datasource/archive/v0.10.0.tar.gz#egg=datasource==0.10.0'].

Adding -e prior to the URL prevents the error. However bare URLs are allowed according to:
https://pip.readthedocs.org/en/stable/reference/pip_install/#requirements-file-format

Requirements files containing the new --hash syntax cannot be checked

STR:

  1. Create a requirements file containing:
requests==2.9.1 --hash=sha256:113fbba5531a9e34945b7d36b33a084e8ba5d0664b703c81a7c572d91919a5b8
  1. Drag onto https://caniusepython3.com/ and press check

Expected:
Requirements file can be checked successfully, the same as if it just contained requests==2.9.1.

Actual:

Project --hash=sha256:113fbba5531a9e34945b7d36b33a084e8ba5d0664b703c81a7c572d91919a5b8 invalid

The hash syntax was added in pip 8, as part of the new hash-checking mode:
http://pip.readthedocs.org/en/stable/user_guide/#hash-checking-mode
http://pip.readthedocs.org/en/stable/reference/pip_install/#hash-checking-mode

Will not finish checking

Usually the service is slow but gets the job done, but this time, it wouldn't load after a few minutes.
My requirements.txt file

bcrypt==2.0.0
cffi==1.1.2
click==4.0
dj-database-url==0.3.0
Django==1.8.2
django-postgrespool==0.3.0
gunicorn==19.3.0
msgpack-python==0.4.6
opencage==1.1.3
psycopg2==2.6
pycparser==2.14
redis==2.10.3
requests==2.7.0
rq==0.5.3
six==1.9.0
SQLAlchemy==1.0.4
wheel==0.24.0
whitenoise==1.0.6
scipy==0.15.1

Security certificate expired

Hello, I'm running into this warning from Chrome when I try to visit the site.

screen shot 2018-06-29 at 4 45 51 pm

Think the security certificate needs to be updated.

Thanks!

Different results using caniusepython3 and caniusepython3.com

Hi! I get different results using the package locally and the site. Here's the result running the site:
https://caniusepython3.com/check/7f785350-ceff-426f-8ae1-8d7edbcde2a4

And here's running against the file locally:

$ caniusepython3 -r requirements/production.txt
[WARNING] problem fetching svamp, assuming ported (404)
[WARNING] problem fetching django-features, assuming ported (404)
[WARNING] problem fetching json-api-mapper, assuming ported (404)
[WARNING] problem fetching puri, assuming ported (404)

You need 3 projects to transition to Python 3.
Of those 3 projects, 3 have no direct dependencies blocking their transition:

  django-piston
  embedly
  pyes

Any idea why the results are different?

Hyperlink projects to PyPI

Not looking for it to look like a hyperlink per-se, but it would be handy to be able to jump to the project page.

Entering a requirements file URL fails with a generic "Couldn't check" error

STR:

  1. Enter https://raw.githubusercontent.com/mozilla/treeherder/b2ecb99390185ed7883b2334c1b11855ddd0811b/requirements/common.txt in the text field on https://caniusepython3.com/
  2. Press submit

Expected:
If there were errors (eg due to #47) then they are displayed as part of the error message, eg:

Couldn't check ['https://raw.githubusercontent.com/mozilla/treeherder/b2ecb99390185ed7883b2334c1b11855ddd0811b/requirements/common.txt']: invalid requirement 'https://github.com/jeads/datasource/archive/v0.10.0.tar.gz#egg=datasource==0.10.0'.

Actual:

Couldn't check ['https://raw.githubusercontent.com/mozilla/treeherder/b2ecb99390185ed7883b2334c1b11855ddd0811b/requirements/common.txt'].

Web site says Twiggy almost Python 3 compatible, but it is

https://pypi.python.org/pypi/Twiggy

has the Python 3 classifier

and the caniusepython3 CLI tool says that it's Python 3 compatible:

$ caniusepython3 --projects Twiggy
Finding and checking dependencies ...
[WARNING] Stale overrides: set([u'python-neutronclient'])

You have 0 projects blocking you from using Python 3!

but https://caniusepython3.com/project/Twiggy says that there's 1 blocker, although I can't tell what it is:

screen shot 2015-03-10 at 11 07 00 am

Maybe a cache needs to be cleared? Twiggy only gained the Python 3 classifier yesterday, so I'm wondering if caching is the cause and it might even sort itself out in a day or two.

Pinning is not supported

When providing e.g. Django==1.6 as input, it reports:

Project Django==1.6 invalid

I could imagine that the pinning / version information would just get ignored for the lookup.

(I have thrown my pip freeze output in there. This resulted in another error:

Couldn't check ['file:///home/jezdez/tmp/tmpxaslvn']

I have not bi-sected it to find the culprit, only tried a single entry then.)

django-storages

django-storages shows as not compatible when using the web interface.
The project was abandoned for a couple of year without Python 3 support, but is now supporting Python 3.

500 internal server error

If you try to check python 3 compatibility of anything right now, you get a 500 internal server error.

HTTPS certificate expired

Currently, trying to connect to https://caniusepython3.com leads to a security notice saying that the SSL certificate expired 18 days ago.

FYI trying to connect to http://caniusepython3.com instead (ie not secure), leads to an Nginx thank-you page.

Command-line version?

Because the site isn't working for me (see #48), is there a command-line version of this that I can use?

Validate input

If you check something made up like asdfdfsadfdfffffff it says that it's blocking, when in fact it's just invalid. Might help to grab the complete list of Python 3 projects and then do a check if a project is even listed in there to at least suggest it could be a typo from manual input.

--allow-external breaking the app?

a requirements.txt file with the below content results in "Couldn't check (file:///path/to/tempfile)

django
--allow-external djcelery

e.g.: Couldn't check ['file:///home/jezdez/tmp/tmpghod8t']. (in case that file is still available on the server)

packages not correctly recognized as py3

Seems some packages are not correctly recognized even though they have the required classifiers on PyPI.

For example pyramid_mako.

One thing I noticed is that on the website entering pyramid_mako turns out as pyramid-mako (underscore converted to dash). Maybe it does not find that on PyPI...?

BR

Don't hard-code a requirement against caniusepython 1.1.0

Not sure how you want to handle updates specifically for overrides.json. Is it easiest for me to just push micro version updates (in which case the pegging in the requirements.txt file might get annoying to update)? Do you want to just grab the raw JSON from GitHub? Let me know what's easiest for you so you can get them quickly.

And if you want, feel free to have a link pointing at brettcannon/caniusepython3 for people to file bugs when a project's status is outdated.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.