Skip to content

chore: update object_store dependency and fix build - #119

Merged
nyurik merged 4 commits into
stadiamaps:mainfrom
michaelkirk:mkirk/fix-object-store-semver-breakage
Apr 18, 2026
Merged

nyurik merged 4 commits into
stadiamaps:mainfrom
michaelkirk:mkirk/fix-object-store-semver-breakage

Conversation

@michaelkirk

@michaelkirk michaelkirk commented Apr 17, 2026

Copy link
Copy Markdown
Contributor

in 0.13.2, object_store made tokio optional in a patch release

See:
apache/arrow-rs-object-store#644

Ideally this would have been in a object_store 0.14.0 release.

Copilot AI review requested due to automatic review settings April 17, 2026 21:59

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the object_store dependency configuration to restore builds after object_store made tokio optional in a patch release.

Changes:

  • Pin object_store to 0.13.2 and explicitly enable its tokio feature.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Cargo.toml
@codecov

codecov Bot commented Apr 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.97%. Comparing base (bfea8b7) to head (f981848).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #119   +/-   ##
=======================================
  Coverage   79.97%   79.97%           
=======================================
  Files          12       12           
  Lines        1648     1648           
  Branches     1648     1648           
=======================================
  Hits         1318     1318           
  Misses        225      225           
  Partials      105      105           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@nyurik nyurik changed the title Fix build. chore: update object_store dependency and fix build Apr 17, 2026

@nyurik nyurik left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thx!

@nyurik
nyurik enabled auto-merge (squash) April 17, 2026 22:22
@michaelkirk

Copy link
Copy Markdown
Contributor Author

There's still more to do here. There is a vulnerability in a transitive dependency using an old version of rustls. Still investigating.

@michaelkirk

michaelkirk commented Apr 17, 2026

Copy link
Copy Markdown
Contributor Author

Here's the error:

security vulnerability detected
...
217 │ rustls-webpki 0.101.7 registry+https://github.com/rust-lang/crates.io-index
...
   ├ Solution: Upgrade to >=0.103.12, <0.104.0-alpha.1 OR >=0.104.0-alpha.6 (try `cargo update -p rustls-webpki`)
    ├ rustls-webpki v0.101.7
      └── rustls v0.21.12
          ├── aws-smithy-http-client v1.1.12
          │   └── aws-smithy-runtime v1.11.1
          │       ├── aws-runtime v1.7.2
          │       │   └── aws-sdk-s3 v1.129.0
          │       │       └── pmtiles v0.21.0
          │       └── aws-sdk-s3 v1.129.0 (*)
          ├── hyper-rustls v0.24.2
          │   └── aws-smithy-http-client v1.1.12 (*)
          └── tokio-rustls v0.24.1
              └── hyper-rustls v0.24.2 (*)

This seems peculiar:
https://github.com/awslabs/aws-sdk-rust/blob/main/sdk/aws-smithy-http-client/Cargo.toml#L167

Apparently aws-smithy-http-client includes an up-to-date rustls client, but for some reason also includes a legacy tls feature which builds the version of rustls with known vulnerabilities.

I'd wager (but don't actually know) that we're not using this legacy feature, but presumably cargo deny will still be grumpy about it.

update: I think this is similar to awslabs/aws-sdk-rust#1339, so I've piled on there.

@nyurik

nyurik commented Apr 17, 2026

Copy link
Copy Markdown
Collaborator

aws crate last time i looked at it is spectacularly bleh, so we may have to exclude the security issue in our deny file

auto-merge was automatically disabled April 17, 2026 23:10

Head branch was pushed to by a user without write access

@michaelkirk
michaelkirk force-pushed the mkirk/fix-object-store-semver-breakage branch from 51e015a to 2a106e5 Compare April 17, 2026 23:10
@michaelkirk

michaelkirk commented Apr 17, 2026

Copy link
Copy Markdown
Contributor Author

Note: I just pushed up another commit allowing the CC0 and MPL-2.0 licenses which were newly detected in our dependencies. That's a decision above my pay grade for this crate, so FYI.

@nyurik

nyurik commented Apr 17, 2026

Copy link
Copy Markdown
Collaborator

hehe, i think you and i are getting paid about the same $0.0 here :)

@michaelkirk
michaelkirk force-pushed the mkirk/fix-object-store-semver-breakage branch from 2a106e5 to e98619f Compare April 17, 2026 23:13
Updating 0.13.1->0.13.2 (patch release), object_store made tokio an optional feature, which broke our build.

See:
apache/arrow-rs-object-store@c323805

Ideally this would have been in a object_store 0.14.0 release.
- OpenSSL license not encountered
- Newly encountered: "CC0-1.0" and "MPL-2.0"

`cargo deny` was complaining.
@michaelkirk
michaelkirk force-pushed the mkirk/fix-object-store-semver-breakage branch from 2717e2c to 6372cc3 Compare April 17, 2026 23:21
@nyurik
nyurik merged commit 9983294 into stadiamaps:main Apr 18, 2026
8 checks passed
nyurik pushed a commit that referenced this pull request Apr 18, 2026
## 🤖 New release

* `pmtiles`: 0.21.0 -> 0.22.0 (⚠ API breaking changes)

### ⚠ `pmtiles` breaking changes

```text
--- failure auto_trait_impl_removed: auto trait no longer implemented ---

Description:
A public type has stopped implementing one or more auto traits. This can break downstream code that depends on the traits being implemented.
        ref: https://doc.rust-lang.org/reference/special-types-and-traits.html#auto-traits
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.46.0/src/lints/auto_trait_impl_removed.ron

Failed in:
  type PmTilesWriter is no longer Send, in /tmp/.tmpQE4q9u/pmtiles-rs/src/writer/mod.rs:23
  type PmTilesWriter is no longer Sync, in /tmp/.tmpQE4q9u/pmtiles-rs/src/writer/mod.rs:23
  type PmTilesWriter is no longer UnwindSafe, in /tmp/.tmpQE4q9u/pmtiles-rs/src/writer/mod.rs:23
  type PmTilesWriter is no longer RefUnwindSafe, in /tmp/.tmpQE4q9u/pmtiles-rs/src/writer/mod.rs:23
  type PmTilesStreamWriter is no longer Send, in /tmp/.tmpQE4q9u/pmtiles-rs/src/writer/mod.rs:36
  type PmTilesStreamWriter is no longer Sync, in /tmp/.tmpQE4q9u/pmtiles-rs/src/writer/mod.rs:36
  type PmTilesStreamWriter is no longer UnwindSafe, in /tmp/.tmpQE4q9u/pmtiles-rs/src/writer/mod.rs:36
  type PmTilesStreamWriter is no longer RefUnwindSafe, in /tmp/.tmpQE4q9u/pmtiles-rs/src/writer/mod.rs:36
```

<details><summary><i><b>Changelog</b></i></summary><p>

<blockquote>

##
[0.22.0](v0.21.0...v0.22.0)
- 2026-04-18

### Fixed

- directory offset encoding
([#111](#111))

### Other

- update object_store dependency and fix build
([#119](#119))
- Configurable compression parameters via Compressor trait
([#112](#112))
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/release-plz/release-plz/).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants