Comments (8)
@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.
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.
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.
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.
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.
Pinging @nielstron as well, the author of the demjson3 fork.
from demjson.
Friendly ping from the Fedora package maintainer :)
@dmeranda, what is your position wrt @nielstron's Python3 fork?
from demjson.
@dmeranda bump (comments above)
from demjson.
Related Issues (20)
- trailing whitespace
- high cpu load
- enum encode error:
- python -m demjson
- jsonlint changes foat values HOT 8
- Version on CentOS EPEL is out of date and exits 0 on errors HOT 2
- --allow=non-bmp HOT 4
- Code bug? HOT 2
- Failed to import under Python 2.7.13
- Documentation page is not opening HOT 2
- deron.meranda.us is Down, Causing Pip Installs to Fail HOT 1
- Importing ABC directly from collections module was removed in Python 3.9
- “Gibberish” false positive when parsing Unicode identifiers in objects HOT 4
- demjson.JSONDecodeError: ('Bad number', '.')
- syntax error
- To support numpy?
- demjson pip install fails with python3.7 and 3.7 but not 3.6. HOT 1
- Object literal (dictionary) is not terminated
- error in demjson setup command: use_2to3 is invalid. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from demjson.