A `[boto3]` extra should be provided for installing the package

Open Beginner friendly
#836 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
78/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
python

Research direction

Start by reading pyproject.toml and the documentation for obstore.auth.boto3.Boto3CredentialProvider; the issue links to its implementation in obstore/python/obstore/auth/boto3.py. Add the requested optional dependency metadata and update the docs to explain installing obstore[boto3]. Done when the extra is declared and the docs describe how to install it for this provider.

Written by the indexing model from the issue text.

Description

Since obstore can optionally depend on S3, there should be some formal dependency metadata expressing this. An optional dependency ("extra") would be the best practice.

I'd suggest adding a new block in pyproject.toml:

[project.optional-dependencies]
boto3 = ["boto3>=1.38.21"]

The obstore docs should be updated to instruct users to install obstore[boto3] when they want to use obstore.auth.boto3.Boto3CredentialProvider.

Dominant language
Python
Stars
848
Forks
50
Avg merge
7h 58m
Merged PRs (30d)
10

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from developmentseed/obstore

All issues in developmentseed/obstore

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.