Giter Club home page Giter Club logo

Comments (8)

techdragon avatar techdragon commented on July 18, 2024 3

@dmeranda As a quick fix you could do a minor version or patch release of everything as it is but with a more specific version specified for setuptools But yeah a Python3 only release would be nice.

from demjson.

ianrocha avatar ianrocha commented on July 18, 2024 2

Ok we are seeing this also. our pip install is throwing an error (which it was not a few days ago)
#11 15.16 Collecting demjson==2.2.4
#11 15.17 Downloading demjson-2.2.4.tar.gz (131 kB)
#11 15.34 ERROR: Command errored out with exit status 1:
#11 15.34 command: /usr/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-7wn1mnox/demjson_e132b49dfc684875bd6306977e49549d/setup.py'"'"'; file='"'"'/tmp/pip-install-7wn1mnox/demjson_e132b49dfc684875bd6306977e49549d/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-h7oupxn7
#11 15.34 cwd: /tmp/pip-install-7wn1mnox/demjson_e132b49dfc684875bd6306977e49549d/
#11 15.34 Complete output (1 lines):
#11 15.34 error in demjson setup command: use_2to3 is invalid.
#11 15.34 ----------------------------------------
#11 15.34 WARNING: Discarding https://files.pythonhosted.org/packages/96/67/6db789e2533158963d4af689f961b644ddd9200615b8ce92d6cad695c65a/demjson-2.2.4.tar.gz#sha256=31de2038a0fdd9c4c11f8bf3b13fe77bc2a128307f965c8d5fb4dc6d6f6beb79 (from https://pypi.org/simple/demjson/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
#11 15.34 ERROR: Could not find a version that satisfies the requirement demjson==2.2.4 (from versions: 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 2.0, 2.0.1, 2.2, 2.2.1, 2.2.2, 2.2.3, 2.2.4)
#11 15.34 ERROR: No matching distribution found for demjson==2.2.4

I'm having the same here :(

from demjson.

ra-esmith avatar ra-esmith commented on July 18, 2024

Ok we are seeing this also. our pip install is throwing an error (which it was not a few days ago)
#11 15.16 Collecting demjson==2.2.4
#11 15.17 Downloading demjson-2.2.4.tar.gz (131 kB)
#11 15.34 ERROR: Command errored out with exit status 1:
#11 15.34 command: /usr/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-7wn1mnox/demjson_e132b49dfc684875bd6306977e49549d/setup.py'"'"'; file='"'"'/tmp/pip-install-7wn1mnox/demjson_e132b49dfc684875bd6306977e49549d/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-h7oupxn7
#11 15.34 cwd: /tmp/pip-install-7wn1mnox/demjson_e132b49dfc684875bd6306977e49549d/
#11 15.34 Complete output (1 lines):
#11 15.34 error in demjson setup command: use_2to3 is invalid.
#11 15.34 ----------------------------------------
#11 15.34 WARNING: Discarding https://files.pythonhosted.org/packages/96/67/6db789e2533158963d4af689f961b644ddd9200615b8ce92d6cad695c65a/demjson-2.2.4.tar.gz#sha256=31de2038a0fdd9c4c11f8bf3b13fe77bc2a128307f965c8d5fb4dc6d6f6beb79 (from https://pypi.org/simple/demjson/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
#11 15.34 ERROR: Could not find a version that satisfies the requirement demjson==2.2.4 (from versions: 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 2.0, 2.0.1, 2.2, 2.2.1, 2.2.2, 2.2.3, 2.2.4)
#11 15.34 ERROR: No matching distribution found for demjson==2.2.4

from demjson.

dmeranda avatar dmeranda commented on July 18, 2024

Thanks for the notification. This project has been in a "standby" mode for many years as it was written prior to the Python standard library having any JSON API. I was not aware how much this package was still being used.

To solve this I really need to make a Python 3 only major version and discontinue support for Python 2.

from demjson.

intgr avatar intgr commented on July 18, 2024

It looks like there's already a Python 3 fork of this package at https://github.com/nielstron/demjson3 (PyPI: demjson3)

Maybe @dmeranda you could merge changes from that fork back here?

from demjson.

intgr avatar intgr commented on July 18, 2024

Pinging @nielstron as well, the author of the demjson3 fork.

from demjson.

thmo avatar thmo commented on July 18, 2024

Friendly ping from the Fedora package maintainer :)
@dmeranda, what is your position wrt @nielstron's Python3 fork?

from demjson.

LaikaN57 avatar LaikaN57 commented on July 18, 2024

@dmeranda bump (comments above)

from demjson.

Related Issues (20)

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.