Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation tip #4

Open
JamesParrott opened this issue Apr 28, 2023 · 2 comments
Open

Installation tip #4

JamesParrott opened this issue Apr 28, 2023 · 2 comments

Comments

@JamesParrott
Copy link

JamesParrott commented Apr 28, 2023

Hi guys, this is a really useful library - thankyou!

I just wanted to share with other users that to use it, I downloaded the Source Distribution from PyPi manually, extracted it, cd'd into its base folder, and then was able to install this using:

ipy -X:Frames -m ensurepip
ipy -X:Frames -m pip install -e (possibly also in an admin cmd, I can't remember)

As it happens, I've never been able to get IronPython 2.7 to install anything from PyPi, I get some /html5/ None + int TypeError or other).

But now, I happily managed to pass 18/23 of my tests after only 5 minutes or so tinkering - so thankyou ever so much! You've saved me from having to set everything up to use unittest!

@gonzalocasas
Copy link
Member

Thanks! Glad you find this useful!
Indeed, we have the same issue with not being to install from pip normally. What we do (see for example here) is to download the source distro from a debian mirror that point to latest, that way we don't have to pin to the a specific version (which would happen if we would use pypi download urls)

I happily managed to pass 18/23 of my test

I'm curious what are those other 5 tests that still don't run, if there's something that you'd need added to this lib from the pytest features, let me know and we'll try to add it (or also feel free to send a PR).

@JamesParrott
Copy link
Author

JamesParrott commented Apr 30, 2023

You're welcome. The other 5 used pytest.mark.skipif and pytest.importorskip and pytest.warns. I overhauled the project I was testing last night, and that came with 100s of new tests. But I might well send a PR for those.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants