Skip to content

Release 0.9.0#58

Merged
lord63 merged 5 commits intomasterfrom
dev
Mar 16, 2026
Merged

Release 0.9.0#58
lord63 merged 5 commits intomasterfrom
dev

Conversation

@lord63
Copy link
Copy Markdown
Owner

@lord63 lord63 commented Mar 16, 2026

  • migrate branch name from master to main. Thanks @jackblk
  • drop 2.x support, add 3.10+ support. Thanks @iamgodot
  • migrate travis to github aciton
  • migrate to uv
  • readme clean. Thanks @a1346054

lord63 added 5 commits March 16, 2026 23:05
Replace .travis.yml with .github/workflows/ci.yml.
Test matrix updated to Python 3.10-3.13.
Replace setup.py, setup.cfg, dev-requirements.txt, tox.ini, Makefile,
and MANIFEST.in with pyproject.toml (hatchling backend) and uv.lock.
Update GitHub Actions CI to use uv for dependency management.
- Remove `from __future__ import absolute_import` from all files
- Remove `# -*- coding: utf-8 -*-` headers (unnecessary in Python 3)
- Replace `io.open` with builtin `open` in source and tests
- Update mock targets from `io.open` to `builtins.open` in tests
- Use `super()` without arguments (Python 3 style)
Copilot AI review requested due to automatic review settings March 16, 2026 16:03
@lord63 lord63 merged commit d3be61c into master Mar 16, 2026
9 checks passed
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Release prep for v0.9.0, modernizing the project by moving to a pyproject.toml/uv-based workflow and updating CI accordingly.

Changes:

  • Migrate packaging to pyproject.toml (hatchling) and add uv.lock; remove legacy setup.py, tox.ini, and dev requirements tooling.
  • Update CI from Travis to GitHub Actions and test against Python 3.10–3.13.
  • Drop Python 2-era compatibility shims (__future__, io.open, encoding headers) and bump version to 0.9.0.

Reviewed changes

Copilot reviewed 24 out of 25 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
uv.lock Adds uv lockfile pinning dependencies and Python >=3.10 requirement.
tox.ini Removes tox configuration for older Python envs.
tldr/parser.py Switches file reading from io.open to built-in open (Py3-only cleanup).
tldr/config.py Switches config reading from io.open to built-in open (Py3-only cleanup).
tldr/cli.py Switches index reading from io.open to built-in open (Py3-only cleanup).
tldr/init.py Bumps package __version__ to 0.9.0.
tests/test_update.py Removes legacy encoding header.
tests/test_reindex.py Uses super() (Py3-only cleanup) and removes legacy imports/headers.
tests/test_parse.py Updates mocks to patch builtins.open instead of io.open.
tests/test_locate.py Removes legacy __future__ import and encoding header.
tests/test_list.py Removes legacy __future__ import and encoding header.
tests/test_init.py Switches from io.open to open and removes legacy imports/headers.
tests/test_find.py Removes legacy __future__ import and encoding header.
tests/test_config.py Updates mocks to patch builtins.open instead of io.open.
tests/basic.py Removes legacy encoding header.
setup.py Removes legacy setuptools packaging entrypoint.
setup.cfg Removes legacy wheel config.
pyproject.toml Introduces PEP 621 metadata + hatchling build + pytest config + dev dependency group.
dev-requirements.txt Removes legacy dev requirements list (replaced by pyproject/uv).
README.rst Cleans up badges/links to remove Travis/coverage references.
Makefile Removes legacy test/build/upload commands.
MANIFEST.in Removes legacy manifest entries.
ChangeLog.md Adds v0.9.0 changelog entry.
.travis.yml Removes Travis CI configuration.
.github/workflows/ci.yml Adds GitHub Actions CI using uv across Python 3.10–3.13.

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

You can also share your feedback on Copilot code review. Take the survey.

run: uv python install ${{ matrix.python-version }}

- name: Install dependencies
run: uv sync --python ${{ matrix.python-version }}
2026.03.16 v0.9.0
- migrate branch name from master to main
- drop 2.x support, add 3.10+ support
- migrate travis to github aciton
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.

2 participants