| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
| Expand Up | @@ -18,17 +18,14 @@ environment: | |||||||
| PYTHONIOENCODING: UTF-8 | ||||||||
| PYTEST_ARGS: -raR --numprocesses=auto --timeout=300 --durations=25 | ||||||||
| --cov-report= --cov=lib --log-level=DEBUG | ||||||||
| PINNEDVERS: "pyzmq!=21.0.0,!=22.0.0" | ||||||||
|
|
||||||||
| matrix: | ||||||||
| - PYTHON_VERSION: "3.8" | ||||||||
| CONDA_INSTALL_LOCN: "C:\\Miniconda3-x64" | ||||||||
| TEST_ALL: "no" | ||||||||
| EXTRAREQS: "-r requirements/testing/extra.txt" | ||||||||
| - PYTHON_VERSION: "3.9" | ||||||||
| CONDA_INSTALL_LOCN: "C:\\Miniconda3-x64" | ||||||||
| TEST_ALL: "no" | ||||||||
| EXTRAREQS: "-r requirements/testing/extra.txt" | ||||||||
|
|
||||||||
| # We always use a 64-bit machine, but can build x86 distributions | ||||||||
| # with the PYTHON_ARCH variable | ||||||||
| Expand All | @@ -52,19 +49,13 @@ install: | |||||||
| - conda config --prepend channels conda-forge | ||||||||
|
|
||||||||
| # For building, use a new environment | ||||||||
| - conda create -q -n test-environment python=%PYTHON_VERSION% tk "pip<22.0" | ||||||||
| - activate test-environment | ||||||||
| # pull pywin32 from conda because on py38 there is something wrong with finding | ||||||||
| # the dlls when installed from pip | ||||||||
| # Add python version to environment | ||||||||
| # `^ ` escapes spaces for indentation | ||||||||
| - echo ^ ^ - python=%PYTHON_VERSION% >> environment.yml | ||||||||
| - conda env create -f environment.yml | ||||||||
| - activate mpl-dev | ||||||||
|
Comment thread
QuLogic marked this conversation as resolved.
|
||||||||
| - conda install -c conda-forge pywin32 | ||||||||
| # install pyqt from conda-forge | ||||||||
| - conda install -c conda-forge pyqt | ||||||||
| - echo %PYTHON_VERSION% %TARGET_ARCH% | ||||||||
| # Install dependencies from PyPI. | ||||||||
| - python -m pip install --upgrade -r requirements/testing/all.txt %EXTRAREQS% %PINNEDVERS% | ||||||||
| # Install optional dependencies from PyPI. | ||||||||
| # Sphinx is needed to run sphinxext tests | ||||||||
| - python -m pip install --upgrade sphinx | ||||||||
| # Show the installed packages + versions | ||||||||
| - conda list | ||||||||
|
|
||||||||
| Expand Down Expand Up | @@ -104,7 +95,7 @@ artifacts: | |||||||
| type: zip | ||||||||
|
|
||||||||
| on_finish: | ||||||||
| - pip install codecov | ||||||||
| - conda install codecov | ||||||||
|
Comment thread
Copy link
Copy Markdown
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low QualityLikely
Suggested change
because we don't want to mix conda forge and main channel.
Sorry, something went wrong.
All reactions
Copy link
Copy Markdown
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low QualityConda forge is actually configured by the environment, so everything is conda-forge. The earlier instance of installing win32 could actually remove the explicit -c conda-forge https://ci.appveyor.com/project/matplotlib/matplotlib/builds/45337448/job/aie7c1u8m0pf3nf6#L1893
Sorry, something went wrong.
All reactions
Copy link
Copy Markdown
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low QualityWhere does conda say that the channel config from an environment.yml is preseved? I just tested with a minimal name: cftest
channels:
- conda-forge
dependencies:
- python=3.7
and when I do a conda install numpy in that environment, conda wants to install from the main channel.
Sorry, something went wrong.
All reactions
Copy link
Copy Markdown
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low QualityIn that case, its probably because we prepend conda-forge to the base channels list before creating the environment: Line 49 in e2131bb
Sorry, something went wrong.
All reactions
Copy link
Copy Markdown
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low QualityAh, that should be it.
Sorry, something went wrong.
All reactions
|
||||||||
| - codecov -e PYTHON_VERSION PLATFORM | ||||||||
|
|
||||||||
| on_failure: | ||||||||
| Expand Down | ||||||||
| Back | FazBrowse Home | New Git URL |
Uh oh!
There was an error while loading. Please reload this page.