Skip to content

Modernize packaging: replace pip/requirements.txt with uv#84

Merged
initstring merged 1 commit into
masterfrom
modernize-packaging
May 20, 2026
Merged

Modernize packaging: replace pip/requirements.txt with uv#84
initstring merged 1 commit into
masterfrom
modernize-packaging

Conversation

@initstring
Copy link
Copy Markdown
Owner

Summary

  • Replaces requirements.txt with pyproject.toml using uv for dependency management
  • Runtime deps pinned with >= floor at current latest versions; pytest moved to a dev dependency group
  • Updates CI to use astral-sh/setup-uv@v6 with caching; bumps actions/checkout to v4; drops flake8
  • Adds release.yml workflow: automatically tags and creates a GitHub release when the version in pyproject.toml is bumped on master
  • Updates README pre-requisites to uv sync / uv run python linkedin2username.py
  • Trims .gitignore: removes obsolete pip/egg/setuptools artifacts, adds .venv/ and uv.lock

Getting started after this merges

curl -LsSf https://astral.sh/uv/install.sh | sh
uv sync
uv run python linkedin2username.py -c targetco

Test plan

  • uv sync completes cleanly on a fresh clone
  • uv run pytest passes (9/9 tests green in CI)
  • Bump version in pyproject.toml on master → confirm release workflow creates tag + GitHub release

🤖 Generated with Claude Code

- Add pyproject.toml with runtime deps (>=current versions) and pytest
  as a dev dependency; requires-python = ">=3.10" (3.9 is EOL and
  requests 2.34+ requires 3.10 anyway)
- Delete requirements.txt
- Update CI workflow to use astral-sh/setup-uv@v6 with caching enabled
  and actions/checkout@v4; drop flake8 step
- Add release.yml: auto-tags and creates a GitHub release when the
  version in pyproject.toml is bumped on master
- Update README pre-requisites to use uv sync / uv run
- Trim .gitignore: remove obsolete pip/egg/setuptools artifacts,
  add .venv/ and uv.lock

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
@initstring initstring merged commit 805da13 into master May 20, 2026
4 checks passed
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.

1 participant