Skip to content

Installation tip #4

Open
Open

Description

@JamesParrott

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!

Activity

  1. gonzalocasas commented on Apr 30, 2023

    @gonzalocasas
    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).

  2. JamesParrott commented on Apr 30, 2023

    @JamesParrott
    Author

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions