Skip to content

Commit 6109e1b

Browse files
committed
prepare 0.3.9
1 parent 4d4f134 commit 6109e1b

File tree

9 files changed

+17
-15
lines changed

9 files changed

+17
-15
lines changed

.github/workflows/rustpublish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ jobs:
1717
env:
1818
CARGO_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
1919
run: |
20-
cargo publish --manifest-path .\server\Cargo.toml --token ${CARGO_TOKEN}
21-
cargo publish --manifest-path .\rust_client\Cargo.toml --token ${CARGO_TOKEN}
20+
cargo publish --token ${CARGO_TOKEN} --manifest-path .\server\Cargo.toml
21+
cargo publish --token ${CARGO_TOKEN} --manifest-path .\rust_client\Cargo.toml
2222

Cargo.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Changelog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
Changelog
22
=========
33

4+
0.3.9
5+
-----
6+
7+
* Test release process, no changes.
8+
49
0.3.8
510
-----
611

python_client/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setup(
77
name="throttle_client",
8-
version="0.3.8",
8+
version="0.3.9",
99
author="Markus Klein",
1010
description="Client for Throttle. Throttle is a http semaphore service, providing"
1111
"semaphores for distributed systems.",

python_client/tests/test_lock.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,7 @@ def test_nested_locks():
189189
"""
190190
Nested locks should be well behaved
191191
"""
192-
with throttle(
193-
b"[semaphores]\nA={ max=1, level=1 }\nB={ max=1, level=0 }"
194-
) as url:
192+
with throttle(b"[semaphores]\nA={ max=1, level=1 }\nB={ max=1, level=0 }") as url:
195193
client = Client(url)
196194
with lock(url, "A"):
197195

python_client/throttle_client/__init__.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@
66

77
import requests
88

9-
from .client import UnknownPeer, Client
9+
from .client import Client, UnknownPeer
1010
from .peer import Peer, PeerWithHeartbeat
1111

12-
1312
# Silence flake8 warning about unused import
1413
_reexport = [Client]
1514

@@ -25,7 +24,7 @@ def init_peers():
2524
"""
2625
Check if peers is initialized on the local thread. If not initalize it.
2726
"""
28-
peers = getattr(threadlocal, 'peers', None)
27+
peers = getattr(threadlocal, "peers", None)
2928
if peers is None:
3029
threadlocal.peers = {}
3130

rust_client/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "throttle-client"
3-
version = "0.3.8"
3+
version = "0.3.9"
44
authors = ["Markus Klein <markus-klein@live.de>"]
55
edition = "2018"
66

server/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "throttle-server"
3-
version = "0.3.8"
3+
version = "0.3.9"
44
authors = ["Markus Klein"]
55
edition = "2018"
66
license = "MIT"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def run(self):
9595
setup(
9696
name="throttle-server",
9797
author="Markus klein",
98-
version="0.3.7",
98+
version="0.3.9",
9999
url="https://github.com/pacman82/throttle",
100100
description="Throttle server. Throttle is a http semaphore service, providing"
101101
"semaphores for distributed systems. Packaged as a wheel for the convinience of"

0 commit comments

Comments
 (0)