Skip to content

Commit

Permalink
Merge pull request #237 from Anaconda-Platform/update-test
Browse files Browse the repository at this point in the history
update versioneer and github actions
  • Loading branch information
mcg1969 authored Mar 4, 2024
2 parents d217629 + 3d5dafb commit 23cabc7
Show file tree
Hide file tree
Showing 9 changed files with 1,057 additions and 440 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
fail-fast: false
matrix:
os: [macos-latest,ubuntu-latest,windows-latest]
pyver: [2.7,3.6,3.7,3.8]
pyver: ["3.8","3.9","3.10","3.11"]
steps:
- name: Retrieve the source code
uses: actions/checkout@v2
Expand Down
8 changes: 4 additions & 4 deletions conda-recipe/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
python:
- 3.5
- 3.6
- 3.7
- 2.7
- "3.8"
- "3.9"
- "3.10"
- "3.11"

5 changes: 2 additions & 3 deletions conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,14 @@ test:
- setup.cfg
- tests
requires:
- backports.functools_lru_cache # [py2k]
- pytest
- pytest-cov
- ipykernel
- notebook
- notebook <7
- requests
- mock
commands:
- python -m nb_conda_kernels list # [py3k]
- python -m nb_conda_kernels list
- python -m pytest -v --cov=nb_conda_kernels tests

about:
Expand Down
5 changes: 2 additions & 3 deletions nb_conda_kernels/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# flake8: noqa
from .manager import CondaKernelSpecManager
from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
from . import _version
__version__ = _version.get_versions()['version']
Loading

0 comments on commit 23cabc7

Please sign in to comment.