Skip to content

Commit 015fc49

Browse files
removed dynamic __version__ + add wheels for python 3.10,11
1 parent d3bc337 commit 015fc49

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed

.github/workflows/release-python.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ jobs:
6565
matrix:
6666
os: [ubuntu-latest, macos-14, macos-latest, windows-latest]
6767
# os: [macos-14]
68-
python-version: ["3.9"] # , "3.10"
69-
# python-version: ["3.10"]
68+
python-version: ["3.9", "3.10", "3.11"] # , "3.10"
69+
7070
architecture: [x86_64, aarch64] # Explicitly define architectures
7171
# architecture: [aarch64] # Explicitly define architectures
7272
exclude:

polodb/version.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
1-
import tomli
21
import os
32

43

5-
def get_version():
6-
pyproject_path = os.path.join(os.path.dirname(__file__), "..", "pyproject.toml")
7-
with open(pyproject_path, "rb") as f:
8-
pyproject_data = tomli.load(f)
9-
return pyproject_data["project"]["version"] # Adjust if using a different tool
10-
11-
12-
__version__ = get_version()
4+
__version__ = "0.1.18"

0 commit comments

Comments
 (0)