Skip to content
This repository was archived by the owner on Feb 23, 2026. It is now read-only.
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Import the correct version package
  • Loading branch information
lidizheng committed Apr 22, 2020
commit 42f8c3640521fb3dcfbe6a7a55a9abddb93274fc
4 changes: 2 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

from __future__ import absolute_import
import os
import packaging
from packaging import version
import shutil
import sys

Expand All @@ -35,7 +35,7 @@ def default(session):
session.install("-e", ".")

# Inject AsyncIO content, if version >= 3.6.
if packaging.version(session.python) >= packaging.version('3.6'):
if version(session.python) >= version('3.6'):
session.install(
"asyncmock",
"git+https://github.com/pytest-dev/pytest-asyncio.git")
Expand Down