Comments (19)
0.9.11 has been just released and installs just fine with latest setuptools 🎉
Everyone can stop pinning git commits and forks. @aaronsteers would you mind closing the issue?
Thanks everyone for the collaboration, specially @graingert for the prompt fix.
from simpleeval.
Thanks @Norbo11 and @chris48s .
if you're using pyproject.toml
(poetry) then the syntax is:
simpleeval = { git = "ssh://[email protected]/graingert/simpleeval.git", rev = "acd8455dec557d551aae1b37b708eb7cd025b03b" }
from simpleeval.
update #91 has been merged so :
simpleeval = { git = "ssh://[email protected]/graingert/simpleeval.git", rev = "acd8455dec557d551aae1b37b708eb7cd025b03b" }
no longer works and one should use instead in pyproject.toml
(poetry):
simpleeval = { git = "https://github.com/danthedeckie/simpleeval.git", rev = "8943b7f828f2fd610fd8546d474227041ecd494a" }
from simpleeval.
We created a PyPI package with the use_2to3
fix because we need it for our pdf reporting framework ReportBro. Maybe it is also useful for others:
https://pypi.org/project/reportbro-simpleeval/
from simpleeval.
It's now merged. Can you please release it on PyPi?
from simpleeval.
I tried to use a direct git ref in setup.py
and it failed on CI during installation
from simpleeval.
For those that don't want to pin setuptools just replace simpleval
in your requirements file with git+git://github.com/graingert/simpleeval@acd8455dec557d551aae1b37b708eb7cd025b03b
to pick up the patch.
from simpleeval.
In a requirements.txt
you can use git+git://github.com/graingert/simpleeval@acd8455dec557d551aae1b37b708eb7cd025b03b
In a setup.py
the format is a bit different: https://www.python.org/dev/peps/pep-0508/#examples
Untested, but I think the equivalent for a setup.py
would be:
install_requires = [
'simpleeval @ https://github.com/graingert/simpleeval/archive/acd8455dec557d551aae1b37b708eb7cd025b03b.zip',
]
from simpleeval.
Confirmed! Thanks everyone! 🎉
https://pypi.org/project/simpleeval/0.9.11/
from simpleeval.
Having the same issue on an Google App Engine deploy, not able to deploy a new version until this is fixed.
Happy to help, will probably have some time this week if needed. Just a bit worried with a the release pace of the project.
from simpleeval.
I noticed VerdigrisTech
has a more active fork in the Network graph: https://github.com/VerdigrisTech/simpleeval
However they don't accept issues so I opened a draft PR in attempt to start a conversation there: VerdigrisTech#2
Here, or there, would much appreciate anyone's support on this. I have zero familiarity with 2to3
or how difficult it would be to remove that option.
from simpleeval.
FWIW, tests here are passing: aaronsteers#2
That fork was created from the more active VerdigrisTech
fork but it otherwise only changes setup.py
and the GitHub workflow yml matrix.
from simpleeval.
We have the same issue. Pinning setuptools
to <58.0
solves this issue for now, but is not the solution in the long run. @danthedeckie Are you willing to accept PR's to this repo or have you stopped maintaining?
from simpleeval.
Hi @danthedeckie, can you please take a look at this. It breaks all new installations of the Frictionless Framework - https://framework.frictionlessdata.io/. Your help is really appreciated.
from simpleeval.
For those that don't want to pin setuptools just replace simpleval in your requirements file with git+git://github.com/graingert/simpleeval@acd8455 to pick up the patch.
Do we know if PyPi accept a publish with the git ref? I believe git refs in general are disallowed but I don't know if that changes when using a commit ref, as in the above.
from simpleeval.
Thanks @chris48s!
This syntax seems to be working. The one that had failed was simpleeval@git+https://[email protected]/roll/simpleeval@e2b37a96169a219613e1ffff3f38769d682e8596#egg=simpleeval
No, the one above also doesn't work:
HTTPError: 400 Bad Request from https://upload.pypi.org/legacy/
Invalid value for requires_dist. Error: Can't have direct dependency: 'simpleeval @ https://github.com/roll/simpleeval/archive/e2b37a96169a219613e1ffff3f38769d682e8596.zip'
from simpleeval.
For Pipenv, the syntax for the pipfile
looks like:
simpleeval = {editable = true, ref = "acd8455dec557d551aae1b37b708eb7cd025b03b", git = "https://github.com/graingert/simpleeval"}
from simpleeval.
Hi,
I could install it with
git+git://github.com/graingert/simpleeval@acd8455
but I want to install another package that depends on simpleeval and it fails
from simpleeval.
Hi, I could install it with git+git://github.com/graingert/simpleeval@acd8455 but I want to install another package that depends on simpleeval and it fails
I think the URI requirement is missing a fragment hinting pip it satisfies the simpleeval package like
git+git://github.com/graingert/simpleeval@master#simpleeval
from simpleeval.
Related Issues (20)
- Setuptools 58 breaks install HOT 1
- Possible to return function object rather than evaluate? HOT 2
- Possible to generate RPN from AST. HOT 1
- Low performance HOT 9
- We need to revisit performance limits
- We should switch to explicitly giving permission for methods / data access HOT 2
- while shortcode seems endless loop HOT 1
- Add a timeout for statements
- intercept evaluation of simpleeval and add if conditions
- MAX_STRING_LENGTH used on objects which do not increase size, creating false positives
- Allow to-bytes conversion? HOT 1
- Support implied multiply HOT 2
- Release plan HOT 6
- Possible to define my own operators HOT 1
- Problem when building using simpleeval HOT 4
- Operator with arguments?? HOT 1
- simpleeval raises NameNotDefined exception when KeyError exception occured using callable names resolver HOT 4
- Any plans for a new release? HOT 1
- how do i set limits HOT 5
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 simpleeval.