diff --git a/.github/workflows/pr-validation.yml b/.github/workflows/pr-validation.yml index d6a0c37..1fdee99 100644 --- a/.github/workflows/pr-validation.yml +++ b/.github/workflows/pr-validation.yml @@ -20,7 +20,7 @@ jobs: python-version: ["3.8", "3.9", "3.10", "3.11"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v3 with: @@ -44,6 +44,8 @@ jobs: TWINE_USERNAME: "__token__" steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Set up Python 3.11 uses: actions/setup-python@v5 with: diff --git a/pyproject.toml b/pyproject.toml index b6cb061..ed94136 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,12 +4,12 @@ # For more information on pyproject.toml, see https://peps.python.org/pep-0621/ [build-system] -requires = ["setuptools", "wheel"] +requires = ["setuptools", "wheel", "setuptools_scm"] build-backend = "setuptools.build_meta" [project] name = "durabletask-dapr" -version = "0.1.1-alpha.1" +dynamic = ["version"] description = "A Durable Task Client SDK for Python" keywords = [ "durable", @@ -35,6 +35,10 @@ changelog = "https://github.com/dapr/durabletask-python/blob/main/CHANGELOG.md" [tool.setuptools.packages.find] include = ["durabletask", "durabletask.*"] +[tool.setuptools_scm] +version_scheme = "guess-next-dev" +local_scheme = "no-local-version" + [tool.pytest.ini_options] minversion = "6.0" testpaths = ["tests"]