Skip to content

Commit

Permalink
Nox try to install numba only for python < 3.12 (not yet supported)
Browse files Browse the repository at this point in the history
  • Loading branch information
paugier committed Jan 15, 2024
1 parent 99d4aaa commit e475faf
Show file tree
Hide file tree
Showing 3 changed files with 238 additions and 246 deletions.
3 changes: 3 additions & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import os
from packaging import version

import nox

Expand All @@ -13,6 +14,8 @@ def _test(session):
def _install_base(session):
command = "pdm install -G base_test"
session.run_always(*command.split(), external=True)
if version.parse(session.python) < version.parse("3.12"):
session.run_always("pip", "install", "numba")


@nox.session
Expand Down
Loading

0 comments on commit e475faf

Please sign in to comment.