JoaoFelipe / ipython-unittest

Add unittest cell magics to IPython for easily running tests
MIT License
40 stars 3 forks source link

Conda package for 3.7? #5

Open truekonrads opened 4 years ago

truekonrads commented 4 years ago

Hello,

Do you have any plans to release Conda package for later python version, e.g. 3.7? it is failing to install on modern conda:

(base) C:\>conda install -c conda-forge ipython_unittest
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: /
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed

UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:

Specifications:

  - ipython_unittest -> python[version='2.7.*|3.5.*|3.6.*']

Your python: python=3.7

If python is on the left-most side of the chain, that's the version you've asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.
JoaoFelipe commented 4 years ago

Hello,

Unfortunately, I will not be able to look into it during the next month as I haven't touched conda-forge for a while and I'm overloaded with other tasks.

However, pip install ipython_unittest works fine for Python 3.7 (I just tested it). I suggest using it for now

westurner commented 2 months ago

You can add pip packages to a conda environment.yml (for use with e.g. repo2docker or conda env update)

jupyter_dojo would be great to have on conda-forge too

https://conda-forge.org/docs/maintainer/adding_pkgs/