Skip to content

Commit

Permalink
Adding py311 for appveyor (#7854) (#7857)
Browse files Browse the repository at this point in the history
Co-authored-by: seshubaws <[email protected]>
  • Loading branch information
Vandita2020 and seshubaws authored Feb 3, 2025
1 parent 426c75f commit 0f7d6b4
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 14 deletions.
2 changes: 1 addition & 1 deletion appveyor-linux-binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ install:
- sh: "./aws_cli/bin/python -m pip install awscli"
- sh: "PATH=$(echo $PWD'/aws_cli/bin'):$PATH"

- sh: "PATH=$PATH:$HOME/venv3.7/bin:$HOME/venv3.8/bin:$HOME/venv3.9/bin:$HOME/venv3.10/bin:$HOME/venv3.11/bin:$HOME/venv3.12/bin:$HOME/venv3.13/bin"
- sh: "PATH=$PATH:$HOME/venv3.9/bin:$HOME/venv3.10/bin:$HOME/venv3.11/bin:$HOME/venv3.12/bin:$HOME/venv3.13/bin"

# Install pytest
- sh: "python3.9 -m venv $HOME/pytest"
Expand Down
4 changes: 2 additions & 2 deletions appveyor-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ configuration:
- OtherAndEndToEndTesting

environment:
PYTHON_HOME: "$HOME/venv3.8/bin"
PYTHON_VERSION: '3.8'
PYTHON_HOME: "$HOME/venv3.11/bin"
PYTHON_VERSION: '3.11'
AWS_DEFAULT_REGION: us-east-1
SAM_CLI_DEV: 1
NODE_VERSION: "18.18.2"
Expand Down
8 changes: 4 additions & 4 deletions appveyor-windows-al2023.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ environment:
TMPDIR: "%TEMP%"
TMP: "%TEMP%"

# MSI Installers only use Py3.8. It is sufficient to test with this version here.
PYTHON_HOME: "C:\\Python38-x64"
PYTHON_SCRIPTS: "C:\\Python38-x64\\Scripts"
PYTHON_EXE: "C:\\Python38-x64\\python.exe"
# MSI Installers use Py3.11. It is sufficient to test with this version here.
PYTHON_HOME: "C:\\Python311-x64"
PYTHON_SCRIPTS: "C:\\Python311-x64\\Scripts"
PYTHON_EXE: "C:\\Python311-x64\\python.exe"
PYTHON_ARCH: "64"
HOME: 'C:\Users\appveyor'
HOMEDRIVE: "C:"
Expand Down
8 changes: 4 additions & 4 deletions appveyor-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ environment:
TMPDIR: "%TEMP%"
TMP: "%TEMP%"

# MSI Installers only use Py3.8. It is sufficient to test with this version here.
PYTHON_HOME: "C:\\Python38-x64"
PYTHON_SCRIPTS: "C:\\Python38-x64\\Scripts"
PYTHON_EXE: "C:\\Python38-x64\\python.exe"
# MSI Installers uses Py3.11. It is sufficient to test with this version here.
PYTHON_HOME: "C:\\Python311-x64"
PYTHON_SCRIPTS: "C:\\Python311-x64\\Scripts"
PYTHON_EXE: "C:\\Python311-x64\\python.exe"
PYTHON_ARCH: "64"
HOME: 'C:\Users\appveyor'
HOMEDRIVE: "C:"
Expand Down
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ def read_version():
license="Apache License 2.0",
packages=find_packages(exclude=["tests.*", "tests", "installer.*", "installer", "schema.*", "schema"]),
keywords="AWS SAM CLI",
# Support Python 3.8 or greater
python_requires=">=3.8, <=4.0, !=4.0",
# Support Python 3.9 or greater
python_requires=">=3.9, <=4.0, !=4.0",
entry_points={"console_scripts": ["{}=samcli.cli.main:cli".format(cmd_name)]},
install_requires=read_requirements("base.txt"),
extras_require={"pre-dev": read_requirements("pre-dev.txt"), "dev": read_requirements("dev.txt")},
Expand All @@ -68,7 +68,6 @@ def read_version():
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.11",
"Topic :: Internet",
Expand Down

0 comments on commit 0f7d6b4

Please sign in to comment.