Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Upgrade to Visual Studio 2022 in appveyor.yml#30239

New issue

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
QuLogic merged 1 commit intomatplotlib:mainfromjkseppan:vcvars
Jul 3, 2025

Conversation

jkseppan
Copy link
Member

@jkseppanjkseppan commentedJul 1, 2025
edited
Loading

Let's see if this resolves the build error


Previous description:

Call vcvars batch file in appveyor.yml

As perhttps://www.appveyor.com/docs/lang/cpp/

Recent Appveyor builds including#30232 and#30236 are failing with

log lines for pip install -v --no-build-isolation --editable .[dev]
pip install -v --no-build-isolation --editable .[dev]Using pip 25.1.1 from C:\Users\appveyor\AppData\Roaming\mamba\envs\mpl-dev\Lib\site-packages\pip (python 3.11)Obtaining file:///C:/projects/matplotlib  Checking if build backend supports build_editable: started  Running command Checking if build backend supports build_editable  Checking if build backend supports build_editable: finished with status 'done'  Preparing editable metadata (pyproject.toml): started  Running command Preparing editable metadata (pyproject.toml)  + meson setup C:\projects\matplotlib C:\projects\matplotlib\build\cp311 -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=C:\projects\matplotlib\build\cp311\meson-python-native-file.ini  The Meson build system  Version: 1.8.2  Source dir: C:\projects\matplotlib  Build dir: C:\projects\matplotlib\build\cp311  Build type: native build  Program python found: YES 3.11.13 3.11.13  Project name: matplotlib  Project version: 3.11.0.dev1494+g211d94a8  ..\..\meson.build:1:0: ERROR: Unknown compiler(s): [['cl.exe']]  The following exception(s) were encountered:  Running `cl.exe /?` gave "[WinError 2] The system cannot find the file specified"  A full log can be found at C:\projects\matplotlib\build\cp311\meson-logs\meson-log.txt  error: subprocess-exited-with-error    × Preparing editable metadata (pyproject.toml) did not run successfully.  │ exit code: 1  ╰─> See above for output.    note: This error originates from a subprocess, and is likely not a problem with pip.  full command: 'C:\Users\appveyor\AppData\Roaming\mamba\envs\mpl-dev\python.exe' 'C:\Users\appveyor\AppData\Roaming\mamba\envs\mpl-dev\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py' prepare_metadata_for_build_editable 'C:\Users\appveyor\AppData\Local\Temp\1\tmpls4kfivo'  cwd: C:\projects\matplotlib  Preparing editable metadata (pyproject.toml): finished with status 'error'error: metadata-generation-failed× Encountered error while generating package metadata.╰─> See above for output.note: This is an issue with the package mentioned above, not pip.hint: See above for details.Command exited with code 1

This build at least gets past that command.

@jkseppanjkseppan marked this pull request as ready for reviewJuly 1, 2025 16:41
@jkseppanjkseppan added CI: testingCI configuration and testing Maintenance labelsJul 1, 2025
Copy link
Member

@QuLogicQuLogic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Something else is wrong here. AppVeyor uses our condaenvironment.yml, which as of#28352 includes compilers from conda-forge.

Looking at the diff between logs, conda-forge updatedc-compiler/cxx-compiler from 1.9.0 to 1.10.0, andvs2019_win-64 tovs2022_win-64. Fromhttps://www.appveyor.com/docs/windows-images-software/ MSVC 2022 is in the "Visual Studio 2022" image, so we either need to pin the compilers from conda-forge, or update to that instead of our current "Visual Studio 2019".

Since we don't use these builds for wheels or anything user-facing like that, I think we should do the latter.

jkseppan reacted with thumbs up emoji
@jkseppanjkseppan changed the titleCall vcvars batch file in appveyor.ymlUpgrade to Visual Studio 2022 in appveyor.ymlJul 3, 2025
@QuLogicQuLogic added this to thev3.11.0 milestoneJul 3, 2025
@QuLogicQuLogic merged commit2899656 intomatplotlib:mainJul 3, 2025
40 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@QuLogicQuLogicQuLogic approved these changes

@timhoffmtimhoffmtimhoffm approved these changes

Assignees
No one assigned
Labels
CI: testingCI configuration and testingMaintenance
Projects
None yet
Milestone
v3.11.0
Development

Successfully merging this pull request may close these issues.

3 participants
@jkseppan@QuLogic@timhoffm

[8]ページ先頭

©2009-2025 Movatter.jp