jankatins / knitpy

knitpy: Elegant, flexible and fast dynamic report generation with python
https://github.com/jankatins/knitpy
Other
368 stars 29 forks source link

ShimWarning on example knitpy_overview building #33

Closed nehalecky closed 8 years ago

nehalecky commented 8 years ago

Hi!

I hit some ShimWarning's due to the the great split. As all is moving to planet Jupyter, I thought it'd still be appropriate to open a ticket for tracking.

I was able to find and install knitpy via: pip install knitpy:

~$ pip install knitpy
Collecting knitpy
  Downloading knitpy-0.1.1.zip
Requirement already satisfied (use --upgrade to upgrade): IPython>=3.0 in ./lib/python2.7/site-packages (from knitpy)
Requirement already satisfied (use --upgrade to upgrade): pyzmq>=13 in ./lib/python2.7/site-packages (from knitpy)
Collecting pypandoc>=0.9.4 (from knitpy)
  Downloading pypandoc-1.0.4.tar.gz
Collecting pyyaml (from knitpy)
  Downloading PyYAML-3.11.tar.gz (248kB)
    100% |████████████████████████████████| 249kB 1.5MB/s
Requirement already satisfied (use --upgrade to upgrade): setuptools in ./lib/python2.7/site-packages/setuptools-18.3.2-py2.7.egg (from pypandoc>=0.9.4->knitpy)
Building wheels for collected packages: knitpy, pypandoc, pyyaml
  Running setup.py bdist_wheel for knitpy
  Stored in directory: /home/vagrant/.cache/pip/wheels/ac/f5/df/6e274fc196eafbea7d24d9f358d6ac32e2a803af9ce54e2466
  Running setup.py bdist_wheel for pypandoc
  Stored in directory: /home/vagrant/.cache/pip/wheels/5c/38/55/fd279cebceb2e3392c87a6204fc7bb47d8fc55a2336940f298
  Running setup.py bdist_wheel for pyyaml
  Stored in directory: /home/vagrant/.cache/pip/wheels/fa/db/f6/dee55793d344f1706dc4a5a693298f0115241d1085cc212364
Successfully built knitpy pypandoc pyyaml
Installing collected packages: pypandoc, pyyaml, knitpy
Successfully installed knitpy-0.1.1 pypandoc-1.0.4 pyyaml-3.11

I also cloned knitpy: git clone https://github.com/JanSchulz/knitpy.git, and attempted to build eample docs, where the warnings popped up:

/knitpy$ knitpy --to="all" -- examples/knitpy_overview.pymd
/home/vagrant/miniconda-3.10.1/envs/energiscore-env/lib/python2.7/site-packages/IPython/config.py:13: ShimWarning: The `IPython.config` package has been deprecated. You should import from traitlets.config instead.
  "You should import from traitlets.config instead.", ShimWarning)
/home/vagrant/miniconda-3.10.1/envs/energiscore-env/lib/python2.7/site-packages/IPython/utils/traitlets.py:5: UserWarning: IPython.utils.traitlets has moved to a top-level traitlets package.
  warn("IPython.utils.traitlets has moved to a top-level traitlets package.")
/home/vagrant/miniconda-3.10.1/envs/energiscore-env/lib/python2.7/site-packages/IPython/kernel/__init__.py:13: ShimWarning: The `IPython.kernel` package has been deprecated. You should import from ipykernel or jupyter_client instead.
  "You should import from ipykernel or jupyter_client instead.", ShimWarning)

Finally, I really hope to contribute to this project, so look forward to engaging more.

Thanks :)

jankatins commented 8 years ago

Yep, I think I will make knitpy jupyter only. If you can install knitpy, you probably also can install jupyter... Writing a requirement file for both ipython 3 and jupyter 4 looks like a nightmare I don't want to have :-)

Lets see, maybe I have some time on the weekend...

Looking forward to your contribution: what's your itch to scratch? :-)

nehalecky commented 8 years ago

Besides the issues I just posted, I ws thinking this one from your TODO / Road Map:

jankatins commented 8 years ago

@nehalecky Nice, looking forward to that. RMarkdown probably also has some nice things, but I'm not sure what their license is.