Skip to content

Conversation

@sergerdn
Copy link
Contributor

@sergerdn sergerdn commented Apr 3, 2023

This changes addresses two issues.

First, we add setuptools to the dev dependencies in order to debug tests locally with an IDE, especially with PyCharm. All dependencies dev dependencies should be installed with poetry install --extras "dev".

Second, we use PurePosixPath instead of Path for URL paths to fix issues with testing in Windows. This ensures that forward slashes are used as the path separator regardless of the operating system.

Closes #2334

sergerdn added 2 commits April 3, 2023 12:10
…ly with IDE

All dependencies should be installed with poetry install --extras "dev".
Use PurePosixPath instead of Path for URL paths
@sergerdn sergerdn changed the title Fix/tests on Windows fix: testing in Windows and add missing dev dependency Apr 3, 2023
@sergerdn sergerdn marked this pull request as ready for review April 3, 2023 13:31
Copy link
Contributor

@hwchase17 hwchase17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@hwchase17 hwchase17 merged commit 870cd33 into langchain-ai:master Apr 3, 2023
@sergerdn sergerdn deleted the fix/tests branch April 3, 2023 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unit tests were not executed properly locally on a Windows system

2 participants