Code Monkey home page Code Monkey logo

Comments (19)

n1ngu avatar n1ngu commented on June 18, 2024 7

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.

shearer12345 avatar shearer12345 commented on June 18, 2024 3

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.

Timost avatar Timost commented on June 18, 2024 3

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.

alhman avatar alhman commented on June 18, 2024 3

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.

roll avatar roll commented on June 18, 2024 3

It's now merged. Can you please release it on PyPi?

from simpleeval.

roll avatar roll commented on June 18, 2024 2

I tried to use a direct git ref in setup.py and it failed on CI during installation

from simpleeval.

Norbo11 avatar Norbo11 commented on June 18, 2024 1

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.

chris48s avatar chris48s commented on June 18, 2024 1

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.

aaronsteers avatar aaronsteers commented on June 18, 2024 1

Confirmed! Thanks everyone! 🎉

https://pypi.org/project/simpleeval/0.9.11/

from simpleeval.

luigibertaco avatar luigibertaco commented on June 18, 2024

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.

aaronsteers avatar aaronsteers commented on June 18, 2024

I noticed VerdigrisTech has a more active fork in the Network graph: https://github.com/VerdigrisTech/simpleeval

image

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.

aaronsteers avatar aaronsteers commented on June 18, 2024

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.

daenny avatar daenny commented on June 18, 2024

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.

roll avatar roll commented on June 18, 2024

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.

aaronsteers avatar aaronsteers commented on June 18, 2024

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.

roll avatar roll commented on June 18, 2024

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:

https://github.com/pypa/gh-action-pypi-publish

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.

istrupin avatar istrupin commented on June 18, 2024

For Pipenv, the syntax for the pipfile looks like:

simpleeval = {editable = true, ref = "acd8455dec557d551aae1b37b708eb7cd025b03b", git = "https://github.com/graingert/simpleeval"}

from simpleeval.

transfluxus avatar transfluxus commented on June 18, 2024

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.

n1ngu avatar n1ngu commented on June 18, 2024

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)

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.