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

Resync with influxdata/flux 0.194.4 #14

Open
wants to merge 55 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
a5f310a
build(deps): bump golang.org/x/net from 0.7.0 to 0.17.0 (#5434)
dependabot[bot] Oct 12, 2023
43ad07e
fix(flux-core): infinite loop protection in the parser (#5436)
mhilton Oct 25, 2023
1a84183
build(deps): bump google.golang.org/grpc from 1.44.0 to 1.56.3 (#5437)
dependabot[bot] Oct 26, 2023
ba1befe
chore(docs): update math.copysign example with negative values (#5441)
sanderson Nov 13, 2023
8d1d6c8
fix(libflux): build error on >= rust-1.72.0 (#5440)
stkw0 Nov 15, 2023
6cce840
chore: update build tools (#5443)
mhilton Nov 21, 2023
8d76a72
chore(deps): update github.com/mattn/go-sqlite3 (#5444)
mhilton Nov 21, 2023
1217386
build(deps): bump golang.org/x/net in /internal/tools (#5446)
dependabot[bot] Nov 21, 2023
09a46ab
build(deps): bump github.com/sassoftware/go-rpmutils in /internal/too…
dependabot[bot] Nov 21, 2023
e9408dd
build(deps): bump google.golang.org/grpc in /internal/tools (#5447)
dependabot[bot] Nov 21, 2023
aaf3d3b
chore: update goreleaser (#5449)
mhilton Nov 21, 2023
505186b
build(deps): bump github.com/sigstore/cosign/v2 in /internal/tools (#…
dependabot[bot] Nov 21, 2023
b440835
chore(docs): fix typos through stdlib documentation (#5454)
sanderson Nov 28, 2023
aafedb5
build(deps): bump github.com/go-git/go-git/v5 in /internal/tools (#5457)
dependabot[bot] Jan 2, 2024
a9bba5e
build(deps): bump golang.org/x/crypto from 0.14.0 to 0.17.0 (#5455)
dependabot[bot] Jan 2, 2024
e831467
build(deps): bump golang.org/x/crypto in /internal/tools (#5456)
dependabot[bot] Jan 2, 2024
89fdfcb
build(deps): bump github.com/cloudflare/circl from 1.3.5 to 1.3.7 in …
dependabot[bot] Jan 8, 2024
0d09dd6
build(deps): bump gopkg.in/go-jose/go-jose.v2 in /internal/tools (#5465)
dependabot[bot] Mar 8, 2024
e72c92d
build(deps): bump google.golang.org/protobuf from 1.30.0 to 1.33.0 (#…
dependabot[bot] Mar 14, 2024
1325183
build(deps): bump google.golang.org/protobuf in /internal/tools (#5467)
dependabot[bot] Mar 14, 2024
6438357
build(deps): bump github.com/docker/docker in /internal/tools (#5470)
dependabot[bot] Mar 21, 2024
80c6f42
build(deps): bump github.com/sigstore/cosign/v2 from 2.2.1 to 2.2.4 i…
dependabot[bot] Apr 15, 2024
664cfc3
build(deps): bump golang.org/x/net in /internal/tools (#5472)
dependabot[bot] Apr 19, 2024
03d39ce
build(deps): bump golang.org/x/net from 0.17.0 to 0.23.0 (#5473)
dependabot[bot] Apr 19, 2024
91d1fc8
chore: Update README.md (#5476)
helenosheaa May 3, 2024
37f33ad
chore: Fix Windows CI (#5481)
powersj May 17, 2024
918c26c
chore: fix build-ci-image job (#5480)
jeffreyssmith2nd May 17, 2024
bea9586
feat(execute): allocate memory for string content. (#5482)
mhilton May 21, 2024
96ae92b
feat(array): less leaky string array (#5483)
mhilton May 23, 2024
68c831c
fix(libflux): build on rust 1.78 (#5484)
mhilton May 24, 2024
32f7947
feat: return to internal string references (#5486)
mhilton Jun 5, 2024
165b17e
feat: upgrade github.com/benbjohnson/immutable (#5488)
mhilton Jun 5, 2024
fc18931
fix: update github.com/SAP/go-hdb (#5487)
mhilton Jun 5, 2024
7b5a590
chore: update transitive Arrow dependencies (#5489)
jacobmarble Jun 6, 2024
da04c3f
fix(stdlib): join path correctly in influxdb source (#5490)
mhilton Jun 7, 2024
2b7d8f8
build(deps): bump github.com/Azure/azure-sdk-for-go/sdk/azidentity (#…
dependabot[bot] Jun 12, 2024
6412246
fix: null string to bytes conversions (#5492)
mhilton Jun 13, 2024
27fa85d
fix(stdlib/influxdata/wideto): panic with null string key (#5493)
mhilton Jun 13, 2024
5048e02
build(deps): bump github.com/hashicorp/go-retryablehttp from 0.7.5 to…
dependabot[bot] Jun 27, 2024
83f0400
fix(libflux): only compile `flux-core` with `strict` if enabled in `f…
davidkna Jul 8, 2024
96f20b0
build(deps): bump google.golang.org/grpc from 1.64.0 to 1.64.1 (#5497)
dependabot[bot] Jul 10, 2024
1d4faa4
build(deps): bump github.com/docker/docker from 24.0.9+incompatible t…
dependabot[bot] Jul 30, 2024
b624a57
build(deps): bump google.golang.org/grpc from 1.64.0 to 1.64.1 in /in…
dependabot[bot] Jul 30, 2024
6a33162
build(deps): bump github.com/docker/docker in /internal/tools (#5501)
dependabot[bot] Aug 13, 2024
6ffcb71
fix: Revert "feat(execute): allocate memory for string content. (#548…
mhilton Aug 13, 2024
c2433e6
fix: Make fewer copies when building a string array (#5503)
mhilton Aug 13, 2024
da19e08
build(deps): update rust version (#5505)
mhilton Sep 9, 2024
b5a2f38
docs: update comments to clarify behaviour (#5506)
btasker Oct 4, 2024
4f84744
build(deps): bump github.com/golang-jwt/jwt/v4 in /internal/tools (#5…
dependabot[bot] Nov 15, 2024
041192a
feat: make `endpoint` report the upstream status code (#5510)
btasker Nov 27, 2024
d452b50
chore: upgrade pkg-config (#5513)
btasker Nov 29, 2024
ec16ca2
build(deps): bump golang.org/x/crypto from 0.24.0 to 0.31.0 (#5519)
dependabot[bot] Dec 12, 2024
e311439
build(deps): update lsp-types in libflux (#5520)
mhilton Jan 24, 2025
8e8f093
fix: add missing explicit lifetime for rust 1.83 build (#5516)
chenrui333 Feb 6, 2025
ba61b9b
build(flux): prepare Flux release for v0.196.0 (#5524)
mhilton Feb 19, 2025
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
Prev Previous commit
Next Next commit
build(deps): update rust version (influxdata#5505)
* build(deps): update libflux libc dependency

Update the libc dependency for libflux in order to build correctly
using musl-1.2.4.

* build: update rust version

Require rust version 1.72, this is the earliest version that can
build against musl 1.2.4.

* fix: lint

* fix: lint
  • Loading branch information
mhilton authored Sep 9, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit da19e0888c184a6035db5effcc0b5792a01f2afc
2 changes: 1 addition & 1 deletion libflux/flux-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "flux-core"
version = "0.154.0"
rust-version = "1.68"
rust-version = "1.72"
authors = ["Flux Team <flux-developers@influxdata.com>"]
edition = "2021"

4 changes: 2 additions & 2 deletions libflux/flux-core/src/formatter/tests.rs
Original file line number Diff line number Diff line change
@@ -236,8 +236,8 @@ fn vars() {
assert_unchanged("2018-05-22T19:53:01+07:00"); // zone
assert_unchanged("2018-05-22T19:53:23.09012Z"); // nano sec
assert_unchanged("2018-05-22T19:53:01.09012-07:00"); // nano with zone
assert_unchanged(r#"/^\w+@[a-zA-Z_]+?\.[a-zA-Z]{2,3}$/"#); // regexp
assert_unchanged(r#"/^http:\/\/\w+\.com$/"#); // regexp_escape
assert_unchanged(r"/^\w+@[a-zA-Z_]+?\.[a-zA-Z]{2,3}$/"); // regexp
assert_unchanged(r"/^http:\/\/\w+\.com$/"); // regexp_escape
}

#[test]
4 changes: 2 additions & 2 deletions libflux/flux-core/src/parser/strconv.rs
Original file line number Diff line number Diff line change
@@ -51,11 +51,11 @@ fn push_unescaped_string(s: &mut Vec<u8>, chars: &mut Chars) -> Result<(), Strin
fn push_hex_byte(s: &mut Vec<u8>, chars: &mut Chars) -> Result<(), String> {
let ch1 = match chars.next() {
Some(c) => c,
None => return Err(r#"\x followed by 0 char, must be 2"#.to_string()),
None => return Err(r"\x followed by 0 char, must be 2".to_string()),
};
let ch2 = match chars.next() {
Some(c) => c,
None => return Err(r#"\x followed by 1 char, must be 2"#.to_string()),
None => return Err(r"\x followed by 1 char, must be 2".to_string()),
};
let b1 = to_byte(ch1);
let b2 = to_byte(ch2);
4 changes: 2 additions & 2 deletions libflux/flux-core/src/parser/tests/literals.rs
Original file line number Diff line number Diff line change
@@ -50,7 +50,7 @@ fn regex_literal() {

#[test]
fn regex_literal_with_escape_sequence() {
let mut p = Parser::new(r#"/a\/b\\c\d/"#);
let mut p = Parser::new(r"/a\/b\\c\d/");
let parsed = p.parse_file("".to_string());
expect![[r#"
File {
@@ -98,7 +98,7 @@ fn regex_literal_with_escape_sequence() {

#[test]
fn regex_literal_with_hex_escape() {
let mut p = Parser::new(r#"/^\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e(ZZ)?$/"#);
let mut p = Parser::new(r"/^\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e(ZZ)?$/");
let parsed = p.parse_file("".to_string());
expect![[r#"
File {
4 changes: 2 additions & 2 deletions libflux/flux-core/src/semantic/tests/vectorize.rs
Original file line number Diff line number Diff line change
@@ -316,10 +316,10 @@ fn vectorize_with_construction_using_literal_string() -> anyhow::Result<()> {

let function = get_vectorized_function(&pkg);

expect_test::expect![[r##"
expect_test::expect![[r#"
(r) => {
return {r:#A with a: ~~vecRepeat~~:string(v: "hello"):v[string]}:{#A with a: v[string]}
}:(r: #A) => {#A with a: v[string]}"##]]
}:(r: #A) => {#A with a: v[string]}"#]]
.assert_eq(&crate::semantic::formatter::format_node(
Node::FunctionExpr(function),
)?);
2 changes: 1 addition & 1 deletion libflux/flux/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "flux"
version = "0.154.0"
rust-version = "1.68"
rust-version = "1.72"
authors = ["Flux Team <flux-developers@influxdata.com>"]
edition = "2021"

6 changes: 3 additions & 3 deletions libflux/go/libflux/buildinfo.gen.go
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ package libflux
var sourceHashes = map[string]string{
"libflux/Cargo.lock": "58302d93174bb2def223a5439ddbc596476216bf511a11f0ff2fc23865fc1d0a",
"libflux/Cargo.toml": "91ac4e8b467440c6e8a9438011de0e7b78c2732403bb067d4dd31539ac8a90c1",
"libflux/flux-core/Cargo.toml": "b0d9447d8532d4732f5fbbc605229ecfda4e24f7a01731f2949711b3f322add1",
"libflux/flux-core/Cargo.toml": "971f23ba5dd621df72be85c61135abf1583b0bcc18e2cf51eb0d9107d61639db",
"libflux/flux-core/src/ast/check/mod.rs": "4a6511e9ccc9718eada01b29544bd4d5c324ae87a85906c25ad7193a890f86fc",
"libflux/flux-core/src/ast/mod.rs": "00fac7d9da0dfb0475a994b208b9e3d97ad2199a8dcc5bac941e2376c94b5f6b",
"libflux/flux-core/src/ast/walk/mod.rs": "b0069cedffd1a20c77c4fe12465a8350a50a8916d0f29798ab47212fdd0b0692",
@@ -30,7 +30,7 @@ var sourceHashes = map[string]string{
"libflux/flux-core/src/lib.rs": "487c5b2db051f7ed5276c566a9a6b2ee75d6a13459443cf94b51b6d90d20edd2",
"libflux/flux-core/src/map.rs": "342c1cc111d343f01b97f38be10a9f1097bdd57cdc56f55e92fd3ed5028e6973",
"libflux/flux-core/src/parser/mod.rs": "abc9f7fe02d4252c4046bf1f680916f328b5f04a73509413ef37b55a0daa1420",
"libflux/flux-core/src/parser/strconv.rs": "2e288c83dcc9cf6e1b6a503219108cd3ed74446f9a2906b551480fa298e14531",
"libflux/flux-core/src/parser/strconv.rs": "005ecd7a1a227d280dfd0bf065b7f9c49f68952daf7efe1c9bc3bfd91a30a909",
"libflux/flux-core/src/scanner/mod.rs": "eb7afb2eff162080046ddda7d1e9d01ffd4ec3a165bbcc95a001bf7edefa5e9c",
"libflux/flux-core/src/scanner/scanner.rl": "34e1f306994b8f69d0551110ce22efa75e0081b7c5f498ad293a739970bbcbc2",
"libflux/flux-core/src/scanner/scanner_generated.rs": "d917184e05832393cb1ee3133723181a7eac31b259782ac3f1af56bf68a25ed4",
@@ -59,7 +59,7 @@ var sourceHashes = map[string]string{
"libflux/flux-core/src/semantic/walk/mod.rs": "027f6d345ab58846bef1a8db26983e74143e880d5e82a500fd12642470b9d86a",
"libflux/flux-core/src/semantic/walk/test_utils.rs": "043d5137ed626f1990c89f639e867e5b33a906f13c427313b497062f98215846",
"libflux/flux-core/src/semantic/walk/walk_mut.rs": "3e9b8db77f35cfdee5ef7e24c1bc08845484f3cb7ecd50a82163b6ad46899662",
"libflux/flux/Cargo.toml": "1dbb9643175c93b7e1c39dda6aa6a9684d7c31ed88bfc44e5bdee5ea4c2977eb",
"libflux/flux/Cargo.toml": "913a8be19540592efc631bcb2f8b5fd25747a7297f6c1073fec40ad0f5ec255e",
"libflux/flux/FLUXDOC.md": "92e6dd8043bd87b4924e09aa28fb5346630aee1214de28ea2c8fc0687cad0785",
"libflux/flux/build.rs": "31dcb1e825555e56b4d959244c4ea630b1d32ccddc1f8615620e0c23552d914f",
"libflux/flux/src/cffi.rs": "a5e3c5bb6eeb720f726cc7177afb5e7dd3a3e8b32ac269a2d48f199068995f78",
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[toolchain]
channel = "1.68"
channel = "1.72"
components = ["rustfmt", "clippy"]
targets = [
"wasm32-unknown-unknown",