Commit Graph

1179 Commits

Author SHA1 Message Date
Brian May
63f94aa6ec
build: fix readthedocs build version number 2025-03-12 08:56:43 +11:00
Brian May
7b662536ba
fix: correct bad version number at runtime 2025-03-12 08:45:22 +11:00
Brian May
cf867248c2
ci: attempt to use dependabot beta support for uv (2)
I can read the instructions. Really!
2025-03-04 07:48:03 +11:00
Brian May
454262829c
ci: attempt to use dependabot beta support for uv
See https://github.com/dependabot/dependabot-core/issues/10478#issuecomment-2691330949
2025-03-03 09:00:56 +11:00
Brian May
684417d363
build: convert from poetry to uv 2025-03-03 09:00:56 +11:00
Brian May
0b7440e65c build: convert from poetry to uv 2025-03-03 08:38:35 +11:00
Brian May
12138e2b8d
build: split build and upload into 2 jobs 2025-03-02 17:18:19 +11:00
Brian May
7991e3d9a2
build: fix pypi upload getting skipped 2025-02-24 08:16:44 +11:00
Brian May
99c4abce81 chore(master): release 1.3.0 2025-02-24 07:54:01 +11:00
Brian May
a2d405a6a7 docs: update installation instructions
* Update pip installation instructions to work
  without setup.py.

* Remove duplication of installation instructions
  in two places.
2025-02-23 20:38:07 +11:00
Christian Schlotter
7fa927ef8c
fix: support ':' sign in password 2025-02-22 08:23:36 +11:00
dependabot[bot]
a1dd6859b0 build(deps-dev): bump flake8 from 7.1.1 to 7.1.2
Bumps [flake8](https://github.com/pycqa/flake8) from 7.1.1 to 7.1.2.
- [Commits](https://github.com/pycqa/flake8/compare/7.1.1...7.1.2)

---
updated-dependencies:
- dependency-name: flake8
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-18 08:11:24 +11:00
jraylan
8a123d9762
feat: switch to a network namespace on Linux
* Add support to run inside Linux namespace

**Motivation:**
In a specific use case, we use sshuttle to provide access to private
networks from multiple sites to a specific host. The sites may contain
networks that overlap each other, so each site is accessed inside a
different namespace that provides process-level network isolation and
prevents network overlap.

**Objective:**
This commit just adds a convenient way of spawning multiple sshuttle
instances inside different namespaces from a single process, by passing
the namespace's name though the variable --namespace. The result is the
same as calling `ip netns exec $NAMESPACE sshuttle ...`

* Add the argument --namespace-pid

The argument '--namespace-pid' allows sshuttle to attach to the same net
namespace used by a running process.

* PEP-8 compliance

* Add comment

* Make --namespace and --namespace-pid mutually exclusive.

* Prevent UnicodeDecodeError parsing iptables rule with comments

If one or more iptables rule contains a comment with a non-unicode character, an UnicodeDecodeError would be raised.
2025-02-09 08:48:55 +11:00
jraylan
cbe3d1e402
fix: prevent UnicodeDecodeError parsing iptables rule with comments
If one or more iptables rule contains a comment with a non-unicode character, an UnicodeDecodeError would be raised.
2025-02-09 08:45:25 +11:00
Brian May
340ccc705e
docs: replace nix-env with nix-shell 2025-02-08 10:02:31 +11:00
Brian May
1f5e6cea70
fix: remove temp build hack 2025-02-08 09:59:46 +11:00
Brian May
fd6b6bb71f
build: redo publish to pypi 2025-02-08 09:58:09 +11:00
Brian May
5b08caaeb1
build: hack force publish pypi 2025-02-08 09:25:06 +11:00
Brian May
40f6c1d4f2
build: don't skip pypi release 2025-02-08 09:23:33 +11:00
Brian May
c09e2985f2 chore(master): release 1.2.0 2025-02-08 09:21:02 +11:00
Brian May
7725f93d94
build: release to prod pypi 2025-02-08 09:18:45 +11:00
Brian May
75faa9b9e8
build: remove setup.py 2025-02-08 09:16:15 +11:00
Brian May
d910b64be7
feat: Add release-please to build workflow 2025-02-08 08:34:58 +11:00
dependabot[bot]
3f0f88eb09 build(deps): bump abatilo/actions-poetry from 3 to 4
Bumps [abatilo/actions-poetry](https://github.com/abatilo/actions-poetry) from 3 to 4.
- [Release notes](https://github.com/abatilo/actions-poetry/releases)
- [Changelog](https://github.com/abatilo/actions-poetry/blob/master/.releaserc)
- [Commits](https://github.com/abatilo/actions-poetry/compare/v3...v4)

---
updated-dependencies:
- dependency-name: abatilo/actions-poetry
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-07 07:24:08 +11:00
dependabot[bot]
f7f9a4dbc6 build(deps): bump actions/cache from 3 to 4
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-07 07:23:55 +11:00
Brian May
bf294643e2
fix: use Python >= 3.10 for docs 2025-02-06 19:11:50 +11:00
Brian May
693ee40c48
fix: ensure poetry works for Python 3.9 2025-02-06 18:57:16 +11:00
Brian May
a0d94367f6
Back out "Bump sphinx from 7.1.2 to 8.1.3"
This backs out commit ac4313deca.
2025-02-06 18:55:48 +11:00
dependabot[bot]
ac4313deca Bump sphinx from 7.1.2 to 8.1.3
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 7.1.2 to 8.1.3.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/master/CHANGES.rst)
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v7.1.2...v8.1.3)

---
updated-dependencies:
- dependency-name: sphinx
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-06 17:42:29 +11:00
Brian May
9bcedf1904
fix: replace requirements.txt files with poetry (4) 2025-02-06 16:48:22 +11:00
Brian May
62da70510e
fix: replace requirements.txt files with poetry (3) 2025-02-06 16:05:55 +11:00
Brian May
d08f78a2d9
fix: replace requirements.txt files with poetry (2) 2025-02-06 16:03:58 +11:00
Brian May
85dc3199a3 fix: replace requirements.txt files with poetry 2025-02-06 15:57:36 +11:00
dependabot[bot]
6f12698209 Bump pytest-cov from 5.0.0 to 6.0.0
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 5.0.0 to 6.0.0.
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v5.0.0...v6.0.0)

---
updated-dependencies:
- dependency-name: pytest-cov
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-06 09:17:17 +11:00
Brian May
4b6f7c6a65
fix: fix broken workflow_dispatch CI rule 2025-02-06 09:11:21 +11:00
Brian May
a3396a443d
fix: Add support for Python 3.11 and Python 3.11 2025-02-06 09:09:50 +11:00
Brian May
339b5221bc
fix: Remove more references to legacy Python versions 2025-02-06 09:08:45 +11:00
Brian May
1084c0f245
fix: drop Python 3.8 support
Python 3.8 support has been dropped upstream.
2025-02-06 09:02:11 +11:00
Brian May
cda60a5233
fix: update nix flake to fix problems 2025-02-06 08:52:31 +11:00
dependabot[bot]
b346e976eb Bump twine from 6.0.1 to 6.1.0
Bumps [twine](https://github.com/pypa/twine) from 6.0.1 to 6.1.0.
- [Release notes](https://github.com/pypa/twine/releases)
- [Changelog](https://github.com/pypa/twine/blob/main/docs/changelog.rst)
- [Commits](https://github.com/pypa/twine/compare/6.0.1...6.1.0)

---
updated-dependencies:
- dependency-name: twine
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-23 07:54:18 +11:00
dependabot[bot]
7c2b3cd30e Bump pytest from 8.3.3 to 8.3.4
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.3.3 to 8.3.4.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/8.3.3...8.3.4)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-04 07:16:31 +11:00
dependabot[bot]
012fbcb587 Bump twine from 5.1.1 to 6.0.1
Bumps [twine](https://github.com/pypa/twine) from 5.1.1 to 6.0.1.
- [Release notes](https://github.com/pypa/twine/releases)
- [Changelog](https://github.com/pypa/twine/blob/main/docs/changelog.rst)
- [Commits](https://github.com/pypa/twine/compare/v5.1.1...6.0.1)

---
updated-dependencies:
- dependency-name: twine
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-03 15:17:45 +11:00
dependabot[bot]
4a1fe0fefe Bump pytest from 8.3.3 to 8.3.4
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.3.3 to 8.3.4.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/8.3.3...8.3.4)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-03 15:17:33 +11:00
dependabot[bot]
6abda35fce Bump pytest-cov from 5.0.0 to 6.0.0
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 5.0.0 to 6.0.0.
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v5.0.0...v6.0.0)

---
updated-dependencies:
- dependency-name: pytest-cov
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-31 07:48:56 +11:00
dependabot[bot]
2f3171670c Bump pytest from 8.3.2 to 8.3.3
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.3.2 to 8.3.3.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/8.3.2...8.3.3)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-13 08:39:35 +10:00
dependabot[bot]
304aaa5e46 Bump cryptography from 42.0.3 to 43.0.1
Bumps [cryptography](https://github.com/pyca/cryptography) from 42.0.3 to 43.0.1.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/42.0.3...43.0.1)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-12 08:17:09 +10:00
dependabot[bot]
f05d6531f2 Bump pytest from 8.3.2 to 8.3.3
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.3.2 to 8.3.3.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/8.3.2...8.3.3)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-12 08:16:55 +10:00
Brian May
e6074ed52d Revert "Suppress error P is not recognized as an internal or external command,operable program or batch file."
This reverts commit 6272a0212c.
2024-08-20 16:32:50 +10:00
Brian May
ac36a8a20e Revert "add next error log"
This reverts commit dc2287ccf8.
2024-08-20 16:32:50 +10:00
Brian May
09c3324978 Revert "restore single quote then it looks working"
This reverts commit d1dbed04a0.
2024-08-20 16:32:50 +10:00