Compare commits
No commits in common. "rawhide" and "f39" have entirely different histories.
14 changed files with 679 additions and 708 deletions
|
|
@ -1 +0,0 @@
|
|||
1
|
||||
43
.gitignore
vendored
43
.gitignore
vendored
|
|
@ -1 +1,42 @@
|
|||
/uv-*.tar.gz
|
||||
/pubgrub-3f0ba760951ab0deeac874b98bb18fc90103fcf7.tar.gz
|
||||
/reqwest-middleware-21ceec9a5fd2e8d6f71c3ea2999078fecbd13cbe.tar.gz
|
||||
/rs-async-zip-011b24604fa7bc223daaad7712c0694bac8f0a87.tar.gz
|
||||
/uv-0.2.32.tar.gz
|
||||
/uv-0.2.33.tar.gz
|
||||
/pubgrub-2fac39371a47e7cb821e510aaa4de25405413d29.tar.gz
|
||||
/uv-0.2.34.tar.gz
|
||||
/uv-0.2.35.tar.gz
|
||||
/uv-0.2.37-filtered.tar.zst
|
||||
/uv-0.3.0-filtered.tar.zst
|
||||
/pubgrub-aaef464c1b0d8eea4ff9ffaee4f3458c236d10da.tar.gz
|
||||
/reqwest-middleware-5e3eaf254b5bd481c75d2710eed055f95b756913.tar.gz
|
||||
/uv-0.3.2-filtered.tar.zst
|
||||
/uv-0.3.3-filtered.tar.zst
|
||||
/pubgrub-388685a8711092971930986644cfed152d1a1f6c.tar.gz
|
||||
/uv-0.3.4-filtered.tar.zst
|
||||
/tl-6e25b2ee2513d75385101a8ff9f591ef51f314ec.tar.gz
|
||||
/uv-0.3.5-filtered.tar.zst
|
||||
/uv-0.4.0-filtered.tar.zst
|
||||
/uv-0.4.1-filtered.tar.zst
|
||||
/uv-0.4.2-filtered.tar.zst
|
||||
/uv-0.4.4-filtered.tar.zst
|
||||
/uv-0.4.5-filtered.tar.zst
|
||||
/uv-0.4.6-filtered.tar.zst
|
||||
/uv-0.4.7-filtered.tar.zst
|
||||
/uv-0.4.8-filtered.tar.zst
|
||||
/uv-0.4.9-filtered.tar.zst
|
||||
/uv-0.4.10-filtered.tar.zst
|
||||
/uv-0.4.15.tar.gz
|
||||
/uv-0.4.16.tar.gz
|
||||
/uv-0.4.17.tar.gz
|
||||
/uv-0.4.18.tar.gz
|
||||
/uv-0.4.19.tar.gz
|
||||
/uv-0.4.20.tar.gz
|
||||
/uv-0.4.21.tar.gz
|
||||
/uv-0.4.22.tar.gz
|
||||
/uv-0.4.23.tar.gz
|
||||
/pubgrub-19c77268c0ad5f69d7e12126e0cfacfbba466481.tar.gz
|
||||
/uv-0.4.24.tar.gz
|
||||
/uv-0.4.25.tar.gz
|
||||
/pubgrub-7243f4faf8e54837aa8a401a18406e7173de4ad5.tar.gz
|
||||
/reqwest-middleware-d95ec5a99fcc9a4339e1850d40378bbfe55ab121.tar.gz
|
||||
|
|
|
|||
|
|
@ -0,0 +1,74 @@
|
|||
From 5d6213d176b7bff48a97aeaa5d574d701640d89a Mon Sep 17 00:00:00 2001
|
||||
From: "Benjamin A. Beasley" <code@musicinmybrain.net>
|
||||
Date: Thu, 23 May 2024 14:45:49 -0400
|
||||
Subject: [PATCH] Downstream-only: Revert "feat: ensure successful round-trip
|
||||
of RON (#193)"
|
||||
|
||||
This reverts commit 21c6a215432fea9a75b7d15d9a9936af9ccc17cb.
|
||||
|
||||
We will not be packaging an alpha version of rust-ron.
|
||||
---
|
||||
Cargo.lock | 5 ++---
|
||||
Cargo.toml | 2 +-
|
||||
src/range.rs | 10 ----------
|
||||
3 files changed, 3 insertions(+), 14 deletions(-)
|
||||
|
||||
diff --git a/Cargo.lock b/Cargo.lock
|
||||
index 1e62d22..7b8904d 100644
|
||||
--- a/Cargo.lock
|
||||
+++ b/Cargo.lock
|
||||
@@ -686,15 +686,14 @@ checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f"
|
||||
|
||||
[[package]]
|
||||
name = "ron"
|
||||
-version = "0.9.0-alpha.0"
|
||||
+version = "0.8.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
-checksum = "6c0bd893640cac34097a74f0c2389ddd54c62d6a3c635fa93cafe6b6bc19be6a"
|
||||
+checksum = "b91f7eff05f748767f183df4320a63d6936e9c6107d97c9e6bdd9784f4289c94"
|
||||
dependencies = [
|
||||
"base64",
|
||||
"bitflags",
|
||||
"serde",
|
||||
"serde_derive",
|
||||
- "unicode-ident",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
diff --git a/Cargo.toml b/Cargo.toml
|
||||
index b8c1db4..236b01c 100644
|
||||
--- a/Cargo.toml
|
||||
+++ b/Cargo.toml
|
||||
@@ -29,7 +29,7 @@ log = "0.4.22" # for debug logs in tests
|
||||
|
||||
[dev-dependencies]
|
||||
proptest = "1.5.0"
|
||||
-ron = "=0.9.0-alpha.0"
|
||||
+ron = "0.8.1"
|
||||
varisat = "0.2.2"
|
||||
criterion = "0.5"
|
||||
env_logger = "0.11.5"
|
||||
diff --git a/src/range.rs b/src/range.rs
|
||||
index cfd7de9..d9eddbf 100644
|
||||
--- a/src/range.rs
|
||||
+++ b/src/range.rs
|
||||
@@ -1021,16 +1021,6 @@ pub mod tests {
|
||||
|
||||
proptest! {
|
||||
|
||||
- // Testing serde ----------------------------------
|
||||
-
|
||||
- #[cfg(feature = "serde")]
|
||||
- #[test]
|
||||
- fn serde_round_trip(range in strategy()) {
|
||||
- let s = ron::ser::to_string(&range).unwrap();
|
||||
- let r = ron::de::from_str(&s).unwrap();
|
||||
- assert_eq!(range, r);
|
||||
- }
|
||||
-
|
||||
// Testing negate ----------------------------------
|
||||
|
||||
#[test]
|
||||
--
|
||||
2.46.0
|
||||
|
||||
|
|
@ -0,0 +1,37 @@
|
|||
From 9a02d2e62373c192e53ec7ab0652d8a8d719cf5d Mon Sep 17 00:00:00 2001
|
||||
From: "Benjamin A. Beasley" <code@musicinmybrain.net>
|
||||
Date: Wed, 24 Apr 2024 13:03:09 -0400
|
||||
Subject: [PATCH] Downstream-only: do not attempt to run doctests from
|
||||
README.md
|
||||
|
||||
These would introduce a circular dependency on the reqwests-retry crate.
|
||||
Omitting the README tests avoids a bootstrapping loop between the two
|
||||
packages.
|
||||
|
||||
Note that if we *did* run these tests, we would need to adjust the path
|
||||
from ../../README.md to ../README.md to match the published crate.
|
||||
---
|
||||
src/lib.rs | 7 -------
|
||||
1 file changed, 7 deletions(-)
|
||||
|
||||
diff --git a/src/lib.rs b/src/lib.rs
|
||||
index 1b21173..33c5834 100644
|
||||
--- a/src/lib.rs
|
||||
+++ b/src/lib.rs
|
||||
@@ -42,13 +42,6 @@
|
||||
//! [`ClientWithMiddleware`]: ClientWithMiddleware
|
||||
//! [`with`]: ClientBuilder::with
|
||||
|
||||
-// Test README examples without overriding module docs.
|
||||
-// We want to keep the in-code docs separate as those allow for automatic linking to crate
|
||||
-// documentation.
|
||||
-#[doc = include_str!("../../README.md")]
|
||||
-#[cfg(doctest)]
|
||||
-pub struct ReadmeDoctests;
|
||||
-
|
||||
mod client;
|
||||
mod error;
|
||||
mod middleware;
|
||||
--
|
||||
2.44.0
|
||||
|
||||
|
|
@ -0,0 +1,48 @@
|
|||
From 0a45f8027ae10006b2425f9047910dfe93817ca0 Mon Sep 17 00:00:00 2001
|
||||
From: "Benjamin A. Beasley" <code@musicinmybrain.net>
|
||||
Date: Thu, 10 Oct 2024 07:03:45 -0400
|
||||
Subject: [PATCH] Downstream-only: do not override the default allocator
|
||||
|
||||
In https://github.com/astral-sh/uv/pull/399, it was reasonably claimed
|
||||
that using tikv-jemallocator improved benchmarks by 10%, so it may be
|
||||
worth packaging it and dropping this patch.
|
||||
---
|
||||
crates/uv-performance-memory-allocator/Cargo.toml | 3 ---
|
||||
crates/uv-performance-memory-allocator/src/lib.rs | 13 -------------
|
||||
2 files changed, 16 deletions(-)
|
||||
|
||||
diff --git a/crates/uv-performance-memory-allocator/Cargo.toml b/crates/uv-performance-memory-allocator/Cargo.toml
|
||||
index 50d2a149..6db2e207 100644
|
||||
--- a/crates/uv-performance-memory-allocator/Cargo.toml
|
||||
+++ b/crates/uv-performance-memory-allocator/Cargo.toml
|
||||
@@ -7,6 +7,3 @@ publish = false
|
||||
|
||||
[target.'cfg(all(target_os = "windows"))'.dependencies]
|
||||
mimalloc = { version = "0.1.43" }
|
||||
-
|
||||
-[target.'cfg(all(not(target_os = "windows"), not(target_os = "openbsd"), not(target_os = "freebsd"), any(target_arch = "x86_64", target_arch = "aarch64", target_arch = "powerpc64")))'.dependencies]
|
||||
-tikv-jemallocator = { version = "0.6.0" }
|
||||
diff --git a/crates/uv-performance-memory-allocator/src/lib.rs b/crates/uv-performance-memory-allocator/src/lib.rs
|
||||
index 03ec650b..e86a9553 100644
|
||||
--- a/crates/uv-performance-memory-allocator/src/lib.rs
|
||||
+++ b/crates/uv-performance-memory-allocator/src/lib.rs
|
||||
@@ -4,16 +4,3 @@
|
||||
#[cfg(target_os = "windows")]
|
||||
#[global_allocator]
|
||||
static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;
|
||||
-
|
||||
-#[cfg(all(
|
||||
- not(target_os = "windows"),
|
||||
- not(target_os = "openbsd"),
|
||||
- not(target_os = "freebsd"),
|
||||
- any(
|
||||
- target_arch = "x86_64",
|
||||
- target_arch = "aarch64",
|
||||
- target_arch = "powerpc64"
|
||||
- )
|
||||
-))]
|
||||
-#[global_allocator]
|
||||
-static GLOBAL: tikv_jemallocator::Jemalloc = tikv_jemallocator::Jemalloc;
|
||||
--
|
||||
2.47.0
|
||||
|
||||
|
|
@ -0,0 +1,32 @@
|
|||
From 37a0f05299f8c5668d68edb80750bc33a0fdfed4 Mon Sep 17 00:00:00 2001
|
||||
From: "Benjamin A. Beasley" <code@musicinmybrain.net>
|
||||
Date: Thu, 10 Oct 2024 09:56:50 -0400
|
||||
Subject: [PATCH] Downstream-only: use the zlib-ng backend for flate2 on all
|
||||
architectures
|
||||
|
||||
Upstream excludes s390x and ppc64le because there are issues with the
|
||||
build system for the bundled zlib-ng in the libz-ng-sys crate on those
|
||||
platforms, but we have no such issues because we always link the system
|
||||
zlib-ng, which works fine on these architectures.
|
||||
---
|
||||
crates/uv-performance-flate2-backend/Cargo.toml | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/crates/uv-performance-flate2-backend/Cargo.toml b/crates/uv-performance-flate2-backend/Cargo.toml
|
||||
index 5a7e27449..684c0cdb4 100644
|
||||
--- a/crates/uv-performance-flate2-backend/Cargo.toml
|
||||
+++ b/crates/uv-performance-flate2-backend/Cargo.toml
|
||||
@@ -6,8 +6,8 @@ publish = false
|
||||
[lib]
|
||||
doctest = false
|
||||
|
||||
-[target.'cfg(not(any(target_arch = "s390x", target_arch = "powerpc64", target_os = "freebsd")))'.dependencies]
|
||||
+[target.'cfg(not(any(target_os = "freebsd")))'.dependencies]
|
||||
flate2 = { version = "1.0.28", default-features = false, features = ["zlib-ng"] }
|
||||
|
||||
-[target.'cfg(any(target_arch = "s390x", target_arch = "powerpc64", target_os = "freebsd"))'.dependencies]
|
||||
+[target.'cfg(any(target_os = "freebsd"))'.dependencies]
|
||||
flate2 = { version = "1.0.28", default-features = false, features = ["rust_backend"] }
|
||||
--
|
||||
2.47.0
|
||||
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From 831cf2937a4b8b781d56d5fa18916d2bc42b244d Mon Sep 17 00:00:00 2001
|
||||
From 2efee35e5ca4248cfd5da36ff459292fc463a7ee Mon Sep 17 00:00:00 2001
|
||||
From: "Benjamin A. Beasley" <code@musicinmybrain.net>
|
||||
Date: Sun, 23 Jun 2024 16:29:05 -0400
|
||||
Subject: [PATCH] Downstream patch: always find the system-wide uv executable
|
||||
|
|
@ -9,16 +9,16 @@ Content-Transfer-Encoding: 8bit
|
|||
“Should uv.find_uv_bin() be able to find /usr/bin/uv?”
|
||||
https://github.com/astral-sh/uv/issues/4451
|
||||
---
|
||||
python/uv/_find_uv.py | 8 ++++++++
|
||||
1 file changed, 8 insertions(+)
|
||||
python/uv/_find_uv.py | 10 ++++++++++
|
||||
1 file changed, 10 insertions(+)
|
||||
|
||||
diff --git a/python/uv/_find_uv.py b/python/uv/_find_uv.py
|
||||
index ebe6b8d5a..e25a2e28c 100644
|
||||
index 00b7d887..f4ff5b7f 100644
|
||||
--- a/python/uv/_find_uv.py
|
||||
+++ b/python/uv/_find_uv.py
|
||||
@@ -35,6 +35,14 @@ def find_uv_bin() -> str:
|
||||
sysconfig.get_path("scripts", scheme=_user_scheme()),
|
||||
]
|
||||
@@ -10,6 +10,16 @@ def find_uv_bin() -> str:
|
||||
|
||||
uv_exe = "uv" + sysconfig.get_config_var("EXE")
|
||||
|
||||
+ # Downstream patch: always find the system-wide uv executable
|
||||
+ #
|
||||
|
|
@ -26,11 +26,13 @@ index ebe6b8d5a..e25a2e28c 100644
|
|||
+ # https://github.com/astral-sh/uv/issues/4451
|
||||
+ bindir_path = sysconfig.get_config_var("BINDIR")
|
||||
+ if bindir_path is not None:
|
||||
+ targets.insert(0, os.path.join(bindir_path, uv_exe))
|
||||
+ path = os.path.join(bindir_path, uv_exe)
|
||||
+ if os.path.isfile(path):
|
||||
+ return path
|
||||
+
|
||||
seen = []
|
||||
for target in targets:
|
||||
if not target:
|
||||
path = os.path.join(sysconfig.get_path("scripts"), uv_exe)
|
||||
if os.path.isfile(path):
|
||||
return path
|
||||
--
|
||||
2.53.0
|
||||
2.46.0
|
||||
|
||||
|
|
|
|||
170
20174.patch
170
20174.patch
|
|
@ -1,170 +0,0 @@
|
|||
From c77c2abf16c13b3ef26fae52b6bec97a7abad65b Mon Sep 17 00:00:00 2001
|
||||
From: "Benjamin A. Beasley" <code@musicinmybrain.net>
|
||||
Date: Tue, 7 Jul 2026 06:57:19 +0100
|
||||
Subject: [PATCH 1/4] Add BSD-3-Clause LICENSE file to ecosystem/jupyterlab
|
||||
|
||||
https://github.com/jupyterlab/jupyterlab/raw/refs/tags/v4.6.1/LICENSE
|
||||
---
|
||||
test/ecosystem/jupyterlab/LICENSE | 27 +++++++++++++++++++++++++++
|
||||
1 file changed, 27 insertions(+)
|
||||
create mode 100644 test/ecosystem/jupyterlab/LICENSE
|
||||
|
||||
diff --git a/test/ecosystem/jupyterlab/LICENSE b/test/ecosystem/jupyterlab/LICENSE
|
||||
new file mode 100644
|
||||
index 0000000000000..c73604f78a1f6
|
||||
--- /dev/null
|
||||
+++ b/test/ecosystem/jupyterlab/LICENSE
|
||||
@@ -0,0 +1,27 @@
|
||||
+Copyright (c) 2015-2025 Project Jupyter Contributors
|
||||
+All rights reserved.
|
||||
+
|
||||
+Redistribution and use in source and binary forms, with or without
|
||||
+modification, are permitted provided that the following conditions are met:
|
||||
+
|
||||
+1. Redistributions of source code must retain the above copyright notice, this
|
||||
+ list of conditions and the following disclaimer.
|
||||
+
|
||||
+2. Redistributions in binary form must reproduce the above copyright notice,
|
||||
+ this list of conditions and the following disclaimer in the documentation
|
||||
+ and/or other materials provided with the distribution.
|
||||
+
|
||||
+3. Neither the name of the copyright holder nor the names of its
|
||||
+ contributors may be used to endorse or promote products derived from
|
||||
+ this software without specific prior written permission.
|
||||
+
|
||||
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
||||
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
From 0561c227905e972b0d415b0170053ce6ec278184 Mon Sep 17 00:00:00 2001
|
||||
From: "Benjamin A. Beasley" <code@musicinmybrain.net>
|
||||
Date: Tue, 7 Jul 2026 06:58:21 +0100
|
||||
Subject: [PATCH 2/4] Add BSD-3-Clause LICENSE file to ecosystem/pandas
|
||||
|
||||
https://github.com/pandas-dev/pandas/raw/refs/tags/v3.0.4/LICENSE
|
||||
---
|
||||
test/ecosystem/pandas/LICENSE | 31 +++++++++++++++++++++++++++++++
|
||||
1 file changed, 31 insertions(+)
|
||||
create mode 100644 test/ecosystem/pandas/LICENSE
|
||||
|
||||
diff --git a/test/ecosystem/pandas/LICENSE b/test/ecosystem/pandas/LICENSE
|
||||
new file mode 100644
|
||||
index 0000000000000..bd1cc2a30c626
|
||||
--- /dev/null
|
||||
+++ b/test/ecosystem/pandas/LICENSE
|
||||
@@ -0,0 +1,31 @@
|
||||
+BSD 3-Clause License
|
||||
+
|
||||
+Copyright (c) 2008-2011, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
|
||||
+All rights reserved.
|
||||
+
|
||||
+Copyright (c) 2011-2026, Open source contributors.
|
||||
+
|
||||
+Redistribution and use in source and binary forms, with or without
|
||||
+modification, are permitted provided that the following conditions are met:
|
||||
+
|
||||
+* Redistributions of source code must retain the above copyright notice, this
|
||||
+ list of conditions and the following disclaimer.
|
||||
+
|
||||
+* Redistributions in binary form must reproduce the above copyright notice,
|
||||
+ this list of conditions and the following disclaimer in the documentation
|
||||
+ and/or other materials provided with the distribution.
|
||||
+
|
||||
+* Neither the name of the copyright holder nor the names of its
|
||||
+ contributors may be used to endorse or promote products derived from
|
||||
+ this software without specific prior written permission.
|
||||
+
|
||||
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
||||
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
From d21662e1800682b4058dac8bb39079620eb21400 Mon Sep 17 00:00:00 2001
|
||||
From: "Benjamin A. Beasley" <code@musicinmybrain.net>
|
||||
Date: Tue, 7 Jul 2026 06:59:25 +0100
|
||||
Subject: [PATCH 3/4] Add MIT LICENSE file to ecosystem/poetry
|
||||
|
||||
https://github.com/python-poetry/poetry/raw/refs/tags/2.4.1/LICENSE
|
||||
---
|
||||
test/ecosystem/poetry/LICENSE | 20 ++++++++++++++++++++
|
||||
1 file changed, 20 insertions(+)
|
||||
create mode 100644 test/ecosystem/poetry/LICENSE
|
||||
|
||||
diff --git a/test/ecosystem/poetry/LICENSE b/test/ecosystem/poetry/LICENSE
|
||||
new file mode 100644
|
||||
index 0000000000000..81a8e1e473986
|
||||
--- /dev/null
|
||||
+++ b/test/ecosystem/poetry/LICENSE
|
||||
@@ -0,0 +1,20 @@
|
||||
+Copyright (c) 2018-present Sébastien Eustace
|
||||
+
|
||||
+Permission is hereby granted, free of charge, to any person obtaining
|
||||
+a copy of this software and associated documentation files (the
|
||||
+"Software"), to deal in the Software without restriction, including
|
||||
+without limitation the rights to use, copy, modify, merge, publish,
|
||||
+distribute, sublicense, and/or sell copies of the Software, and to
|
||||
+permit persons to whom the Software is furnished to do so, subject to
|
||||
+the following conditions:
|
||||
+
|
||||
+The above copyright notice and this permission notice shall be
|
||||
+included in all copies or substantial portions of the Software.
|
||||
+
|
||||
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
From 708d1e5dfaaaee539308d60dbbfc0faa186885fd Mon Sep 17 00:00:00 2001
|
||||
From: "Benjamin A. Beasley" <code@musicinmybrain.net>
|
||||
Date: Tue, 7 Jul 2026 07:06:54 +0100
|
||||
Subject: [PATCH 4/4] Add MIT LICENSE file to ecosystem/semantic-kernel
|
||||
|
||||
https://github.com/microsoft/semantic-kernel/raw/refs/tags/python-1.43.1/python/LICENSE
|
||||
---
|
||||
test/ecosystem/semantic-kernel/LICENSE | 21 +++++++++++++++++++++
|
||||
1 file changed, 21 insertions(+)
|
||||
create mode 100644 test/ecosystem/semantic-kernel/LICENSE
|
||||
|
||||
diff --git a/test/ecosystem/semantic-kernel/LICENSE b/test/ecosystem/semantic-kernel/LICENSE
|
||||
new file mode 100644
|
||||
index 0000000000000..9e841e7a26e4e
|
||||
--- /dev/null
|
||||
+++ b/test/ecosystem/semantic-kernel/LICENSE
|
||||
@@ -0,0 +1,21 @@
|
||||
+ MIT License
|
||||
+
|
||||
+ Copyright (c) Microsoft Corporation.
|
||||
+
|
||||
+ Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
+ of this software and associated documentation files (the "Software"), to deal
|
||||
+ in the Software without restriction, including without limitation the rights
|
||||
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
+ copies of the Software, and to permit persons to whom the Software is
|
||||
+ furnished to do so, subject to the following conditions:
|
||||
+
|
||||
+ The above copyright notice and this permission notice shall be included in all
|
||||
+ copies or substantial portions of the Software.
|
||||
+
|
||||
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
+ SOFTWARE
|
||||
51
plan.fmf
51
plan.fmf
|
|
@ -1,51 +0,0 @@
|
|||
discover:
|
||||
how: shell
|
||||
tests:
|
||||
- name: Basic smoke test
|
||||
test: uv --help
|
||||
require:
|
||||
- uv
|
||||
- name: Basic venv creation test
|
||||
test: uv venv venv --python=python3
|
||||
require:
|
||||
- uv
|
||||
- /usr/bin/python3
|
||||
- name: Auto-install of third-party interpreters is not enabled
|
||||
test: |
|
||||
# Choose an interpreter version that uv can download, but which is
|
||||
# not the default system Python. A relatively safe way to do this is
|
||||
# to simply find the oldest available version:
|
||||
oldest_python="$(
|
||||
uv python list --only-downloads --output-format=json |
|
||||
jq --raw-output '.[].version' |
|
||||
sort --version-sort |
|
||||
head --lines=1
|
||||
)"
|
||||
if output="$(uv venv "venv-${oldest_python}" --python="${oldest_python}" 2>&1)"
|
||||
then
|
||||
echo "FAILURE: Python ${oldest_python} was automatically installed!"
|
||||
else
|
||||
# An old interpreter version may fail to run even after
|
||||
# auto-installation, e.g. at the time this was written, 3.7.9
|
||||
# failed with:
|
||||
# error while loading shared libraries: libnsl.so.1: cannot open
|
||||
# shared object file: No such file or directory
|
||||
# We use a heuristic to distinguish between expected and unexpected
|
||||
# kinds of failures. We want something like:
|
||||
# No interpreter found for Python 3.7.9 in managed installations
|
||||
# or search path
|
||||
if echo "${output}" | grep -Fi 'no interpreter' >/dev/null
|
||||
then
|
||||
echo "SUCCESS: Python ${oldest_python} was not automatically installed."
|
||||
exit 0
|
||||
fi
|
||||
echo "FAILURE: Python ${oldest_python} MAY have been automatically installed!"
|
||||
fi
|
||||
echo 'Output of uv venv was:'
|
||||
echo "${output}"
|
||||
exit 1
|
||||
require:
|
||||
- uv
|
||||
- jq
|
||||
execute:
|
||||
how: tmt
|
||||
6
sources
6
sources
|
|
@ -1 +1,5 @@
|
|||
SHA512 (uv-0.12.3.tar.gz) = a4933b9b9b852dee2485800ad82ee3be111a4a5a437ab32d5064cfd4004e124ba733294a546a097379c74cf1fc234d1da0488aec7725037c7b967ec1aa862a71
|
||||
SHA512 (uv-0.4.25.tar.gz) = c278d60ee09031e11c53e5862025a4e546c67a00ffa01da744658ca02a53507cd8f9fe9f0bce2cb7c29466ececd7f45e73f3db2c9b58d3451dd02a918e9213c2
|
||||
SHA512 (pubgrub-7243f4faf8e54837aa8a401a18406e7173de4ad5.tar.gz) = 7f8e7a3a3070212c6f6d788b659bbdfa1857c6eb493cef11a75708b60e3d1abbc00dc6cc89527264faf1eb59f372dff646e1dd1a05168a1e0456d0f1ceaecc6b
|
||||
SHA512 (reqwest-middleware-d95ec5a99fcc9a4339e1850d40378bbfe55ab121.tar.gz) = bc29f8e634cbfde9d89db3e7ac16a83b6545c15ecec1d0eb4eb2ea2c1647fb521712a9ebe98480cd0dff727fed0ecbceaaf3b23e0d85d97a0498f2e576cc9d7d
|
||||
SHA512 (rs-async-zip-011b24604fa7bc223daaad7712c0694bac8f0a87.tar.gz) = 6650eef354e84daf41a8572b98b29f2873b7f071dd1d6983292c70b2f580fdc50cd26762d2228a70c2b200eae2f40476e6604702aa62cc97558301195bf19eb8
|
||||
SHA512 (tl-6e25b2ee2513d75385101a8ff9f591ef51f314ec.tar.gz) = 4abbc4240ed129c92da8d616e27a6df0f24cdc85a0803acfdae588ca91f9e5b8d482e3ac88b2e657ff68917b1b43cef1e7ef3c887f624659b231fa5a13fcae68
|
||||
|
|
|
|||
|
|
@ -1,11 +0,0 @@
|
|||
diff -Naur uv-0.12.1-original/crates/uv-extract/src/hash.rs uv-0.12.1/crates/uv-extract/src/hash.rs
|
||||
--- uv-0.12.1-original/crates/uv-extract/src/hash.rs 2026-07-31 20:05:57.000000000 +0100
|
||||
+++ uv-0.12.1/crates/uv-extract/src/hash.rs 2026-08-02 11:53:13.406289238 +0100
|
||||
@@ -1,4 +1,6 @@
|
||||
-use sha2::{Digest, digest::consts::U32};
|
||||
+// BLAKE2 still uses the `digest` 0.10 trait, while MD5 and SHA-2 use 0.11.
|
||||
+use blake2::digest::{Digest as _, consts::U32};
|
||||
+use sha2::Digest;
|
||||
use std::pin::Pin;
|
||||
use std::task::{Context, Poll};
|
||||
use tokio::io::{AsyncReadExt, ReadBuf};
|
||||
|
|
@ -1,6 +1,5 @@
|
|||
# Not real spelling errors
|
||||
addFilter(r"spelling-error \('([Ll]ockfile|[Ww]orkspace)s?',")
|
||||
addFilter(r"spelling-error \('([Dd]eduplication|pipx|macOS|(py|virtual)env)',")
|
||||
addFilter(r"spelling-error \('([Dd]eduplication|pipx|macOS|virtualenv)',")
|
||||
# TODO: We would like to add man pages.
|
||||
addFilter(r" no-manual-page-for-binary uv$")
|
||||
# Since it is just equivalent to “uv tool run,” uvx is unlikely to get its own
|
||||
|
|
|
|||
22
uv.toml
22
uv.toml
|
|
@ -1,22 +0,0 @@
|
|||
# The RPM-packaged uv deviates from the default configuration in two ways.
|
||||
#
|
||||
# First, we set "python-downloads" to "manual" in order to avoid unintended
|
||||
# Python downloads. We suggest using RPM-packaged (system) Pythons that benefit
|
||||
# from distribution maintenance and integration. Use "uv python install" to
|
||||
# manually install managed Pythons.
|
||||
#
|
||||
# Second, we set "python-preference" to "system" instead of "managed".
|
||||
# Otherwise, any managed Python would be used for uv operations where no
|
||||
# particular Python is specified, even if the only available managed Python
|
||||
# were much older than the primary system Python.
|
||||
#
|
||||
# No choices can be appropriate for all users and applications. To restore the
|
||||
# default behavior, comment out settings in this file or override them in a
|
||||
# configuration file with higher precedence, such as a user-level configuration
|
||||
# file. See https://docs.astral.sh/uv/configuration/files/ for details on the
|
||||
# interaction of project-, user-, and system-level configuration files.
|
||||
#
|
||||
# https://docs.astral.sh/uv/reference/settings/#python-downloads
|
||||
python-downloads = "manual"
|
||||
# https://docs.astral.sh/uv/reference/settings/#python-preference
|
||||
python-preference = "system"
|
||||
Loading…
Add table
Add a link
Reference in a new issue