Skip to content

Commit

Permalink
Merge pull request #53 from neutrons/python_version
Browse files Browse the repository at this point in the history
Remove runtime dependency on python version
  • Loading branch information
peterfpeterson authored Apr 15, 2024
2 parents 460a2dc + 2257a24 commit 52a6f81
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ["3.7", "3.8"]
python-version: ["3.9", "3.10"]

steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
Expand Down Expand Up @@ -52,11 +52,11 @@ jobs:
tox -e coverage
pip install coverage
bash <(curl -s https://codecov.io/bash)
- name: Build Python package and Upload to PyPi
shell: bash -l {0}
if: startsWith( github.ref, 'refs/tags/v') && matrix.python-version == env.PYTHON_MAIN_VERSION
env:
env:
PYPI_TOKEN_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: |
pip install wheel twine
Expand All @@ -65,7 +65,7 @@ jobs:
- name: Build conda package and upload to Anaconda
shell: bash -l {0}
if: startsWith( github.ref, 'refs/tags/v')
if: startsWith( github.ref, 'refs/tags/v') && matrix.python-version == env.PYTHON_MAIN_VERSION
env:
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
IS_RC: ${{ contains(github.ref, 'rc') }}
Expand Down
1 change: 0 additions & 1 deletion conda.recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ source:

build:
noarch: python
string: py{{py}}
script: python setup.py install --single-version-externally-managed --record=record.txt
entry_points:
- pystog_cli = pystog.cli:pystog_cli
Expand Down

0 comments on commit 52a6f81

Please sign in to comment.