Skip to content

Commit

Permalink
ci(noxfile): updated deploy session
Browse files Browse the repository at this point in the history
in nox version 2022.8.7, it is no longer permitted to use "session.install" in a session without virtualenv setup.
So, I set up python3.7 for this session since it is the one used in publish GitHub action workflow.
  • Loading branch information
lewoudar committed Aug 13, 2022
1 parent 1009959 commit ffac4fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion noxfile.py
Expand Up @@ -41,7 +41,7 @@ def docs(session):
session.run('mkdocs', 'build', '--clean')


@nox.session(python=False)
@nox.session(python=PYTHON_VERSIONS[1])
def deploy(session):
"""
Deploys on pypi.
Expand Down

0 comments on commit ffac4fc

Please sign in to comment.