Dependency Conflict: langchain 1.0.0a14 and langchain-pinecone 0.2.1.2 (Pipenv Environment)

Hey everyone,

I’m running into a dependency issue while trying to set up the latest alpha version of langchain in a Pipenv environment, and I’m hoping someone can point me in the right direction or suggest a workaround.

Setup: I’m using Pipenv to manage my environment.

Here’s what I’m trying to install:

pipenv install langchain==1.0.0a14
pipenv install langchain-pinecone==0.2.1.2

:warning: The Problem

The installation of langchain==1.0.0a14 works fine — Pipenv automatically resolves and installs matching dependencies.

However, when I try to install langchain-pinecone==0.2.1.2, it fails with dependency conflicts.

It looks like the latest langchain-pinecone release (0.2.1.2) doesn’t support the 1.0.0a14 alpha version of LangChain.

From what I can tell:

  • The only version of langchain-pinecone that supports alpha LangChain (>=1.0.0a*) is 0.0.1, released on February 8, 2024.

  • Newer versions (like 0.2.1.2) seem to expect a stable LangChain release instead.

:brain: What I’ve Tried

I tested different combinations inside the Pipenv environment:

pipenv install "langchain==1.0.0a14" "langchain-pinecone==0.2.1.2"  # ❌ Fails: dependency conflict
pipenv install "langchain==1.0.0a14" "langchain-pinecone==0.0.1"    # ✅ Works, but outdated

:red_question_mark:My Question

Is there any known workaround to use the latest langchain-pinecone with the 1.0.0a* alpha builds of LangChain inside Pipenv?

Or should I stick with an older stable version of LangChain (like 0.3.x) until the packages become compatible?

Any help or insight would be super appreciated — thank you!


(RAGTutorial) macbook RAGTutorial % pipenv run pip list | grep lang
Courtesy Notice:
Pipenv found itself running within a virtual environment,  so it will automatically use that environment, instead of  creating its own for any project. You can set
PIPENV_IGNORE_VIRTUALENVS=1 to force pipenv to ignore that environment and create  its own instead.
You can set PIPENV_VERBOSITY=-1 to suppress this warning.
langchain                 1.0.0a14
langchain-classic         1.0.0a1
langchain-community       1.0.0a1
langchain-core            1.0.0a8
langchain-openai          1.0.0a4
langchain-text-splitters  1.0.0a1
langgraph                 1.0.0a4
langgraph-checkpoint      2.1.2
langgraph-prebuilt        0.7.0a2
langgraph-sdk             0.2.9
langsmith                 0.4.35rc1
(RAGTutorial) macbook RAGTutorial % cat Pipfile
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
openai = "*"
tiktoken = "*"
python-dotenv = "*"
langchain-core = "*"
langchain-openai = "*"
langgraph = "*"
langchain = "==1.0.0a14"
langchain-community = "*"

[dev-packages]

[requires]
python_version = "3.11"
python_full_version = "3.11.9"

[pipenv]
allow_prereleases = true
(RAGTutorial) macbook RAGTutorial % pipenv install langchain-pinecone
Courtesy Notice:
Pipenv found itself running within a virtual environment,  so it will automatically use that environment, instead of  creating its own for any project. You can set
PIPENV_IGNORE_VIRTUALENVS=1 to force pipenv to ignore that environment and create  its own instead.
You can set PIPENV_VERBOSITY=-1 to suppress this warning.
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.
Installing langchain-pinecone...
✔ Installation Succeeded
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.
Installing dependencies from Pipfile.lock (9ac1da)...
All dependencies are now up-to-date!
Upgrading langchain-pinecone in  dependencies.
Building requirements...
Resolving dependencies...
✔ Success!
Building requirements...
Resolving dependencies...
✔ Success!
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.
Installing dependencies from Pipfile.lock (9e8f58)...
All dependencies are now up-to-date!
Installing dependencies from Pipfile.lock (9e8f58)...
(RAGTutorial) macbook RAGTutorial % pipenv run pip list | grep lang  
Courtesy Notice:
Pipenv found itself running within a virtual environment,  so it will automatically use that environment, instead of  creating its own for any project. You can set
PIPENV_IGNORE_VIRTUALENVS=1 to force pipenv to ignore that environment and create  its own instead.
You can set PIPENV_VERBOSITY=-1 to suppress this warning.
langchain                 1.0.0a14
langchain-classic         1.0.0a1
langchain-community       1.0.0a1
langchain-core            1.0.0a8
langchain-openai          1.0.0a4
langchain-pinecone        0.0.1
langchain-text-splitters  1.0.0a1
langgraph                 1.0.0a4
langgraph-checkpoint      2.1.2
langgraph-prebuilt        0.7.0a2
langgraph-sdk             0.2.9
langsmith                 0.4.35rc1
(RAGTutorial) macbook RAGTutorial % pipenv uninstall langchain-pinecone
Courtesy Notice:
Pipenv found itself running within a virtual environment,  so it will automatically use that environment, instead of  creating its own for any project. You can set
PIPENV_IGNORE_VIRTUALENVS=1 to force pipenv to ignore that environment and create  its own instead.
You can set PIPENV_VERBOSITY=-1 to suppress this warning.
Removed langchain-pinecone from Pipfile.
Building requirements...
Resolving dependencies...
✔ Success!
Uninstalling langchain-pinecone...
Found existing installation: langchain-pinecone 0.0.1
Uninstalling langchain-pinecone-0.0.1:
  Successfully uninstalled langchain-pinecone-0.0.1

(RAGTutorial) macbook RAGTutorial % pipenv run pip list | grep lang    
Courtesy Notice:
Pipenv found itself running within a virtual environment,  so it will automatically use that environment, instead of  creating its own for any project. You can set
PIPENV_IGNORE_VIRTUALENVS=1 to force pipenv to ignore that environment and create  its own instead.
You can set PIPENV_VERBOSITY=-1 to suppress this warning.
langchain                 1.0.0a14
langchain-classic         1.0.0a1
langchain-community       1.0.0a1
langchain-core            1.0.0a8
langchain-openai          1.0.0a4
langchain-text-splitters  1.0.0a1
langgraph                 1.0.0a4
langgraph-checkpoint      2.1.2
langgraph-prebuilt        0.7.0a2
langgraph-sdk             0.2.9
langsmith                 0.4.35rc1
(RAGTutorial) macbook RAGTutorial % pipenv install langchain-pinecone==0.2.12
Courtesy Notice:
Pipenv found itself running within a virtual environment,  so it will automatically use that environment, instead of  creating its own for any project. You can set
PIPENV_IGNORE_VIRTUALENVS=1 to force pipenv to ignore that environment and create  its own instead.
You can set PIPENV_VERBOSITY=-1 to suppress this warning.
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.
Installing langchain-pinecone==0.2.12...
✔ Installation Succeeded
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.
Installing dependencies from Pipfile.lock (9ac1da)...
All dependencies are now up-to-date!
Upgrading langchain-pinecone==0.2.12 in  dependencies.
Building requirements...
Resolving dependencies...
✔ Success!
Building requirements...
Resolving dependencies...
✘ Locking Failed!
⠸ Locking packages...CRITICAL:pipenv.patched.pip._internal.resolution.resolvelib.factory:Cannot install -r /var/folders/lp/91dx3qmn6yd4scshmzscx2_80000gn/T/pipenv-p2m0twya-requirements/pipenv-8zh81d91-constraints.txt (line 3), -r 
/var/folders/lp/91dx3qmn6yd4scshmzscx2_80000gn/T/pipenv-p2m0twya-requirements/pipenv-8zh81d91-constraints.txt (line 7) and langchain-core because these package versions have conflicting dependencies.
[ResolutionFailure]:   File "/opt/homebrew/Cellar/pipenv/2025.0.4/libexec/lib/python3.13/site-packages/pipenv/resolver.py", line 451, in main
[ResolutionFailure]:       _main(
[ResolutionFailure]:   File "/opt/homebrew/Cellar/pipenv/2025.0.4/libexec/lib/python3.13/site-packages/pipenv/resolver.py", line 436, in _main
[ResolutionFailure]:       resolve_packages(
[ResolutionFailure]:   File "/opt/homebrew/Cellar/pipenv/2025.0.4/libexec/lib/python3.13/site-packages/pipenv/resolver.py", line 400, in resolve_packages
[ResolutionFailure]:       results, resolver = resolve_deps(
[ResolutionFailure]:       ^^^^^^^^^^^^^
[ResolutionFailure]:   File "/opt/homebrew/Cellar/pipenv/2025.0.4/libexec/lib/python3.13/site-packages/pipenv/utils/resolver.py", line 1083, in resolve_deps
[ResolutionFailure]:       results, hashes, internal_resolver = actually_resolve_deps(
[ResolutionFailure]:       ^^^^^^^^^^^^^^^^^^^^^^
[ResolutionFailure]:   File "/opt/homebrew/Cellar/pipenv/2025.0.4/libexec/lib/python3.13/site-packages/pipenv/utils/resolver.py", line 811, in actually_resolve_deps
[ResolutionFailure]:       resolver.resolve()
[ResolutionFailure]:   File "/opt/homebrew/Cellar/pipenv/2025.0.4/libexec/lib/python3.13/site-packages/pipenv/utils/resolver.py", line 471, in resolve
[ResolutionFailure]:       raise ResolutionFailure(message=e)
Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
You can use $ pipenv run pip install <requirement_name> to bypass this mechanism, then run $ pipenv graph to inspect the versions actually installed in the virtualenv.
Hint: try $ pipenv lock --pre if it is a pre-release dependency.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
You can use $ pipenv run pip install <requirement_name> to bypass this mechanism, then run $ pipenv graph to inspect the versions actually installed in the virtualenv.
Hint: try $ pipenv lock --pre if it is a pre-release dependency.
ERROR: Failed to lock Pipfile.lock!
(RAGTutorial) macbook RAGTutorial % pipenv run pip list | grep lang          
Courtesy Notice:
Pipenv found itself running within a virtual environment,  so it will automatically use that environment, instead of  creating its own for any project. You can set
PIPENV_IGNORE_VIRTUALENVS=1 to force pipenv to ignore that environment and create  its own instead.
You can set PIPENV_VERBOSITY=-1 to suppress this warning.
langchain                 1.0.0a14
langchain-classic         1.0.0a1
langchain-community       1.0.0a1
langchain-core            1.0.0a8
langchain-openai          1.0.0a4
langchain-text-splitters  1.0.0a1
langgraph                 1.0.0a4
langgraph-checkpoint      2.1.2
langgraph-prebuilt        0.7.0a2
langgraph-sdk             0.2.9
langsmith                 0.4.35rc1

Yes. A newlangchain-pinecone release will likely be cut in the days/weeks following the official v1 release (which is next week) that supports 1.0.0. In the meantime, you have the option to install ignoring deps, but this is not recommended and will likely break.