diff --git a/.github/workflows/build_release.yml b/.github/workflows/build_release.yml index 47fb2a4..b361cb2 100644 --- a/.github/workflows/build_release.yml +++ b/.github/workflows/build_release.yml @@ -20,9 +20,9 @@ jobs: contents: write runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 - name: Set up PDM - uses: pdm-project/setup-pdm@v4 + uses: pdm-project/setup-pdm@94a823180e06fcde4ad29308721954a521c96ed0 # v4 with: python-version: 3.12 - name: Build Release diff --git a/.github/workflows/continuous_integration.yml b/.github/workflows/continuous_integration.yml index 2cbe2ac..de7c859 100644 --- a/.github/workflows/continuous_integration.yml +++ b/.github/workflows/continuous_integration.yml @@ -15,7 +15,7 @@ jobs: - macos-local steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 - name: Install dependencies run: | pdm install -dG test diff --git a/.github/workflows/test_lint_scan.yml b/.github/workflows/test_lint_scan.yml index 5178387..ccd816b 100644 --- a/.github/workflows/test_lint_scan.yml +++ b/.github/workflows/test_lint_scan.yml @@ -14,9 +14,9 @@ jobs: runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 - name: Set up PDM - uses: pdm-project/setup-pdm@v4 + uses: pdm-project/setup-pdm@94a823180e06fcde4ad29308721954a521c96ed0 # v4 with: python-version: ${{ matrix.python-version }} - name: Install dependencies @@ -31,9 +31,9 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 - name: Set up PDM - uses: pdm-project/setup-pdm@v4 + uses: pdm-project/setup-pdm@94a823180e06fcde4ad29308721954a521c96ed0 # v4 with: python-version: 3.12 - name: Install dependencies @@ -48,20 +48,20 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 - name: Set up PDM - uses: pdm-project/setup-pdm@v4 + uses: pdm-project/setup-pdm@94a823180e06fcde4ad29308721954a521c96ed0 # v4 with: python-version: 3.12 - name: Install dependencies run: | pdm install -dG :all --no-self - name: Initialize Runtime Code Analysis - uses: github/codeql-action/init@v3 + uses: github/codeql-action/init@ebcb5b36ded6beda4ceefea6a8bc4cc885255bb3 # v3 with: languages: python - name: Perform Runtime Code Analysis - uses: github/codeql-action/analyze@v3 + uses: github/codeql-action/analyze@ebcb5b36ded6beda4ceefea6a8bc4cc885255bb3 # v3 env: CODEQL_EXTRACTOR_PYTHON_ANALYSIS_VERSION: 3.12 - name: Perform Secure Code Analysis (Secrets) diff --git a/pyproject.toml b/pyproject.toml index b2490b0..309dce8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,7 @@ authors = [ ] description = "Next generation GUIDs. Collision-resistant ids optimized for horizontal scaling and performance." readme = "README.md" -requires-python = ">=3.8" +requires-python = "==3.14.3" license = {file = "LICENSE"} classifiers = [ "Development Status :: 5 - Production/Stable", @@ -51,24 +51,24 @@ tox = "tox --parallel auto" [tool.pdm.dev-dependencies] lint = [ - "codespell~=2.2.6", # https://github.com/codespell-project/codespell (latest: 2.2.6) - "pylint~=3.1.0", # https://github.com/pylint-dev/pylint (latest: 3.1.0) - "requests>=2.31.0", # https://github.com/psf/requests (latest: 2.31.0) - "ruff~=0.3.7", # https://github.com/astral-sh/ruff (latest: 0.3.7) + "codespell==2.2.6", # https://github.com/codespell-project/codespell (latest: 2.2.6) + "pylint==3.1.0", # https://github.com/pylint-dev/pylint (latest: 3.1.0) + "requests==2.31.0", # https://github.com/psf/requests (latest: 2.31.0) + "ruff==0.3.7", # https://github.com/astral-sh/ruff (latest: 0.3.7) "safety==3.1.0", # https://github.com/pyupio/safety (latest: 3.1.0) ] test = [ - "pytest~=8.1.1", # https://github.com/pytest-dev/pytest (latest: 8.1.1) - "pytest-mock~=3.14.0", # https://github.com/pytest-dev/pytest-mock/ (latest: 3.14.0) - "pytest-sugar~=1.0.0", # https://github.com/Teemu/pytest-sugar (latest: 1.0.0) + "pytest==8.1.1", # https://github.com/pytest-dev/pytest (latest: 8.1.1) + "pytest-mock==3.14.0", # https://github.com/pytest-dev/pytest-mock/ (latest: 3.14.0) + "pytest-sugar==1.0.0", # https://github.com/Teemu/pytest-sugar (latest: 1.0.0) ] tox = [ # Version reduced to prevent `packaging` conflict with safety - "tox~=4.14.2", # https://github.com/tox-dev/tox (latest: 4.14.2) - "tox-pdm~=0.7.2", # https://github.com/pdm-project/tox-pdm (latest: 0.7.2) + "tox==4.14.2", # https://github.com/tox-dev/tox (latest: 4.14.2) + "tox-pdm==0.7.2", # https://github.com/pdm-project/tox-pdm (latest: 0.7.2) ] typing = [ - "mypy~=1.9.0", # https://github.com/python/mypy (latest: 1.9.0) + "mypy==1.9.0", # https://github.com/python/mypy (latest: 1.9.0) ] [tool.tox]