Skip to content

Commit

Permalink
Add Python 3.11 markers and add 3.11 for unit tests (#53)
Browse files Browse the repository at this point in the history
* Update pyproject.toml

* Update unit_tests_with_latest_deps.yml

* Update pyproject.toml

* Update Makefile
  • Loading branch information
Gaurav Sheni authored Apr 17, 2023
1 parent 7b2258d commit 8ea48bc
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/unit_tests_with_latest_deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python_version: ["3.8", "3.9", "3.10"]
python_version: ["3.8", "3.9", "3.10", "3.11"]
env:
ALTERYX_OPEN_SRC_UPDATE_CHECKER: False
steps:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ upgradesetuptools:
.PHONY: package
package: upgradepip upgradebuild upgradesetuptools
python -m build
$(eval PACKAGE=$(shell python -c "from pep517.meta import load; metadata = load('.'); print(metadata.version)"))
$(eval PACKAGE=$(shell python -c 'import setuptools; setuptools.setup()' --version))
tar -zxvf "dist/alteryx_open_src_update_checker-${PACKAGE}.tar.gz"
mv "alteryx_open_src_update_checker-${PACKAGE}" unpacked_sdist
14 changes: 11 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ classifiers = [
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix",
Expand All @@ -40,9 +41,9 @@ dependencies = [

[project.optional-dependencies]
dev = [
"ruff",
"black == 22.12.0",
"pre-commit == 2.20.0",
"ruff >= 0.0.239",
"black[jupyter] >= 23.1.0",
"pre-commit >= 2.20.0",
]
test = [
"pip >= 21.3.1",
Expand Down Expand Up @@ -119,3 +120,10 @@ exclude_lines =[
"if profile:",
"pytest.skip"
]

[build-system]
requires = [
"setuptools >= 61.0.0",
"wheel"
]
build-backend = "setuptools.build_meta"

0 comments on commit 8ea48bc

Please sign in to comment.