Skip to content

Commit

Permalink
Merge pull request gradio-app#11 from gradio-app/v-0.1.6
Browse files Browse the repository at this point in the history
bump
  • Loading branch information
abidlabs authored Dec 2, 2024
2 parents 976584b + dff7f60 commit 0b2a476
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ dev = ["pytest"]
packages = ["safehttpx"]

[tool.hatch.version]
path = "version.txt"
path = "safehttpx/version.txt"
pattern = "^(?P<version>[0-9]+\\.[0-9]+\\.[0-9]+)$"
2 changes: 1 addition & 1 deletion safehttpx/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import httpx

def get_version():
version_file = Path(__file__).parent.parent / 'version.txt'
version_file = Path(__file__).parent / 'version.txt'
with open(version_file, 'r') as f:
return f.read().strip()

Expand Down
1 change: 1 addition & 0 deletions safehttpx/version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.1.6
1 change: 0 additions & 1 deletion version.txt

This file was deleted.

0 comments on commit 0b2a476

Please sign in to comment.