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

pdm 2.20.0 #196216

Merged
merged 2 commits into from
Oct 31, 2024
Merged

pdm 2.20.0 #196216

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
34 changes: 17 additions & 17 deletions Formula/p/pdm.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@ class Pdm < Formula

desc "Modern Python package and dependency manager supporting the latest PEP standards"
homepage "https://pdm.fming.dev"
url "https://files.pythonhosted.org/packages/32/ff/a903a72a8a1272e5515a54824aee4449e0771613c972b80ee50ae3328401/pdm-2.19.3.tar.gz"
sha256 "a9cc7f2078cd3b25ac645ffb5eca9d6b3d5dfcd788eaddfb6083432da71c97c2"
url "https://files.pythonhosted.org/packages/bd/3a/8f614b05958aed55a7686ec0daa4f65dd10fe87962d3c8c01044d6fb1629/pdm-2.20.0.tar.gz"
sha256 "9b9b44af5f0e369a3166268adf1e2f83a831dfa98000e62e162f1444073fddcb"
license "MIT"
head "https://github.com/pdm-project/pdm.git", branch: "main"

bottle do
sha256 cellar: :any_skip_relocation, arm64_sequoia: "4b438d2e154300a82161bf7f1ae93e95c8b06bd0f7088ad7b4b6181e7de3d889"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "29150e9110e273dd6af47a08052c857e92051a7dc692a0afb1c4fe13fdb9b87d"
sha256 cellar: :any_skip_relocation, arm64_ventura: "125e93da0cd120f1964af20381500dc507383aefa5c06dfbfd6571d3d57334d4"
sha256 cellar: :any_skip_relocation, sonoma: "c1753d4ee1358ce2dddfb6d00b43c3ac86ee718951f7956e9f395ad5afb3c13d"
sha256 cellar: :any_skip_relocation, ventura: "4e6c5f6f0fe719b1f0cf8768f285cadac8412fe13b3710a2899522060ccebf15"
sha256 cellar: :any_skip_relocation, x86_64_linux: "d542a5491f805f79cdbad28eb9b131c552ea7a84fe9da1e69f52c9a76ec3c8ed"
sha256 cellar: :any_skip_relocation, arm64_sequoia: "9cada3752b58ab547e68ad56ffc91d28577d5c8decd33b52c028aa12cffbc608"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "39a5b6364452e7099e6ef915af4988dfac4bb5e0fd4b077cc32a3d6c48e6acfe"
sha256 cellar: :any_skip_relocation, arm64_ventura: "49219a40ed644505918c4f697274919acaedda36eef07f2d6ba7329dfbc54536"
sha256 cellar: :any_skip_relocation, sonoma: "ca2090fa1ceb575d9dd331baa919a55cfeb0f958d61723678d11ff07f63f37ed"
sha256 cellar: :any_skip_relocation, ventura: "3340f428e7fc999e4a89bc2baa1ce3117b6acaaa72aa40045cb6af711d13325e"
sha256 cellar: :any_skip_relocation, x86_64_linux: "58b532b38b543de59633064c26c5021490907485d9830171ae98534305dc57c9"
end

depends_on "certifi"
Expand Down Expand Up @@ -126,13 +126,13 @@ class Pdm < Formula
end

resource "resolvelib" do
url "https://files.pythonhosted.org/packages/ce/10/f699366ce577423cbc3df3280063099054c23df70856465080798c6ebad6/resolvelib-1.0.1.tar.gz"
sha256 "04ce76cbd63fded2078ce224785da6ecd42b9564b1390793f64ddecbe997b309"
url "https://files.pythonhosted.org/packages/79/e6/53dc936ddd11353967e5cb7361f537042914745fccfcaa3475505c9ac596/resolvelib-1.1.0.tar.gz"
sha256 "b68591ef748f58c1e2a2ac28d0961b3586ae8b25f60b0ba9a5e4f3d87c1d6a79"
end

resource "rich" do
url "https://files.pythonhosted.org/packages/aa/9e/1784d15b057b0075e5136445aaea92d23955aad2c93eaede673718a40d95/rich-13.9.2.tar.gz"
sha256 "51a2c62057461aaf7152b4d611168f93a9fc73068f8ded2790f29fe2b5366d0c"
url "https://files.pythonhosted.org/packages/d9/e9/cf9ef5245d835065e6673781dbd4b8911d352fb770d56cf0879cf11b7ee1/rich-13.9.3.tar.gz"
sha256 "bc1e01b899537598cf02579d2b9f4a415104d3fc439313a7a2c165d76557a08e"
end

resource "shellingham" do
Expand All @@ -156,8 +156,8 @@ class Pdm < Formula
end

resource "truststore" do
url "https://files.pythonhosted.org/packages/df/2e/0e21d4c77bc41c588d3d3c87b8f9b32b2338452718cb261d31cbe55eb4d5/truststore-0.9.2.tar.gz"
sha256 "a1dee0d0575ff22d2875476343783a5d64575419974e228f3248772613c3d993"
url "https://files.pythonhosted.org/packages/01/a8/cdcf418e067b8ae539012a3f1a51f90b30b26f5e1952a8f60304396babbc/truststore-0.10.0.tar.gz"
sha256 "5da347c665714fdfbd46f738c823fe9f0d8775e41ac5fb94f325749091187896"
end

resource "typing-extensions" do
Expand All @@ -171,8 +171,8 @@ class Pdm < Formula
end

resource "virtualenv" do
url "https://files.pythonhosted.org/packages/10/7f/192dd6ab6d91ebea7adf6c030eaf549b1ec0badda9f67a77b633602f66ac/virtualenv-20.27.0.tar.gz"
sha256 "2ca56a68ed615b8fe4326d11a0dca5dfbe8fd68510fb6c6349163bed3c15f2b2"
url "https://files.pythonhosted.org/packages/8c/b3/7b6a79c5c8cf6d90ea681310e169cf2db2884f4d583d16c6e1d5a75a4e04/virtualenv-20.27.1.tar.gz"
sha256 "142c6be10212543b32c6c45d3d3893dff89112cc588b7d0879ae5a1ec03a47ba"
end

def install
Expand All @@ -193,7 +193,7 @@ def install
build-backend = "pdm.backend"
TOML
system bin/"pdm", "add", "requests==2.31.0"
assert_match "dependencies = [\n \"requests==2.31.0\",\n]", (testpath/"pyproject.toml").read
assert_match "dependencies = [\"requests==2.31.0\"]", (testpath/"pyproject.toml").read
assert_predicate testpath/"pdm.lock", :exist?
assert_match "name = \"urllib3\"", (testpath/"pdm.lock").read
output = shell_output("#{bin}/pdm run python -c 'import requests;print(requests.__version__)'")
Expand Down
Loading