Skip to content

Commit e38c045

Browse files
authored
Update dependencies (#71)
1 parent 3e77de5 commit e38c045

File tree

4 files changed

+30
-8
lines changed

4 files changed

+30
-8
lines changed

README.md

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,37 @@ Simplest way of running and tracking processes in the background.
1818

1919
### Installation
2020

21+
* Install using [uv](https://docs.astral.sh/uv/)
22+
2123
```bash
22-
pip install hapless
24+
uv tool install hapless
25+
```
2326

24-
# or to make sure proper pip is used for the given python executable
25-
python -m pip install hapless
27+
* Install using [pipx](https://pipx.pypa.io/latest/)
28+
29+
```bash
30+
pipx install hapless
2631
```
2732

28-
Install into user-specific directory in case of any permissions-related issues.
33+
* Install using [pip](https://pip.pypa.io/en/stable/)
2934

3035
```bash
36+
pip install hapless
37+
38+
# To make sure proper pip is used for the given python executable
39+
python -m pip install hapless
40+
41+
# Install into user-specific directory in case of any permissions-related issues
3142
pip install --user hapless
3243
python -m pip install --user hapless
3344
```
3445

46+
* Install using [brew](https://brew.sh/)
47+
48+
```bash
49+
brew install hapless
50+
```
51+
3552
### Usage
3653

3754
```bash
@@ -58,6 +75,7 @@ Changes made in each release can be found on the [Releases](https://github.com/b
5875
Python versions compatibility:
5976

6077
* `0.11.1` is the last version to support Python `3.7`
78+
* `0.15.1` is the last version to support Python `3.8`
6179

6280
### See also
6381

hapless/utils.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@
1515
import structlog
1616
from rich.spinner import Spinner
1717
from rich.text import Text
18-
from typing_extensions import ParamSpec
18+
19+
if sys.version_info >= (3, 10):
20+
from typing import ParamSpec
21+
else:
22+
from typing_extensions import ParamSpec
1923

2024
from hapless import config
2125

poetry.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "hapless"
3-
version = "0.15.0"
3+
version = "0.15.1"
44
description = "Run and track processes in background"
55
authors = ["Misha Behersky <bmwant@gmail.com>"]
66
license = "MIT"
@@ -37,7 +37,7 @@ django-environ = [
3737
{ version = "^0.11.2", python = "<3.9" },
3838
{ version = "^0.12.0", python = ">=3.9" },
3939
]
40-
typing-extensions = "^4.0.0"
40+
typing-extensions = { version = "^4.13.2", python = "<3.10" }
4141
structlog = "^25.4.0"
4242
# Optional dependencies installed as extras
4343
pytest = { version = "^7.4.4", optional = true }

0 commit comments

Comments
 (0)