Commit Graph

233 Commits (de5e96b5f95531d8a8f5d5e582b07ab774909647)

Author SHA1 Message Date
Erick Friis f87acf0340
infra: better conditional (#17197) 5 months ago
Erick Friis 4ae91733aa
infra: fix core release (#17195)
core doesn't have any min deps to test
5 months ago
Erick Friis f499a222de
infra: release min version debugging 2 (#17152) 5 months ago
Erick Friis deb02de051
infra: release min version debugging (#17150) 5 months ago
Erick Friis 9710346095
infra: poetry run min versions 2 (#17149) 5 months ago
Erick Friis 181a033226
infra: poetry run min versions (#17146)
<!-- Thank you for contributing to LangChain!

Please title your PR "<package>: <description>", where <package> is
whichever of langchain, community, core, experimental, etc. is being
modified.

Replace this entire comment with:
  - **Description:** a description of the change, 
  - **Issue:** the issue # it fixes if applicable,
  - **Dependencies:** any dependencies required for this change,
- **Twitter handle:** we announce bigger features on Twitter. If your PR
gets announced, and you'd like a mention, we'll gladly shout you out!

Please make sure your PR is passing linting and testing before
submitting. Run `make format`, `make lint` and `make test` from the root
of the package you've modified to check this locally.

See contribution guidelines for more information on how to write/run
tests, lint, etc: https://python.langchain.com/docs/contributing/

If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on
network access,
2. an example notebook showing its use. It lives in
`docs/docs/integrations` directory.

If no one reviews your PR within a few days, please @-mention one of
@baskaryan, @eyurtsev, @hwchase17.
 -->
5 months ago
Erick Friis 2187268208
infra: fix release (#17142) 5 months ago
Erick Friis 22b6a03a28
infra: read min versions (#17135) 5 months ago
Erick Friis 37062549f9
infra: update to cache v4 (#17126)
stop using nodejs 16. Use 20 (stop deprecation annotation on all ci)

Changelog: https://github.com/actions/cache?tab=readme-ov-file#whats-new
5 months ago
Erick Friis 3ccffa5dcc
infra: add integration deps to partner lint (#17122) 5 months ago
Erick Friis 6af912d7e0
infra: add pinecone secret (#17120) 5 months ago
Harrison Chase 4eda647fdd
infra: add -p to mkdir in lint steps (#17013)
Previously, if this did not find a mypy cache then it wouldnt run

this makes it always run

adding mypy ignore comments with existing uncaught issues to unblock other prs

---------

Co-authored-by: Erick Friis <erick@langchain.dev>
Co-authored-by: Bagatur <22008038+baskaryan@users.noreply.github.com>
5 months ago
Erick Friis 2b7e47a668
infra: install integration deps for test linting (#16963)
<!-- Thank you for contributing to LangChain!

Please title your PR "<package>: <description>", where <package> is
whichever of langchain, community, core, experimental, etc. is being
modified.

Replace this entire comment with:
  - **Description:** a description of the change, 
  - **Issue:** the issue # it fixes if applicable,
  - **Dependencies:** any dependencies required for this change,
- **Twitter handle:** we announce bigger features on Twitter. If your PR
gets announced, and you'd like a mention, we'll gladly shout you out!

Please make sure your PR is passing linting and testing before
submitting. Run `make format`, `make lint` and `make test` from the root
of the package you've modified to check this locally.

See contribution guidelines for more information on how to write/run
tests, lint, etc: https://python.langchain.com/docs/contributing/

If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on
network access,
2. an example notebook showing its use. It lives in
`docs/docs/integrations` directory.

If no one reviews your PR within a few days, please @-mention one of
@baskaryan, @eyurtsev, @hwchase17.
 -->
5 months ago
Erick Friis 13a6756067
infra: ci naming 2 (#16893) 5 months ago
Erick Friis 5b3fc86cfd
infra: ci naming (#16890)
Make it clearer how to run equivalent commands locally

Not a perfect 1:1, but will help people get started

![Screenshot 2024-02-01 at 10 53
34 AM](https://github.com/langchain-ai/langchain/assets/9557659/da271aaf-d5db-41e3-9379-cb1d8a0232c5)
5 months ago
Erick Friis 17e886388b
nomic: init pkg (#16853)
Co-authored-by: Lance Martin <lance@langchain.dev>
5 months ago
Erick Friis 36c0392dbe
infra: remove unnecessary tests on partner packages (#16808) 5 months ago
Erick Friis 0255c5808b
infra: move release workflow back (#16707) 5 months ago
Daniel Erenrich c314137f5b
docs: Fix broken link in CONTRIBUTING.md (#16681)
- **Description:** link in CONTRIBUTING.md is broken
  - **Issue:** N/A
  - **Dependencies:** N/A
  - **Twitter handle:** @derenrich
5 months ago
Bagatur 5975bf39ec
infra: delete old CI workflows (#16680) 5 months ago
Erick Friis adc008407e
exa: init pkg (#16553) 5 months ago
Eugene Yurtsev fe382fcf20
CI: more qa template changes (#16533)
More qa template changes
5 months ago
Eugene Yurtsev 06f66f25e1
CI: Update q-a template (#16532)
Update template for QA discussions
5 months ago
Eugene Yurtsev b1b351b37e
CI: more updates to feature request template (#16531)
More updates
5 months ago
Eugene Yurtsev 4fad71882e
CI: Fix ideas template (#16529)
Fix ideas template
5 months ago
Eugene Yurtsev 8d990ba67b
CI: more update to ideas template (#16524)
Update ideas template
5 months ago
Eugene Yurtsev 63da14d620
CI: redirect feature requests to ideas in discussions (#16522)
Redirect feature requests to ideas in discussions
5 months ago
Eugene Yurtsev dfd94fb2f0
CI: Update issue template (#16517)
More updates to the ISSUE template
5 months ago
Eugene Yurtsev cc2e30fa13
CI: update the description used for privileged issue template (#16277)
Update description
6 months ago
Eugene Yurtsev 3b649f4331
CI: Add privileged version for issue creation (#16276)
Add privileged version for issue creation.

This adds a version of issue creation which is unstructured by design to
make it easier for maintainers to create issues.

Maintainers are expected to write / describe issues clearly.
6 months ago
Eugene Yurtsev c0d453d8ac
CI: Disable blank issues, add links to QA discussions & show and tell (#16275)
Update the issue template
6 months ago
Erick Friis e5878c467a
infra: scheduled testing env (#16239) 6 months ago
Erick Friis 2f348c695a
infra: add nvidia api secret to integration testing (#15972) 6 months ago
Erick Friis 50959abf0c
infra: google cse id integration test (#16238) 6 months ago
Erick Friis 92bc80483a
infra: google search api key (#16237) 6 months ago
purificant 3606c5d5e9
infra: update poetry 1.6.1 -> 1.7.1 (#15027) 6 months ago
Erick Friis 6a2889a4ec
infra: retry release if not found on test pypi (#15913)
<!-- Thank you for contributing to LangChain!

Please title your PR "<package>: <description>", where <package> is
whichever of langchain, community, core, experimental, etc. is being
modified.

Replace this entire comment with:
  - **Description:** a description of the change, 
  - **Issue:** the issue # it fixes if applicable,
  - **Dependencies:** any dependencies required for this change,
- **Twitter handle:** we announce bigger features on Twitter. If your PR
gets announced, and you'd like a mention, we'll gladly shout you out!

Please make sure your PR is passing linting and testing before
submitting. Run `make format`, `make lint` and `make test` from the root
of the package you've modified to check this locally.

See contribution guidelines for more information on how to write/run
tests, lint, etc: https://python.langchain.com/docs/contributing/

If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on
network access,
2. an example notebook showing its use. It lives in
`docs/docs/integrations` directory.

If no one reviews your PR within a few days, please @-mention one of
@baskaryan, @eyurtsev, @hwchase17.
 -->
6 months ago
Eugene Yurtsev 45f49ca439
infra: fix issue preview (#15836)
Fixing the placeholder for the code example. GitHub collapses newlines
when
trying to use the text area, which is super confusing.
6 months ago
Eugene Yurtsev c425e6f740
More updates to issue template (#15833)
More update to issue template
6 months ago
Eugene Yurtsev 65980c22b8
Infra: Fix syntax error in BUG REPORT template (#15831)
Fix syntax error in issue template
6 months ago
Eugene Yurtsev e182d630f7
ISSUE_TEMPLATE: Update issue template (#15757)
Drop some fields, re-order, start directing folks towards QA.

---------

Co-authored-by: Erick Friis <erick@langchain.dev>
6 months ago
Bagatur 6432494f9d
infra: explicitly specify py path (#15826) 6 months ago
Eugene Yurtsev 7db680fd4b
CI: Fix template for questions (#15756)
CI: Workflow fix template for questions
6 months ago
Eugene Yurtsev ce68be67ad
Update template to direct questions to discussions rather than issues (#15721)
Update PR template to direct questions to discussions rather than issues
6 months ago
Erick Friis 98be1e5ed0
infra: title release action runs (#15612)
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#run-name
6 months ago
Erick Friis 1a42ad353a
infra: vertex integration test creds (#15609) 6 months ago
Erick Friis ebc75c5ca7
openai[minor]: implement langchain-openai package (#15503)
Todo

- [x] copy over integration tests
- [x] update docs with new instructions in #15513 
- [x] add linear ticket to bump core -> community, community->langchain,
and core->openai deps
- [ ] (optional): add `pip install langchain-openai` command to each
notebook using it
- [x] Update docstrings to not need `openai` install
- [x] Add serialization
- [x] deprecate old models

Contributor steps:

- [x] Add secret names to manual integrations workflow in
.github/workflows/_integration_test.yml
- [x] Add secrets to release workflow (for pre-release testing) in
.github/workflows/_release.yml

Maintainer steps (Contributors should not do these):

- [x] set up pypi and test pypi projects
- [x] add credential secrets to Github Actions
- [ ] add package to conda-forge


Functional changes to existing classes:

- now relies on openai client v1 (1.6.1) via concrete dep in
langchain-openai package

Codebase organization

- some function calling stuff moved to
`langchain_core.utils.function_calling` in order to be used in both
community and langchain-openai
6 months ago
Erick Friis 1437872df9
infra: fail check_diffs if too many files changed (#15423)
Jobs like
https://github.com/langchain-ai/langchain/actions/runs/7389187843/job/20101494206
only receive the first 300 changed files. Because of the opportunity to
miss packages, better to auto-fail and manually run.

Checking that it does what I expect in #15424
6 months ago
Bagatur 63e0cae2b1
infra: fix min deps test (#15486) 6 months ago
Bagatur 54b58c03db
infra: add minimum deps pre release check (#15485) 6 months ago