Skip to content

Added pyproject.toml to lock down dependency versions#189

Open
jasonmusespresso wants to merge 5 commits intofacebookresearch:mainfrom
jasonmusespresso:added-pyproject-file
Open

Added pyproject.toml to lock down dependency versions#189
jasonmusespresso wants to merge 5 commits intofacebookresearch:mainfrom
jasonmusespresso:added-pyproject-file

Conversation

@jasonmusespresso
Copy link

Summary

  • added pyproject.toml file for building the library, following PEP 518;
  • added poetry-based dependency management to lock down dependency versions for reproducibility;

Tests

  • build successfully at local;

Usage

# install [poetry](https://python-poetry.org/docs/) if not available 
# Linux, macOS, Windows (WSL)
curl -sSL https://install.python-poetry.org | python3 -

# install the dependencies
poetry install

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 14, 2023
@jasonmusespresso jasonmusespresso changed the title Added pyproject to lock down dependency versions Added pyproject.toml to lock down dependency versions Oct 14, 2023
@davidgarciaMontreal
Copy link

davidgarciaMontreal commented Nov 1, 2023

@jasonmusespresso , Not sure if you could also add the dependency versions for the app demo. As is it's currently broken after this version/pull request: gradio-app/gradio#5498

cndn pushed a commit that referenced this pull request Dec 7, 2023
* Enabling slurm option in streaming evaluation cli

* Follow up changes based on #188

* update readme and help menu

* Addressing comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants