While changing directory I am receiving a warning:
In [1]: cd ..
/Users/matt/.venv/lib/python3.12/site-packages/IPython/core/magics/osm.py:417: UserWarning: This is now an optional IPython functionality, setting dhist requires you to install the `pickleshare` library.
self.shell.db['dhist'] = compress_dhist(dhist)[-100:]
I am not interested in having this feature simply because I teach Python. Each week, I set up a new repository with a virtual environment and a fresh IPython installation. Therefore, I would have to remember to install pickleshare every time, as well as explain why to do that to my students.
How can I turn these warnings off?
I have searched all my config files for anything remotely related to dhist and found nothing.
PS. The idea of Pickleshare is quite good. It would be nice to see it in the standard library as a rewrite of shelve or something.