-
-
Notifications
You must be signed in to change notification settings - Fork 13.2k
charmcraft 4.0.1 #249934
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
base: main
Are you sure you want to change the base?
charmcraft 4.0.1 #249934
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,8 +3,8 @@ | |
|
|
||
| desc "Tool to build charms and publish them on Charmhub" | ||
| homepage "https://charmhub.io" | ||
| url "https://files.pythonhosted.org/packages/48/e7/0528770d02d99ab1d840b69131fba020294e84da734e18fb8f41735fdc63/charmcraft-3.5.3.tar.gz" | ||
| sha256 "9e3e10af1cb707d3e054a79e328bffd42eb70721255b9e7715fcb66a8c87cf8f" | ||
| url "https://files.pythonhosted.org/packages/1f/87/affb45be165e3f5097aa3e2e7c4d7713ec2f83e639bd2250da828eed804f/charmcraft-4.0.1.tar.gz" | ||
| sha256 "6613c89edf7ea489d9db4093ba77668d47a804b9b31755a9930d5d31aab4a007" | ||
| license "Apache-2.0" | ||
|
|
||
| bottle do | ||
|
|
@@ -23,7 +23,7 @@ | |
| depends_on "libsodium" | ||
| depends_on "libyaml" | ||
| depends_on "pygit2" => :no_linkage | ||
| depends_on "python@3.14" | ||
| depends_on "python@3.13" # craft-cli not yet compatible with py3.14, https://github.com/canonical/craft-cli/issues/360 | ||
| depends_on "rpds-py" => :no_linkage | ||
|
|
||
| uses_from_macos "libxml2", since: :ventura | ||
|
|
@@ -50,13 +50,13 @@ | |
| end | ||
|
|
||
| resource "charset-normalizer" do | ||
| url "https://files.pythonhosted.org/packages/83/2d/5fd176ceb9b2fc619e63405525573493ca23441330fcdaee6bef9460e924/charset_normalizer-3.4.3.tar.gz" | ||
| sha256 "6fce4b8500244f6fcb71465d4a4930d132ba9ab8e71a7859e6a5d59851068d14" | ||
| url "https://files.pythonhosted.org/packages/13/69/33ddede1939fdd074bce5434295f38fae7136463422fe4fd3e0e89b98062/charset_normalizer-3.4.4.tar.gz" | ||
| sha256 "94537985111c35f28720e43603b8e7b43a6ecfb2ce1d3058bbe955b73404e21a" | ||
| end | ||
|
|
||
| resource "craft-application" do | ||
| url "https://files.pythonhosted.org/packages/86/86/20bac2f1a4e45097c01040328ff8ffd5313533d03231db08435559c684c3/craft_application-4.10.0.tar.gz" | ||
| sha256 "7a9cda0e854877fb80464e03274e69b97540a618e0c53cbc500b6fce25b9b8c4" | ||
| url "https://files.pythonhosted.org/packages/36/6b/ad381b017a0715432791ddea24245cc6b3a5eba0c472890a794ac7918321/craft_application-5.11.0.tar.gz" | ||
| sha256 "4435f5db3e4313acd3c0d03f029f13ce73f4ae2eff0e2f94e0d4301742372479" | ||
| end | ||
|
|
||
| resource "craft-archives" do | ||
|
|
@@ -99,6 +99,11 @@ | |
| sha256 "2fa77c6fd8940f116ee1d6b94a2f90b13b5ea8d019b98bc8bafdcabcdd9bdbed" | ||
| end | ||
|
|
||
| resource "distro-support" do | ||
| url "https://files.pythonhosted.org/packages/90/c8/40cf2bdb5647c0ccad40a02edde6966d03a3258c550d92a2030427867029/distro_support-2025.8.13.tar.gz" | ||
| sha256 "12a73039db0a04e4b987789598f05c554adb3b2ec8e97bc28f40a125dc82d982" | ||
| end | ||
|
|
||
| resource "docker" do | ||
| url "https://files.pythonhosted.org/packages/91/9b/4a2ea29aeba62471211598dac5d96825bb49348fa07e906ea930394a83ce/docker-7.1.0.tar.gz" | ||
| sha256 "ad8c70e6e3f8926cb8a92619b832b4ea5299e2831c14284663184e200546fa6c" | ||
|
|
@@ -125,8 +130,8 @@ | |
| end | ||
|
|
||
| resource "humanize" do | ||
| url "https://files.pythonhosted.org/packages/98/1d/3062fcc89ee05a715c0b9bfe6490c00c576314f27ffee3a704122c6fd259/humanize-4.13.0.tar.gz" | ||
| sha256 "78f79e68f76f0b04d711c4e55d32bebef5be387148862cb1ef83d2b58e7935a0" | ||
| url "https://files.pythonhosted.org/packages/b6/43/50033d25ad96a7f3845f40999b4778f753c3901a11808a584fed7c00d9f5/humanize-4.14.0.tar.gz" | ||
| sha256 "2fa092705ea640d605c435b1ca82b2866a1b601cdf96f076d70b79a855eba90d" | ||
| end | ||
|
|
||
| resource "idna" do | ||
|
|
@@ -235,18 +240,18 @@ | |
| end | ||
|
|
||
| resource "protobuf" do | ||
| url "https://files.pythonhosted.org/packages/fa/a4/cc17347aa2897568beece2e674674359f911d6fe21b0b8d6268cd42727ac/protobuf-6.32.1.tar.gz" | ||
| sha256 "ee2469e4a021474ab9baafea6cd070e5bf27c7d29433504ddea1a4ee5850f68d" | ||
| url "https://files.pythonhosted.org/packages/19/ff/64a6c8f420818bb873713988ca5492cba3a7946be57e027ac63495157d97/protobuf-6.33.0.tar.gz" | ||
| sha256 "140303d5c8d2037730c548f8c7b93b20bb1dc301be280c378b82b8894589c954" | ||
| end | ||
|
|
||
| resource "pydantic" do | ||
| url "https://files.pythonhosted.org/packages/3c/a7/d0d7b3c128948ece6676a6a21b9036e3ca53765d35052dbcc8c303886a44/pydantic-2.12.1.tar.gz" | ||
| sha256 "0af849d00e1879199babd468ec9db13b956f6608e9250500c1a9d69b6a62824e" | ||
| url "https://files.pythonhosted.org/packages/8d/35/d319ed522433215526689bad428a94058b6dd12190ce7ddd78618ac14b28/pydantic-2.12.2.tar.gz" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Likewise it would be preferable to keep these external dependencies in sync with the uv.lock file in the main repo |
||
| sha256 "7b8fa15b831a4bbde9d5b84028641ac3080a4ca2cbd4a621a661687e741624fd" | ||
| end | ||
|
|
||
| resource "pydantic-core" do | ||
| url "https://files.pythonhosted.org/packages/00/e9/3916abb671bffb00845408c604ff03480dc8dc273310d8268547a37be0fb/pydantic_core-2.41.3.tar.gz" | ||
| sha256 "cdebb34b36ad05e8d77b4e797ad38a2a775c2a07a8fa386d4f6943b7778dcd39" | ||
| url "https://files.pythonhosted.org/packages/df/18/d0944e8eaaa3efd0a91b0f1fc537d3be55ad35091b6a87638211ba691964/pydantic_core-2.41.4.tar.gz" | ||
| sha256 "70e47929a9d4a1905a67e4b687d5946026390568a8e952b92824118063cee4d5" | ||
| end | ||
|
|
||
| resource "pylxd" do | ||
|
|
@@ -388,7 +393,7 @@ | |
| virtualenv_install_with_resources | ||
| end | ||
|
|
||
| test do | ||
|
Check failure on line 396 in Formula/c/charmcraft.rb
|
||
| system bin/"charmcraft", "version" | ||
| system bin/"charmcraft", "help" | ||
| system bin/"charmcraft", "init", "--author", "Foo Bar", "-p", testpath/"charm" | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Honestly it's probably for the best if you keep this in sync with the snap, since that's where charmcraft is most widely tested. That would mean Python 3.12 until we upgrade the snap to the core26 base sometime next year (at which point it would be 3.14).