Skip to content

Commit

Permalink
Fix github action recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
romainsacchi committed Feb 11, 2024
1 parent ba7fe12 commit 18ae709
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ jobs:
- uses: actions/checkout@v2

- name: Install python version
uses: gabrielfalcao/pyenv-action@v7
uses: gabrielfalcao/pyenv-action@v13
with:
default: 3.9.0
default: 3.10.6
command: pip install -U pip # upgrade pip after installing python

- name: create environment
run: pyenv local 3.9.0 && python -mvenv .venv390
run: pyenv local 3.10.6 && python -mvenv .venv390

- name: Install dependencies
run: |
Expand All @@ -88,7 +88,7 @@ jobs:
fail-fast: false
matrix:
os: [ "ubuntu-latest" ]
python-version: [ "3.9" ]
python-version: [ "3.10" ]
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
Expand Down
2 changes: 1 addition & 1 deletion conda/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
python:
- 3.9
- 3.10
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def package_files(directory):
package_data={
"carculator_truck": package_files(os.path.join("carculator_truck", "data"))
},
python_requires=">=3.10",
install_requires=["carculator_utils>=1.2.0.dev5", "prettytable"],
url="https://github.com/romainsacchi/carculator_truck",
description="Prospective environmental and economic life cycle assessment"
Expand Down

0 comments on commit 18ae709

Please sign in to comment.