Skip to content

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
Removed test_is_timezone_utc as it was no longer valid.

Signed-off-by: Ana Hobden <operator@hoverbear.org>
  • Loading branch information
Hoverbear committed Apr 28, 2021
1 parent b57522e commit 82f47e2
Show file tree
Hide file tree
Showing 12 changed files with 56 additions and 48 deletions.
65 changes: 40 additions & 25 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions cargo-pgx/Cargo.toml
Expand Up @@ -20,11 +20,11 @@ colored = "2.0.0"
env_proxy = "0.4.1"
num_cpus = "1.13.0"
pgx-utils = { path = "../pgx-utils", version = "0.1.20"}
proc-macro2 = { version = "1.0.24", features = [ "span-locations" ] }
proc-macro2 = { version = "1.0.26", features = [ "span-locations" ] }
quote = "1.0.9"
rayon = "1.5.0"
regex = "1.4.5"
rttp_client = { version = "0.1.0", features = ["tls-native"] }
syn = { version = "1.0.64", features = [ "extra-traits", "full", "fold", "parsing" ] }
syn = { version = "1.0.69", features = [ "extra-traits", "full", "fold", "parsing" ] }
unescape = "0.1.0"
fork = "0.1.18"
3 changes: 2 additions & 1 deletion cargo-pgx/default.nix
Expand Up @@ -6,7 +6,8 @@ rustPlatform.buildRustPackage rec {

src = ../.;

cargoSha256 = "1HA7RFw+WKWERf4W7uHhmdnEne2XDib9ijnqf3lxKcQ=";
#cargoSha256 = lib.fakeSha256;
cargoSha256 = "vFei/u5w6cZQOUhXA6fW82mVLRszqQX3cbr045IIgT0=";
cargoBuildFlags = [ "--package" "cargo-pgx" ];
cargoCheckFlags = [ "--package" "cargo-pgx" ];
cargoTestFlags = [ "--package" "cargo-pgx" ];
Expand Down
1 change: 0 additions & 1 deletion cargo-pgx/src/commands/start.rs
Expand Up @@ -7,7 +7,6 @@ use colored::Colorize;
use pgx_utils::exit_with_error;
use pgx_utils::pg_config::{PgConfig, Pgx};
use std::os::unix::process::CommandExt;
use std::path::PathBuf;
use std::process::Stdio;

pub(crate) fn start_postgres(pg_config: &PgConfig) -> Result<(), std::io::Error> {
Expand Down
2 changes: 1 addition & 1 deletion pgx-examples/shmem/Cargo.toml
Expand Up @@ -18,7 +18,7 @@ pg13 = ["pgx/pg13", "pgx-tests/pg13" ]
pg_test = []

[dependencies]
heapless = "0.5.6"
heapless = "0.6.1"
pgx = { path = "../../../pgx/pgx/", default-features = false }
pgx-macros = { path = "../../../pgx/pgx-macros" }
serde = { version = "1.0.114", features = [ "derive" ] }
Expand Down
4 changes: 2 additions & 2 deletions pgx-macros/Cargo.toml
Expand Up @@ -15,7 +15,7 @@ proc-macro = true

[dependencies]
pgx-utils = { path = "../pgx-utils", version = "0.1.20"}
proc-macro2 = "1.0.24"
proc-macro2 = "1.0.26"
quote = "1.0.9"
syn = { version = "1.0.64", features = [ "extra-traits", "full", "fold", "parsing" ] }
syn = { version = "1.0.69", features = [ "extra-traits", "full", "fold", "parsing" ] }
unescape = "0.1.0"
2 changes: 1 addition & 1 deletion pgx-tests/Cargo.toml
Expand Up @@ -32,7 +32,7 @@ libc = "0.2.89"
pgx = { path = "../pgx", default-features = false, version= "0.1.20"}
pgx-macros = { path = "../pgx-macros", version= "0.1.20"}
pgx-utils = { path = "../pgx-utils", version= "0.1.20"}
postgres = "0.19.0"
postgres = "0.19.1"
regex = "1.4.5"
serde = "1.0.124"
serde_json = "1.0.64"
Expand Down
7 changes: 0 additions & 7 deletions pgx-tests/src/tests/datetime_tests.rs
Expand Up @@ -112,13 +112,6 @@ mod tests {

use pgx::*;

#[pg_test]
fn test_is_timezone_utc() {
let timezone = Spi::get_one::<&str>("select current_setting('timezone');")
.expect("failed to get SPI result");
assert_eq!("UTC", timezone);
}

#[pg_test]
fn test_accept_date_now() {
let result = Spi::get_one::<bool>("SELECT accept_date(now()::date) = now()::date;")
Expand Down
8 changes: 4 additions & 4 deletions pgx-utils/Cargo.toml
Expand Up @@ -14,15 +14,15 @@ readme = "README.md"
colored = "2.0.0"
dirs = "3.0.1"
env_proxy = "0.4.1"
proc-macro2 = "1.0.24"
proc-macro2 = "1.0.26"
quote = "1.0.9"
regex = "1.4.5"
rttp_client = "0.1.0"
serde = "1.0.124"
serde_derive = "1.0.124"
serde = "1.0.125"
serde_derive = "1.0.125"
serde-xml-rs = "0.4.1"
serde_json = "1.0.64"
syn = { version = "1.0.64", features = [ "extra-traits", "full", "fold", "parsing" ] }
syn = { version = "1.0.69", features = [ "extra-traits", "full", "fold", "parsing" ] }
toml = "0.5.8"
unescape = "0.1.0"
url = "2.2.1"
4 changes: 2 additions & 2 deletions pgx/Cargo.toml
Expand Up @@ -32,12 +32,12 @@ num-traits = "0.2.14"
seahash = "4.1.0"
pgx-macros = { path = "../pgx-macros/", version = "0.1.20" }
pgx-pg-sys = { path = "../pgx-pg-sys", version = "0.1.20" }
serde = { version = "1.0.124", features = [ "derive" ] }
serde = { version = "1.0.125", features = [ "derive" ] }
serde_cbor = "0.11.1"
serde_json = "1.0.64"
time = "0.2.26"
atomic-traits = "0.2.0"
heapless = "0.5.6"
heapless = "0.6.1"
hash32 = "0.1.1"
uuid = { version = "0.8.2", features = [ "v4" ] }
once_cell = "1.7.2"
Expand Down
2 changes: 1 addition & 1 deletion update-versions.sh
@@ -1,4 +1,4 @@
#! /bin/sh
#! /usr/bin/env bash

# requires: https://github.com/sunng87/cargo-release

Expand Down
2 changes: 1 addition & 1 deletion upgrade-deps.sh
@@ -1,4 +1,4 @@
#! /bin/bash
#! /usr/bin/env bash

# requires: "cargo install cargo-edit" from https://github.com/killercup/cargo-edit
cargo update
Expand Down

0 comments on commit 82f47e2

Please sign in to comment.