Skip to content

Commit

Permalink
/* PR_START p--py312 06 */ Allow Python 3.12 in pyproject.toml.
Browse files Browse the repository at this point in the history
Sub-package versions were bumped to handle package cache issues.
  • Loading branch information
plypaul committed May 31, 2024
1 parent 11ae382 commit bfe27d9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-metricflow-unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.11"]
python-version: ["3.8", "3.12"]
steps:
- name: Check-out the repo
uses: actions/checkout@v3
Expand Down Expand Up @@ -46,10 +46,10 @@ jobs:
- name: Check-out the repo
uses: actions/checkout@v3

- name: Test w/ Python 3.11
- name: Test w/ Python 3.12
uses: ./.github/actions/run-mf-tests
with:
python-version: "3.11"
python-version: "3.12"
make-target: "test-postgresql"

metricflow-unit-tests:
Expand Down
3 changes: 2 additions & 1 deletion metricflow-semantics/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name = "metricflow-semantics"
version = "0.1.0"
description = "Modules for semantic understanding of a MetricFlow query."
readme = "README.md"
requires-python = ">=3.8,<3.12"
requires-python = ">=3.8,<3.13"
license = "BUSL-1.1"
authors = [
{ name = "dbt Labs", email = "[email protected]" },
Expand All @@ -20,6 +20,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name = "metricflow"
version = "0.206.0.dev2"
description = "Translates a simple metric definition into reusable SQL and executes it against the SQL engine of your choice."
readme = "README.md"
requires-python = ">=3.8,<3.12"
requires-python = ">=3.8,<3.13"
license = "BUSL-1.1"
keywords = []
authors = [
Expand All @@ -21,6 +21,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
Expand Down

0 comments on commit bfe27d9

Please sign in to comment.