danielgtaylor / danielgtaylor/python-betterproto

dateutil not required for 3.11+

Open
#522 0 comments 1 reaction 0 assignees View on GitHub
good first issue small
Dominant language
Python
Stars
1.8k
Forks
234
PR merge metrics
No merged PRs in 30d

Description

We can replace isoparse conditionally with https://docs.python.org/3/library/datetime.html#datetime.datetime.fromisoformat. Requires a small change to the pyproject.toml as well. Should remove dep on six which makes my brain light up.

Contributor guide

Open the contributing guide

Research direction

Begin with pyproject.toml and search the repository for isoparse and six; read the surrounding date-parsing entry points and check how Python 3.6+ compatibility is handled. Done means the conditional datetime.fromisoformat path works for supported versions, unnecessary dependencies are removed from pyproject.toml, and the existing test suite passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.