Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use PDM instead of pip-tools to manage venv #22349

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,8 @@
# Platform artifacts generated by `install_prereqs`
/gen/

# Local Python venv artifacts
/.pdm-python

# User-specified configuration
/user.bazelrc
2,464 changes: 2,464 additions & 0 deletions pdm.lock

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
[project]
name = "drake"
version = "1.36.0"
description = "Default template for PDM package"
authors = [
{name = "Drake Development Team", email = "drake-users@mit.edu"},
]
requires-python = ">=3.10"
readme = "README.md"
license = {text = "BSD-3-Clause"}
dependencies = [
"ipywidgets",
"matplotlib",
"notebook",
"Pillow",
"pydot",
"PyYAML",
]

[dependency-groups]
test = [
"flask",
"six",
"u-msgpack-python",
"websockets",
]

[tool.pdm]
distribution = false
3 changes: 0 additions & 3 deletions setup/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ exports_files([
"mac/source_distribution/Brewfile",
"mac/source_distribution/Brewfile-doc-only",
"mac/source_distribution/Brewfile-maintainer-only",
"mac/source_distribution/requirements.txt",
"mac/source_distribution/requirements-maintainer-only.txt",
"mac/source_distribution/requirements-test-only.txt",
"ubuntu/binary_distribution/packages-jammy.txt",
"ubuntu/source_distribution/packages-jammy.txt",
"ubuntu/source_distribution/packages-jammy-clang.txt",
Expand Down
21 changes: 0 additions & 21 deletions setup/mac/source_distribution/requirements-build.in

This file was deleted.

315 changes: 0 additions & 315 deletions setup/mac/source_distribution/requirements-build.txt

This file was deleted.

Loading