Skip to content

Commit

Permalink
Use uv for development.
Browse files Browse the repository at this point in the history
  • Loading branch information
fniessink committed Nov 5, 2024
1 parent f53db6c commit 42dadc0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 12 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ All notable changes to Toisto will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
## 0.29.1 - 2024-11-05

### Fixed

Expand Down
11 changes: 4 additions & 7 deletions docs/developer.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ Create a virtual environment, activate it, and install Toisto in development mod

```console
cd toisto
python3 -m venv venv
uv venv
. venv/bin/activate
pip install -e .[dev]
uv pip install -e .[dev]
```

## How to test and check the quality
Expand Down Expand Up @@ -64,18 +64,15 @@ rm -rf build dist
Create the distribution files by running:

```console
python -m build
uv build
```

Upload the distribution files to PyPI by running:

```console
twine upload dist/*
uv publish
```

> [!IMPORTANT]
> If twine fails with `ImportError: cannot import name 'appengine' from 'requests.packages.urllib3.contrib'`, this can be fixed by running `pip install --upgrade twine requests-toolbelt`.
Tag the commit and push it:

```console
Expand Down
4 changes: 1 addition & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "Toisto"
version = "0.29.0"
version = "0.29.1"
authors = [{ name = "Frank Niessink", email = "frank@niessink.com" }]
description = "Toisto is a command-line terminal app to practice languages."
readme = "README.md"
Expand Down Expand Up @@ -41,9 +41,7 @@ dev = [
"gprof2dot == 2024.6.6",
"green == 4.0.2",
"mypy == 1.13.0",
"pip == 24.3.1",
"ruff == 0.7.2",
"twine == 5.1.1",
"types-requests == 2.32.0.20241016",
"unittest-xml-reporting == 3.2.0",
"vulture == 2.13",
Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ sonar.exclusions=build/**/*,dist/**/*,venv/**/*
sonar.organization=fniessink-github
sonar.projectName=Toisto
sonar.projectKey=fniessink-github_toisto
sonar.projectVersion=0.29.0
sonar.projectVersion=0.29.1
sonar.python.coverage.reportPaths=build/coverage.xml
sonar.python.version=3.10
sonar.python.xunit.reportPath=build/xunit.xml
Expand Down

0 comments on commit 42dadc0

Please sign in to comment.