BlogsPineconePython Packaging and Dependency Management

Python Packaging and Dependency Management

Python Packaging and Dependency Management

1
posts
2023

This post details the evolution of Python packaging and dependency management tools, highlighting the challenges and solutions encountered. It specifically discusses the migration of the Pinecone Python client to Poetry, emphasizing simplified local development, better integration with common AI libraries like LangChain, and a mostly backward-compatible user experience. The post also touches upon the broader Python tooling landscape, including pip, virtualenv, conda, pipenv, and PEP 517/518, to provide context for the choice of Poetry.

2023

The Pain and the Poetry of Python

8/31/2023

The post details the migration of the Pinecone Python client to Poetry for dependency management and packaging. It explains the benefits of Poetry for local development, integration with libraries like LangChain, and contributor workflows. The post also provides a historical overview of Python packaging tools, from distutils to PEP 517/518, to contextualize the decision.