From 3c3ebe800a1cb5058d2cb76482495036553925bf Mon Sep 17 00:00:00 2001 From: Micah Sandusky Date: Fri, 31 May 2024 10:57:10 -0600 Subject: [PATCH] try using python3 pip --- .github/workflows/build.yml | 8 ++++---- .github/workflows/main.yml | 8 ++++---- setup.py | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 65a63aa..454b925 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,7 +17,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macOS-latest] - python-version: [3.7, 3.8, 3.9] + python-version: [3.8, 3.9, '3.10'] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} @@ -27,9 +27,9 @@ jobs: - name: Install Macos/Linux dependencies run: | - pip install --upgrade pip setuptools wheel - python -m pip install -r requirements.txt - python setup.py install + python3 -m pip install --upgrade pip setuptools wheel + python3 -m pip install -r requirements.txt + python3 setup.py install - name: Install Validation run: | python -c "import snowexsql" diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ca80746..16de730 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.7, 3.8, 3.9] + python-version: [3.8, 3.9, '3.10'] services: @@ -44,9 +44,9 @@ jobs: run: | sudo apt-get update sudo apt-get install -y postgis gdal-bin - python -m pip install --upgrade pip - pip install pytest coverage - if [ -f requirements_dev.txt ]; then pip install -r requirements_dev.txt; fi + python3 -m pip install --upgrade pip + python3 -m pip install pytest coverage + if [ -f requirements_dev.txt ]; then python3 -m pip install -r requirements_dev.txt; fi - name: Test with pytest run: | pytest -s diff --git a/setup.py b/setup.py index a7a21a8..92548f8 100644 --- a/setup.py +++ b/setup.py @@ -27,9 +27,9 @@ 'Development Status :: 2 - Pre-Alpha', 'Intended Audience :: Developers', 'Natural Language :: English', - 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10' ], description="SQL Database software for SnowEx data", entry_points={