GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Improve PyPI package metadata by merlimat · Pull Request #28 · oxia-db/oxia-client-python

Conversation

@merlimat

@merlimat merlimat commented Apr 16, 2026

Copy link
Copy Markdown
Contributor

The PyPI page at https://pypi.org/project/oxia/ was nearly empty — just the one-line description with no README, no links, no classifiers.

Changes:

  • readme = "README.md" — the full README now renders as the PyPI long description
  • license — Apache-2.0
  • classifiers — Python 3.10–3.14, Beta status, Database/Distributed Computing topics
  • [project.urls] — Homepage, Documentation, Repository, Issues
  • description — improved one-liner

Also fixed TOML section ordering: dependencies was after [project.urls], causing hatchling to parse it as a URL entry.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@merlimat
Improve PyPI package metadata
821a946
- Add readme = "README.md" so the full README renders on PyPI
- Add license field
- Add classifiers (Python versions, topics, license)
- Add project URLs (homepage, docs, repo, issues)
- Improve short description
- Move dependencies before [project.urls] to fix TOML section scoping

Signed-off-by: Matteo Merli <[email protected]>
@merlimat
merlimat merged commit ff5d731 into oxia-db:main Apr 16, 2026
6 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@merlimat
merlimat deleted the fix/pypi-metadata branch April 16, 2026 04:08
merlimat added a commit to merlimat/oxia-client-python that referenced this pull request Nov 11, 2026
@merlimat
Merge branch 'main' into the PyO3 migration
f9ce0c9
main moved a long way while this branch replaced the native
implementation with the Rust client, so most of the merge is deciding
what each of those changes means once the implementation is gone.

Kept from main, as the public API:

  - `request_timeout_ms` (oxia-db#35), now the Rust client's request timeout
    rather than a gRPC interceptor. It bounds the whole operation,
    including the retries the client makes internally.
  - `Client` as a context manager (oxia-db#23).
  - `_coerce_value`, so a value that is neither `str` nor `bytes` is a
    `TypeError` here rather than something obscure from the extension
    module (oxia-db#19).
  - The docstrings, type annotations, package metadata, README and
    CONTRIBUTING rewrites (oxia-db#21, oxia-db#22, oxia-db#24, oxia-db#25, oxia-db#26, oxia-db#28), and
    `SequenceUpdates` moving to `oxia.defs`. The native iterator is
    registered as a virtual subclass of it, so the type contract from
    oxia-db#16 holds without a wrapper around every item.
  - Python 3.10 through 3.14. The wheel is now `abi3-py310` rather than
    `abi3-py313`, which keeps one wheel per platform for the whole
    range.
  - The coverage gate and the test matrix. The Rust lints move to a job
    of their own instead of running once per Python version.

Dropped with the code they covered: the unit tests for the connection
pool, service discovery, notifications, sessions, key comparison, the
status mapping and the timeout interceptor, and `gen-proto.sh`.
`test_session_not_found` went with them — it forced a session closed
through internals that no longer exist, and the binding exposes no way
to reach that state.

Three tests had to change rather than being dropped:

  - `test_floor_ceiling_get` asserted its keys spanned several shards
    through `client._service_discovery`. The client no longer exposes
    shard routing, so the guard is gone and the rest of the test stands.
  - `test_session_timeout_below_floor_rejected` expected a `ValueError`
    from the client's own floor check. The server rejects the timeout
    instead, so it is now an `OxiaException` naming the reason.
  - `test_list_hierarchical_sort_consistency_across_shards` compared
    `list()` against the client's own comparator, which the client also
    used to merge — it could not fail. It is replaced by
    `test_list_hierarchical_sort_across_shards`, which spells the
    server's order out and checks it against a single-shard server as
    well as a three-shard one. That one fails: see below.

The new test is an expected failure. oxia-client 0.3.1 picks its
cross-shard merge order from the `key_sorting` in the shard assignments
and falls back to a legacy order when the server reports UNKNOWN, which
is what the standalone server does. The shard streams are each sorted
hierarchically and get merged with the legacy comparator, so a
three-shard `list()` returns `/a/b` before `/aa/a` where one shard
returns the opposite. It affects every cross-shard read.

Signed-off-by: Matteo Merli <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@merlimat
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.