Skip to content

Skip tests needing parse_date for all python 2.x#24473

Merged
tgamblin merged 1 commit intospack:developfrom
scheibelp:bugfix/ci-dateutil-py2x
Jun 22, 2021
Merged

Skip tests needing parse_date for all python 2.x#24473
tgamblin merged 1 commit intospack:developfrom
scheibelp:bugfix/ci-dateutil-py2x

Conversation

@scheibelp
Copy link
Copy Markdown
Member

No description provided.

@tgamblin tgamblin merged commit 477c8ce into spack:develop Jun 22, 2021
alalazo added a commit to alalazo/spack that referenced this pull request Jun 23, 2021
sethrj pushed a commit that referenced this pull request Jun 23, 2021
…ed (#24484)

* Force the Python interpreter with an env variable

This commit forces the Python interpreter with an
environment variable, to ensure that the Python set
by the "setup-python" action is the one being used.

Due to the policy adopted by Spack to prefer python3
over python we may end up picking a Python 3.X
interpreter where Python 2.7 was meant to be used.

* Revert "Update conftest.py (#24473)"

This reverts commit 477c8ce.

* Make python-dateutil a soft dependency for unit tests

Before #23212 people could clone spack and run
```
spack unit-tests
```
while now this is not possible, since python-dateutil is
a required but not vendored dependency. This change makes
it not a hard requirement, i.e. it will be used if found
in the current interpreter.

* Workaround mypy complaint
bollig pushed a commit to bollig/spack that referenced this pull request Jun 29, 2021
bollig pushed a commit to bollig/spack that referenced this pull request Jun 29, 2021
…ed (spack#24484)

* Force the Python interpreter with an env variable

This commit forces the Python interpreter with an
environment variable, to ensure that the Python set
by the "setup-python" action is the one being used.

Due to the policy adopted by Spack to prefer python3
over python we may end up picking a Python 3.X
interpreter where Python 2.7 was meant to be used.

* Revert "Update conftest.py (spack#24473)"

This reverts commit 477c8ce.

* Make python-dateutil a soft dependency for unit tests

Before spack#23212 people could clone spack and run
```
spack unit-tests
```
while now this is not possible, since python-dateutil is
a required but not vendored dependency. This change makes
it not a hard requirement, i.e. it will be used if found
in the current interpreter.

* Workaround mypy complaint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants