Skip to content

Commit

Permalink
Update to Python 3.9 (#308)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoxbro authored May 3, 2024
1 parent addd063 commit 9a52ec7
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ jobs:
conda config --set always_yes True
conda install -c pyviz "pyctdev>=0.5"
doit ecosystem=conda ecosystem_setup
conda install -c conda-forge conda-build
conda install -c conda-forge conda-build param
- name: conda build
run: |
doit ecosystem=conda package_build $CHANS_DEV $PKG_TEST_PYTHON --test-group=simple
conda build conda.recipe/ -c pyviz/label/dev -c conda-forge
- name: conda dev upload
if: (github.event_name == 'push' && (contains(steps.vars.outputs.tag, 'a') || contains(steps.vars.outputs.tag, 'b') || contains(steps.vars.outputs.tag, 'rc')))
run: |
Expand All @@ -67,14 +67,14 @@ jobs:
run:
shell: bash -l {0}
env:
PKG_TEST_PYTHON: "--test-python=py38"
PKG_TEST_PYTHON: "--test-python=py39"
steps:
- uses: actions/checkout@v3
- name: Fetch unshallow
run: git fetch --prune --tags --unshallow -f
- uses: actions/setup-python@v4
with:
python-version: "3.8"
python-version: "3.9"
- name: env setup
# toml is installed since a version of doit was raising an error while trying
# to parse pyproject.toml, looking for potential doit settings.
Expand Down
8 changes: 8 additions & 0 deletions conda.recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@ requirements:
- {{ dep }}
{% endfor %}

test:
imports:
- nbsite
requires:
- pip
commands:
- pip check
- nbsite --help

about:
home: {{ sdata['url'] }}
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[metadata]
license_file = LICENSE.txt
license_files = LICENSE.txt

[tool:autover]
reponame = nbsite
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def get_setup_version(root, reponame):
'Bug Tracker': 'https://github.com/holoviz-dev/nbsite/issues'
},
packages=find_packages(),
python_requires='>=3.8',
python_requires='>=3.9',
install_requires=[
'param >=1.7.0',
'pyviz_comms',
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# For more information about tox, see https://tox.readthedocs.io/en/latest/
[tox]
envlist = {py38,py39,py310,py311}-{lint,installed,unit,all,simple}-{default}-{dev,pkg}
envlist = {py39,py310,py311}-{lint,installed,unit,all,simple}-{default}-{dev,pkg}
build = wheel

[_simple]
Expand Down

0 comments on commit 9a52ec7

Please sign in to comment.