From lprehn at mpi-inf.mpg.de Sun Apr 5 14:26:54 2020 From: lprehn at mpi-inf.mpg.de (Lars Prehn) Date: Sun, 5 Apr 2020 20:26:54 +0200 Subject: [Matplotlib-devel] build fails on MacOsX 10.15.3 Message-ID: <17f34db1-94b3-8f08-6d54-3c5fdc6e335f@mpi-inf.mpg.de> Hi everyone, I'd like to build matplotlib from the gitlab source. I'm stuck at the point where I need to run: python -mpip install . the output looks as follows (shortened a bit): (matplotlib_dev) Tests-MacBook-Pro-2:matplotlib tadmin$ python -mpip install . Processing /Users/tadmin/projects_2020/matplotlib Requirement already satisfied: cycler>=0.10 in /Users/tadmin/matplotlib_dev/lib/python3.7/site-packages (from matplotlib==3.2.1+1866.gd1f07d344.dirty) (0.10.0) Requirement already satisfied: kiwisolver>=1.0.1 in /Users/tadmin/matplotlib_dev/lib/python3.7/site-packages (from matplotlib==3.2.1+1866.gd1f07d344.dirty) (1.2.0) Requirement already satisfied: numpy>=1.15 in /Users/tadmin/matplotlib_dev/lib/python3.7/site-packages (from matplotlib==3.2.1+1866.gd1f07d344.dirty) (1.18.2) Requirement already satisfied: pillow>=6.2.0 in /Users/tadmin/matplotlib_dev/lib/python3.7/site-packages (from matplotlib==3.2.1+1866.gd1f07d344.dirty) (7.1.1) Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.3 in /Users/tadmin/matplotlib_dev/lib/python3.7/site-packages (from matplotlib==3.2.1+1866.gd1f07d344.dirty) (2.4.6) Requirement already satisfied: python-dateutil>=2.1 in /Users/tadmin/matplotlib_dev/lib/python3.7/site-packages (from matplotlib==3.2.1+1866.gd1f07d344.dirty) (2.8.1) Requirement already satisfied: six in /Users/tadmin/matplotlib_dev/lib/python3.7/site-packages (from cycler>=0.10->matplotlib==3.2.1+1866.gd1f07d344.dirty) (1.14.0) Installing collected packages: matplotlib ??? Running setup.py install for matplotlib ... error ??? ERROR: Command errored out with exit status 1: ???? command: /Users/tadmin/matplotlib_dev/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/km/pk_8hct1101_18g4znr_wdm00000gq/T/pip-req-build-x2e7fmv6/setup.py'"'"'; __file__='"'"'/private/var/folders/km/pk_8hct1101_18g4znr_wdm00000gq/T/pip-req-build-x2e7fmv6/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/km/pk_8hct1101_18g4znr_wdm00000gq/T/pip-record-qxw7pttp/install-record.txt --single-version-externally-managed --compile --install-headers /Users/tadmin/matplotlib_dev/include/site/python3.7/matplotlib ???????? cwd: /private/var/folders/km/pk_8hct1101_18g4znr_wdm00000gq/T/pip-req-build-x2e7fmv6/ ??? Complete output (569 lines): ??? Edit setup.cfg to change the build options; suppress output with --quiet. ??? BUILDING MATPLOTLIB ????? matplotlib: yes [3.2.1+1866.gd1f07d344.dirty] ????????? python: yes [3.7.1 (default, Dec 14 2018, 13:28:58) [Clang 4.0.1 ????????????????????? (tags/RELEASE_401/final)]] ??????? platform: yes [darwin] ???? sample_data: yes [installing] ?????????? tests: no? [skipping due to configuration] ????????? macosx: yes [installing] ??? /Users/tadmin/anaconda3/lib/python3.7/distutils/dist.py:274: UserWarning: Unknown distribution option: 'long_description_content_type' ????? warnings.warn(msg) ??? running install ??? running build ??? running build_py ??? creating build/lib.macosx-10.7-x86_64-3.7 ??? copying lib/pylab.py -> build/lib.macosx-10.7-x86_64-3.7 ??? creating build/lib.macosx-10.7-x86_64-3.7/mpl_toolkits ??? copying lib/mpl_toolkits/__init__.py -> build/lib.macosx-10.7-x86_64-3.7/mpl_toolkits ??? creating build/lib.macosx-10.7-x86_64-3.7/matplotlib ??? copying lib/matplotlib/hatch.py -> build/lib.macosx-10.7-x86_64-3.7/matplotlib ..... copying lib/matplotlib/mpl-data/stylelib/seaborn-deep.mplstyle -> build/lib.macosx-10.7-x86_64-3.7/matplotlib/mpl-data/stylelib ??? copying lib/matplotlib/mpl-data/images/back.pdf -> build/lib.macosx-10.7-x86_64-3.7/matplotlib/mpl-data/images ??? UPDATING build/lib.macosx-10.7-x86_64-3.7/matplotlib/_version.py ??? set build/lib.macosx-10.7-x86_64-3.7/matplotlib/_version.py to '3.2.1+1866.gd1f07d344.dirty' ??? running build_ext ??? building 'matplotlib.backends._backend_agg' extension ??? /usr/bin/gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/tadmin/anaconda3/include -arch x86_64 -I/Users/tadmin/anaconda3/include -arch x86_64 -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backends__backend_agg_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -DFREETYPE_BUILD_TYPE=local -Ibuild/freetype-2.6.1/include -Iextern/agg24-svn/include -I/Users/tadmin/matplotlib_dev/lib/python3.7/site-packages/numpy/core/include -I/Users/tadmin/matplotlib_dev/include -I/Users/tadmin/anaconda3/include/python3.7m -c src/checkdep_freetype2.c -o build/temp.macosx-10.7-x86_64-3.7/src/checkdep_freetype2.o ??? src/checkdep_freetype2.c:14:9: warning: Compiling with FreeType version 2.6.1. [-W#pragma-messages] ??? #pragma message("Compiling with FreeType version " \ ??????????? ^ ??? 1 warning generated. ??? /usr/bin/gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/tadmin/anaconda3/include -arch x86_64 -I/Users/tadmin/anaconda3/include -arch x86_64 -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backends__backend_agg_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -DFREETYPE_BUILD_TYPE=local -Ibuild/freetype-2.6.1/include -Iextern/agg24-svn/include -I/Users/tadmin/matplotlib_dev/lib/python3.7/site-packages/numpy/core/include -I/Users/tadmin/matplotlib_dev/include -I/Users/tadmin/anaconda3/include/python3.7m -c src/mplutils.cpp -o build/temp.macosx-10.7-x86_64-3.7/src/mplutils.o ??? warning: include path for stdlibc++ headers not found; pass '-std=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found] ??? 1 warning generated. ??? /usr/bin/gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/tadmin/anaconda3/include -arch x86_64 -I/Users/tadmin/anaconda3/include -arch x86_64 -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backends__backend_agg_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -DFREETYPE_BUILD_TYPE=local -Ibuild/freetype-2.6.1/include -Iextern/agg24-svn/include -I/Users/tadmin/matplotlib_dev/lib/python3.7/site-packages/numpy/core/include -I/Users/tadmin/matplotlib_dev/include -I/Users/tadmin/anaconda3/include/python3.7m -c src/py_converters.cpp -o build/temp.macosx-10.7-x86_64-3.7/src/py_converters.o ??? warning: include path for stdlibc++ headers not found; pass '-std=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found] ??? In file included from src/py_converters.cpp:3: ??? In file included from src/py_converters.h:17: ??? src/_backend_agg_basic_types.h:7:10: fatal error: 'vector' file not found ??? #include ???????????? ^~~~~~~~ ??? 1 warning and 1 error generated. ??? error: command '/usr/bin/gcc' failed with exit status 1 ??? ---------------------------------------- ERROR: Command errored out with exit status 1: /Users/tadmin/matplotlib_dev/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/km/pk_8hct1101_18g4znr_wdm00000gq/T/pip-req-build-x2e7fmv6/setup.py'"'"'; __file__='"'"'/private/var/folders/km/pk_8hct1101_18g4znr_wdm00000gq/T/pip-req-build-x2e7fmv6/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/km/pk_8hct1101_18g4znr_wdm00000gq/T/pip-record-qxw7pttp/install-record.txt --single-version-externally-managed --compile --install-headers /Users/tadmin/matplotlib_dev/include/site/python3.7/matplotlib Check the logs for full command output. How can I approach to solve this? Best regards, Lars From tcaswell at gmail.com Mon Apr 6 18:00:57 2020 From: tcaswell at gmail.com (Thomas Caswell) Date: Mon, 6 Apr 2020 18:00:57 -0400 Subject: [Matplotlib-devel] build fails on MacOsX 10.15.3 In-Reply-To: <17f34db1-94b3-8f08-6d54-3c5fdc6e335f@mpi-inf.mpg.de> References: <17f34db1-94b3-8f08-6d54-3c5fdc6e335f@mpi-inf.mpg.de> Message-ID: Lars, It looks like you are missing some of the standard c++ headers. How did you install your compiler? Tom On Sun, Apr 5, 2020 at 2:33 PM Lars Prehn wrote: > Hi everyone, > > I'd like to build matplotlib from the gitlab source. I'm stuck at the > point where I need to run: > > python -mpip install . > > the output looks as follows (shortened a bit): > > > (matplotlib_dev) Tests-MacBook-Pro-2:matplotlib tadmin$ python -mpip > install . > Processing /Users/tadmin/projects_2020/matplotlib > Requirement already satisfied: cycler>=0.10 in > /Users/tadmin/matplotlib_dev/lib/python3.7/site-packages (from > matplotlib==3.2.1+1866.gd1f07d344.dirty) (0.10.0) > Requirement already satisfied: kiwisolver>=1.0.1 in > /Users/tadmin/matplotlib_dev/lib/python3.7/site-packages (from > matplotlib==3.2.1+1866.gd1f07d344.dirty) (1.2.0) > Requirement already satisfied: numpy>=1.15 in > /Users/tadmin/matplotlib_dev/lib/python3.7/site-packages (from > matplotlib==3.2.1+1866.gd1f07d344.dirty) (1.18.2) > Requirement already satisfied: pillow>=6.2.0 in > /Users/tadmin/matplotlib_dev/lib/python3.7/site-packages (from > matplotlib==3.2.1+1866.gd1f07d344.dirty) (7.1.1) > Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.3 > in /Users/tadmin/matplotlib_dev/lib/python3.7/site-packages (from > matplotlib==3.2.1+1866.gd1f07d344.dirty) (2.4.6) > Requirement already satisfied: python-dateutil>=2.1 in > /Users/tadmin/matplotlib_dev/lib/python3.7/site-packages (from > matplotlib==3.2.1+1866.gd1f07d344.dirty) (2.8.1) > Requirement already satisfied: six in > /Users/tadmin/matplotlib_dev/lib/python3.7/site-packages (from > cycler>=0.10->matplotlib==3.2.1+1866.gd1f07d344.dirty) (1.14.0) > Installing collected packages: matplotlib > Running setup.py install for matplotlib ... error > ERROR: Command errored out with exit status 1: > command: /Users/tadmin/matplotlib_dev/bin/python -u -c 'import > sys, setuptools, tokenize; sys.argv[0] = > '"'"'/private/var/folders/km/pk_8hct1101_18g4znr_wdm00000gq/T/pip-req-build-x2e7fmv6/setup.py'"'"'; > > __file__='"'"'/private/var/folders/km/pk_8hct1101_18g4znr_wdm00000gq/T/pip-req-build-x2e7fmv6/setup.py'"'"';f=getattr(tokenize, > > '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', > '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' > install --record > /private/var/folders/km/pk_8hct1101_18g4znr_wdm00000gq/T/pip-record-qxw7pttp/install-record.txt > > --single-version-externally-managed --compile --install-headers > /Users/tadmin/matplotlib_dev/include/site/python3.7/matplotlib > cwd: > > /private/var/folders/km/pk_8hct1101_18g4znr_wdm00000gq/T/pip-req-build-x2e7fmv6/ > Complete output (569 lines): > > Edit setup.cfg to change the build options; suppress output with > --quiet. > > BUILDING MATPLOTLIB > matplotlib: yes [3.2.1+1866.gd1f07d344.dirty] > python: yes [3.7.1 (default, Dec 14 2018, 13:28:58) [Clang 4.0.1 > (tags/RELEASE_401/final)]] > platform: yes [darwin] > sample_data: yes [installing] > tests: no [skipping due to configuration] > macosx: yes [installing] > > /Users/tadmin/anaconda3/lib/python3.7/distutils/dist.py:274: > UserWarning: Unknown distribution option: 'long_description_content_type' > warnings.warn(msg) > running install > running build > running build_py > creating build/lib.macosx-10.7-x86_64-3.7 > copying lib/pylab.py -> build/lib.macosx-10.7-x86_64-3.7 > creating build/lib.macosx-10.7-x86_64-3.7/mpl_toolkits > copying lib/mpl_toolkits/__init__.py -> > build/lib.macosx-10.7-x86_64-3.7/mpl_toolkits > creating build/lib.macosx-10.7-x86_64-3.7/matplotlib > copying lib/matplotlib/hatch.py -> > build/lib.macosx-10.7-x86_64-3.7/matplotlib > > ..... > > copying lib/matplotlib/mpl-data/stylelib/seaborn-deep.mplstyle -> > build/lib.macosx-10.7-x86_64-3.7/matplotlib/mpl-data/stylelib > copying lib/matplotlib/mpl-data/images/back.pdf -> > build/lib.macosx-10.7-x86_64-3.7/matplotlib/mpl-data/images > UPDATING build/lib.macosx-10.7-x86_64-3.7/matplotlib/_version.py > set build/lib.macosx-10.7-x86_64-3.7/matplotlib/_version.py to > '3.2.1+1866.gd1f07d344.dirty' > running build_ext > building 'matplotlib.backends._backend_agg' extension > /usr/bin/gcc -Wno-unused-result -Wsign-compare -Wunreachable-code > -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/tadmin/anaconda3/include -arch > x86_64 -I/Users/tadmin/anaconda3/include -arch x86_64 > -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backends__backend_agg_ARRAY_API > -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 > -DFREETYPE_BUILD_TYPE=local -Ibuild/freetype-2.6.1/include > -Iextern/agg24-svn/include > -I/Users/tadmin/matplotlib_dev/lib/python3.7/site-packages/numpy/core/include > > -I/Users/tadmin/matplotlib_dev/include > -I/Users/tadmin/anaconda3/include/python3.7m -c src/checkdep_freetype2.c > -o build/temp.macosx-10.7-x86_64-3.7/src/checkdep_freetype2.o > src/checkdep_freetype2.c:14:9: warning: Compiling with FreeType > version 2.6.1. [-W#pragma-messages] > #pragma message("Compiling with FreeType version " \ > ^ > 1 warning generated. > /usr/bin/gcc -Wno-unused-result -Wsign-compare -Wunreachable-code > -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/tadmin/anaconda3/include -arch > x86_64 -I/Users/tadmin/anaconda3/include -arch x86_64 > -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backends__backend_agg_ARRAY_API > -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 > -DFREETYPE_BUILD_TYPE=local -Ibuild/freetype-2.6.1/include > -Iextern/agg24-svn/include > -I/Users/tadmin/matplotlib_dev/lib/python3.7/site-packages/numpy/core/include > > -I/Users/tadmin/matplotlib_dev/include > -I/Users/tadmin/anaconda3/include/python3.7m -c src/mplutils.cpp -o > build/temp.macosx-10.7-x86_64-3.7/src/mplutils.o > warning: include path for stdlibc++ headers not found; pass > '-std=libc++' on the command line to use the libc++ standard library > instead [-Wstdlibcxx-not-found] > 1 warning generated. > /usr/bin/gcc -Wno-unused-result -Wsign-compare -Wunreachable-code > -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/tadmin/anaconda3/include -arch > x86_64 -I/Users/tadmin/anaconda3/include -arch x86_64 > -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backends__backend_agg_ARRAY_API > -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 > -DFREETYPE_BUILD_TYPE=local -Ibuild/freetype-2.6.1/include > -Iextern/agg24-svn/include > -I/Users/tadmin/matplotlib_dev/lib/python3.7/site-packages/numpy/core/include > > -I/Users/tadmin/matplotlib_dev/include > -I/Users/tadmin/anaconda3/include/python3.7m -c src/py_converters.cpp -o > build/temp.macosx-10.7-x86_64-3.7/src/py_converters.o > warning: include path for stdlibc++ headers not found; pass > '-std=libc++' on the command line to use the libc++ standard library > instead [-Wstdlibcxx-not-found] > In file included from src/py_converters.cpp:3: > In file included from src/py_converters.h:17: > src/_backend_agg_basic_types.h:7:10: fatal error: 'vector' file not > found > #include > ^~~~~~~~ > 1 warning and 1 error generated. > error: command '/usr/bin/gcc' failed with exit status 1 > ---------------------------------------- > ERROR: Command errored out with exit status 1: > /Users/tadmin/matplotlib_dev/bin/python -u -c 'import sys, setuptools, > tokenize; sys.argv[0] = > '"'"'/private/var/folders/km/pk_8hct1101_18g4znr_wdm00000gq/T/pip-req-build-x2e7fmv6/setup.py'"'"'; > > __file__='"'"'/private/var/folders/km/pk_8hct1101_18g4znr_wdm00000gq/T/pip-req-build-x2e7fmv6/setup.py'"'"';f=getattr(tokenize, > > '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', > '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' > install --record > /private/var/folders/km/pk_8hct1101_18g4znr_wdm00000gq/T/pip-record-qxw7pttp/install-record.txt > > --single-version-externally-managed --compile --install-headers > /Users/tadmin/matplotlib_dev/include/site/python3.7/matplotlib Check the > logs for full command output. > > > > How can I approach to solve this? > > Best regards, > > Lars > > _______________________________________________ > Matplotlib-devel mailing list > Matplotlib-devel at python.org > https://mail.python.org/mailman/listinfo/matplotlib-devel > -- Thomas Caswell tcaswell at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From rmay31 at gmail.com Mon Apr 6 18:16:43 2020 From: rmay31 at gmail.com (Ryan May) Date: Mon, 6 Apr 2020 16:16:43 -0600 Subject: [Matplotlib-devel] build fails on MacOsX 10.15.3 In-Reply-To: References: <17f34db1-94b3-8f08-6d54-3c5fdc6e335f@mpi-inf.mpg.de> Message-ID: Hi, Try this: MACOSX_DEPLOYMENT_TARGET=10.9 python -mpip install . Ryan On Mon, Apr 6, 2020 at 4:01 PM Thomas Caswell wrote: > Lars, > > It looks like you are missing some of the standard c++ headers. How did > you install your compiler? > > Tom > > On Sun, Apr 5, 2020 at 2:33 PM Lars Prehn wrote: > >> Hi everyone, >> >> I'd like to build matplotlib from the gitlab source. I'm stuck at the >> point where I need to run: >> >> python -mpip install . >> >> the output looks as follows (shortened a bit): >> >> >> (matplotlib_dev) Tests-MacBook-Pro-2:matplotlib tadmin$ python -mpip >> install . >> Processing /Users/tadmin/projects_2020/matplotlib >> Requirement already satisfied: cycler>=0.10 in >> /Users/tadmin/matplotlib_dev/lib/python3.7/site-packages (from >> matplotlib==3.2.1+1866.gd1f07d344.dirty) (0.10.0) >> Requirement already satisfied: kiwisolver>=1.0.1 in >> /Users/tadmin/matplotlib_dev/lib/python3.7/site-packages (from >> matplotlib==3.2.1+1866.gd1f07d344.dirty) (1.2.0) >> Requirement already satisfied: numpy>=1.15 in >> /Users/tadmin/matplotlib_dev/lib/python3.7/site-packages (from >> matplotlib==3.2.1+1866.gd1f07d344.dirty) (1.18.2) >> Requirement already satisfied: pillow>=6.2.0 in >> /Users/tadmin/matplotlib_dev/lib/python3.7/site-packages (from >> matplotlib==3.2.1+1866.gd1f07d344.dirty) (7.1.1) >> Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.3 >> in /Users/tadmin/matplotlib_dev/lib/python3.7/site-packages (from >> matplotlib==3.2.1+1866.gd1f07d344.dirty) (2.4.6) >> Requirement already satisfied: python-dateutil>=2.1 in >> /Users/tadmin/matplotlib_dev/lib/python3.7/site-packages (from >> matplotlib==3.2.1+1866.gd1f07d344.dirty) (2.8.1) >> Requirement already satisfied: six in >> /Users/tadmin/matplotlib_dev/lib/python3.7/site-packages (from >> cycler>=0.10->matplotlib==3.2.1+1866.gd1f07d344.dirty) (1.14.0) >> Installing collected packages: matplotlib >> Running setup.py install for matplotlib ... error >> ERROR: Command errored out with exit status 1: >> command: /Users/tadmin/matplotlib_dev/bin/python -u -c 'import >> sys, setuptools, tokenize; sys.argv[0] = >> '"'"'/private/var/folders/km/pk_8hct1101_18g4znr_wdm00000gq/T/pip-req-build-x2e7fmv6/setup.py'"'"'; >> >> __file__='"'"'/private/var/folders/km/pk_8hct1101_18g4znr_wdm00000gq/T/pip-req-build-x2e7fmv6/setup.py'"'"';f=getattr(tokenize, >> >> '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', >> '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' >> install --record >> /private/var/folders/km/pk_8hct1101_18g4znr_wdm00000gq/T/pip-record-qxw7pttp/install-record.txt >> >> --single-version-externally-managed --compile --install-headers >> /Users/tadmin/matplotlib_dev/include/site/python3.7/matplotlib >> cwd: >> >> /private/var/folders/km/pk_8hct1101_18g4znr_wdm00000gq/T/pip-req-build-x2e7fmv6/ >> Complete output (569 lines): >> >> Edit setup.cfg to change the build options; suppress output with >> --quiet. >> >> BUILDING MATPLOTLIB >> matplotlib: yes [3.2.1+1866.gd1f07d344.dirty] >> python: yes [3.7.1 (default, Dec 14 2018, 13:28:58) [Clang >> 4.0.1 >> (tags/RELEASE_401/final)]] >> platform: yes [darwin] >> sample_data: yes [installing] >> tests: no [skipping due to configuration] >> macosx: yes [installing] >> >> /Users/tadmin/anaconda3/lib/python3.7/distutils/dist.py:274: >> UserWarning: Unknown distribution option: 'long_description_content_type' >> warnings.warn(msg) >> running install >> running build >> running build_py >> creating build/lib.macosx-10.7-x86_64-3.7 >> copying lib/pylab.py -> build/lib.macosx-10.7-x86_64-3.7 >> creating build/lib.macosx-10.7-x86_64-3.7/mpl_toolkits >> copying lib/mpl_toolkits/__init__.py -> >> build/lib.macosx-10.7-x86_64-3.7/mpl_toolkits >> creating build/lib.macosx-10.7-x86_64-3.7/matplotlib >> copying lib/matplotlib/hatch.py -> >> build/lib.macosx-10.7-x86_64-3.7/matplotlib >> >> ..... >> >> copying lib/matplotlib/mpl-data/stylelib/seaborn-deep.mplstyle -> >> build/lib.macosx-10.7-x86_64-3.7/matplotlib/mpl-data/stylelib >> copying lib/matplotlib/mpl-data/images/back.pdf -> >> build/lib.macosx-10.7-x86_64-3.7/matplotlib/mpl-data/images >> UPDATING build/lib.macosx-10.7-x86_64-3.7/matplotlib/_version.py >> set build/lib.macosx-10.7-x86_64-3.7/matplotlib/_version.py to >> '3.2.1+1866.gd1f07d344.dirty' >> running build_ext >> building 'matplotlib.backends._backend_agg' extension >> /usr/bin/gcc -Wno-unused-result -Wsign-compare -Wunreachable-code >> -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/tadmin/anaconda3/include -arch >> x86_64 -I/Users/tadmin/anaconda3/include -arch x86_64 >> -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backends__backend_agg_ARRAY_API >> -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 >> -DFREETYPE_BUILD_TYPE=local -Ibuild/freetype-2.6.1/include >> -Iextern/agg24-svn/include >> -I/Users/tadmin/matplotlib_dev/lib/python3.7/site-packages/numpy/core/include >> >> -I/Users/tadmin/matplotlib_dev/include >> -I/Users/tadmin/anaconda3/include/python3.7m -c src/checkdep_freetype2.c >> -o build/temp.macosx-10.7-x86_64-3.7/src/checkdep_freetype2.o >> src/checkdep_freetype2.c:14:9: warning: Compiling with FreeType >> version 2.6.1. [-W#pragma-messages] >> #pragma message("Compiling with FreeType version " \ >> ^ >> 1 warning generated. >> /usr/bin/gcc -Wno-unused-result -Wsign-compare -Wunreachable-code >> -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/tadmin/anaconda3/include -arch >> x86_64 -I/Users/tadmin/anaconda3/include -arch x86_64 >> -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backends__backend_agg_ARRAY_API >> -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 >> -DFREETYPE_BUILD_TYPE=local -Ibuild/freetype-2.6.1/include >> -Iextern/agg24-svn/include >> -I/Users/tadmin/matplotlib_dev/lib/python3.7/site-packages/numpy/core/include >> >> -I/Users/tadmin/matplotlib_dev/include >> -I/Users/tadmin/anaconda3/include/python3.7m -c src/mplutils.cpp -o >> build/temp.macosx-10.7-x86_64-3.7/src/mplutils.o >> warning: include path for stdlibc++ headers not found; pass >> '-std=libc++' on the command line to use the libc++ standard library >> instead [-Wstdlibcxx-not-found] >> 1 warning generated. >> /usr/bin/gcc -Wno-unused-result -Wsign-compare -Wunreachable-code >> -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/tadmin/anaconda3/include -arch >> x86_64 -I/Users/tadmin/anaconda3/include -arch x86_64 >> -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backends__backend_agg_ARRAY_API >> -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 >> -DFREETYPE_BUILD_TYPE=local -Ibuild/freetype-2.6.1/include >> -Iextern/agg24-svn/include >> -I/Users/tadmin/matplotlib_dev/lib/python3.7/site-packages/numpy/core/include >> >> -I/Users/tadmin/matplotlib_dev/include >> -I/Users/tadmin/anaconda3/include/python3.7m -c src/py_converters.cpp -o >> build/temp.macosx-10.7-x86_64-3.7/src/py_converters.o >> warning: include path for stdlibc++ headers not found; pass >> '-std=libc++' on the command line to use the libc++ standard library >> instead [-Wstdlibcxx-not-found] >> In file included from src/py_converters.cpp:3: >> In file included from src/py_converters.h:17: >> src/_backend_agg_basic_types.h:7:10: fatal error: 'vector' file not >> found >> #include >> ^~~~~~~~ >> 1 warning and 1 error generated. >> error: command '/usr/bin/gcc' failed with exit status 1 >> ---------------------------------------- >> ERROR: Command errored out with exit status 1: >> /Users/tadmin/matplotlib_dev/bin/python -u -c 'import sys, setuptools, >> tokenize; sys.argv[0] = >> '"'"'/private/var/folders/km/pk_8hct1101_18g4znr_wdm00000gq/T/pip-req-build-x2e7fmv6/setup.py'"'"'; >> >> __file__='"'"'/private/var/folders/km/pk_8hct1101_18g4znr_wdm00000gq/T/pip-req-build-x2e7fmv6/setup.py'"'"';f=getattr(tokenize, >> >> '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', >> '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' >> install --record >> /private/var/folders/km/pk_8hct1101_18g4znr_wdm00000gq/T/pip-record-qxw7pttp/install-record.txt >> >> --single-version-externally-managed --compile --install-headers >> /Users/tadmin/matplotlib_dev/include/site/python3.7/matplotlib Check the >> logs for full command output. >> >> >> >> How can I approach to solve this? >> >> Best regards, >> >> Lars >> >> _______________________________________________ >> Matplotlib-devel mailing list >> Matplotlib-devel at python.org >> https://mail.python.org/mailman/listinfo/matplotlib-devel >> > > > -- > Thomas Caswell > tcaswell at gmail.com > _______________________________________________ > Matplotlib-devel mailing list > Matplotlib-devel at python.org > https://mail.python.org/mailman/listinfo/matplotlib-devel > -- Ryan May -------------- next part -------------- An HTML attachment was scrubbed... URL: From lprehn at mpi-inf.mpg.de Tue Apr 7 01:34:06 2020 From: lprehn at mpi-inf.mpg.de (Lars Prehn) Date: Tue, 7 Apr 2020 07:34:06 +0200 Subject: [Matplotlib-devel] build fails on MacOsX 10.15.3 In-Reply-To: References: <17f34db1-94b3-8f08-6d54-3c5fdc6e335f@mpi-inf.mpg.de> Message-ID: Cool, the suggestion worked! Thanks a lot, Lars On 07.04.20 00:16, Ryan May wrote: > Hi, > > Try this: > MACOSX_DEPLOYMENT_TARGET=10.9 python -mpip install . > > Ryan > > On Mon, Apr 6, 2020 at 4:01 PM Thomas Caswell > wrote: > > Lars, > > It looks like you are missing some of the standard c++ headers.? > How did you install your compiler? > > Tom > > On Sun, Apr 5, 2020 at 2:33 PM Lars Prehn > wrote: > > Hi everyone, > > I'd like to build matplotlib from the gitlab source. I'm stuck > at the > point where I need to run: > > python -mpip install . > > the output looks as follows (shortened a bit): > > > (matplotlib_dev) Tests-MacBook-Pro-2:matplotlib tadmin$ python > -mpip > install . > Processing /Users/tadmin/projects_2020/matplotlib > Requirement already satisfied: cycler>=0.10 in > /Users/tadmin/matplotlib_dev/lib/python3.7/site-packages (from > matplotlib==3.2.1+1866.gd1f07d344.dirty) (0.10.0) > Requirement already satisfied: kiwisolver>=1.0.1 in > /Users/tadmin/matplotlib_dev/lib/python3.7/site-packages (from > matplotlib==3.2.1+1866.gd1f07d344.dirty) (1.2.0) > Requirement already satisfied: numpy>=1.15 in > /Users/tadmin/matplotlib_dev/lib/python3.7/site-packages (from > matplotlib==3.2.1+1866.gd1f07d344.dirty) (1.18.2) > Requirement already satisfied: pillow>=6.2.0 in > /Users/tadmin/matplotlib_dev/lib/python3.7/site-packages (from > matplotlib==3.2.1+1866.gd1f07d344.dirty) (7.1.1) > Requirement already satisfied: > pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.3 > in /Users/tadmin/matplotlib_dev/lib/python3.7/site-packages (from > matplotlib==3.2.1+1866.gd1f07d344.dirty) (2.4.6) > Requirement already satisfied: python-dateutil>=2.1 in > /Users/tadmin/matplotlib_dev/lib/python3.7/site-packages (from > matplotlib==3.2.1+1866.gd1f07d344.dirty) (2.8.1) > Requirement already satisfied: six in > /Users/tadmin/matplotlib_dev/lib/python3.7/site-packages (from > cycler>=0.10->matplotlib==3.2.1+1866.gd1f07d344.dirty) (1.14.0) > Installing collected packages: matplotlib > ???? Running setup.py install for matplotlib ... error > ???? ERROR: Command errored out with exit status 1: > ????? command: /Users/tadmin/matplotlib_dev/bin/python -u -c > 'import > sys, setuptools, tokenize; sys.argv[0] = > '"'"'/private/var/folders/km/pk_8hct1101_18g4znr_wdm00000gq/T/pip-req-build-x2e7fmv6/setup.py'"'"'; > > __file__='"'"'/private/var/folders/km/pk_8hct1101_18g4znr_wdm00000gq/T/pip-req-build-x2e7fmv6/setup.py'"'"';f=getattr(tokenize, > > '"'"'open'"'"', > open)(__file__);code=f.read().replace('"'"'\r\n'"'"', > '"'"'\n'"'"');f.close();exec(compile(code, __file__, > '"'"'exec'"'"'))' > install --record > /private/var/folders/km/pk_8hct1101_18g4znr_wdm00000gq/T/pip-record-qxw7pttp/install-record.txt > > --single-version-externally-managed --compile --install-headers > /Users/tadmin/matplotlib_dev/include/site/python3.7/matplotlib > ????????? cwd: > /private/var/folders/km/pk_8hct1101_18g4znr_wdm00000gq/T/pip-req-build-x2e7fmv6/ > ???? Complete output (569 lines): > > ???? Edit setup.cfg to change the build options; suppress > output with > --quiet. > > ???? BUILDING MATPLOTLIB > ?????? matplotlib: yes [3.2.1+1866.gd1f07d344.dirty] > ?????????? python: yes [3.7.1 (default, Dec 14 2018, 13:28:58) > [Clang 4.0.1 > ?????????????????????? (tags/RELEASE_401/final)]] > ???????? platform: yes [darwin] > ????? sample_data: yes [installing] > ??????????? tests: no? [skipping due to configuration] > ?????????? macosx: yes [installing] > > /Users/tadmin/anaconda3/lib/python3.7/distutils/dist.py:274: > UserWarning: Unknown distribution option: > 'long_description_content_type' > ?????? warnings.warn(msg) > ???? running install > ???? running build > ???? running build_py > ???? creating build/lib.macosx-10.7-x86_64-3.7 > ???? copying lib/pylab.py -> build/lib.macosx-10.7-x86_64-3.7 > ???? creating build/lib.macosx-10.7-x86_64-3.7/mpl_toolkits > ???? copying lib/mpl_toolkits/__init__.py -> > build/lib.macosx-10.7-x86_64-3.7/mpl_toolkits > ???? creating build/lib.macosx-10.7-x86_64-3.7/matplotlib > ???? copying lib/matplotlib/hatch.py -> > build/lib.macosx-10.7-x86_64-3.7/matplotlib > > ..... > > copying lib/matplotlib/mpl-data/stylelib/seaborn-deep.mplstyle -> > build/lib.macosx-10.7-x86_64-3.7/matplotlib/mpl-data/stylelib > ???? copying lib/matplotlib/mpl-data/images/back.pdf -> > build/lib.macosx-10.7-x86_64-3.7/matplotlib/mpl-data/images > ???? UPDATING > build/lib.macosx-10.7-x86_64-3.7/matplotlib/_version.py > ???? set > build/lib.macosx-10.7-x86_64-3.7/matplotlib/_version.py to > '3.2.1+1866.gd1f07d344.dirty' > ???? running build_ext > ???? building 'matplotlib.backends._backend_agg' extension > ???? /usr/bin/gcc -Wno-unused-result -Wsign-compare > -Wunreachable-code > -DNDEBUG -g -fwrapv -O3 -Wall > -I/Users/tadmin/anaconda3/include -arch > x86_64 -I/Users/tadmin/anaconda3/include -arch x86_64 > -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backends__backend_agg_ARRAY_API > > -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION > -D__STDC_FORMAT_MACROS=1 > -DFREETYPE_BUILD_TYPE=local -Ibuild/freetype-2.6.1/include > -Iextern/agg24-svn/include > -I/Users/tadmin/matplotlib_dev/lib/python3.7/site-packages/numpy/core/include > > -I/Users/tadmin/matplotlib_dev/include > -I/Users/tadmin/anaconda3/include/python3.7m -c > src/checkdep_freetype2.c > -o build/temp.macosx-10.7-x86_64-3.7/src/checkdep_freetype2.o > ???? src/checkdep_freetype2.c:14:9: warning: Compiling with > FreeType > version 2.6.1. [-W#pragma-messages] > ???? #pragma message("Compiling with FreeType version " \ > ???????????? ^ > ???? 1 warning generated. > ???? /usr/bin/gcc -Wno-unused-result -Wsign-compare > -Wunreachable-code > -DNDEBUG -g -fwrapv -O3 -Wall > -I/Users/tadmin/anaconda3/include -arch > x86_64 -I/Users/tadmin/anaconda3/include -arch x86_64 > -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backends__backend_agg_ARRAY_API > > -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION > -D__STDC_FORMAT_MACROS=1 > -DFREETYPE_BUILD_TYPE=local -Ibuild/freetype-2.6.1/include > -Iextern/agg24-svn/include > -I/Users/tadmin/matplotlib_dev/lib/python3.7/site-packages/numpy/core/include > > -I/Users/tadmin/matplotlib_dev/include > -I/Users/tadmin/anaconda3/include/python3.7m -c > src/mplutils.cpp -o > build/temp.macosx-10.7-x86_64-3.7/src/mplutils.o > ???? warning: include path for stdlibc++ headers not found; pass > '-std=libc++' on the command line to use the libc++ standard > library > instead [-Wstdlibcxx-not-found] > ???? 1 warning generated. > ???? /usr/bin/gcc -Wno-unused-result -Wsign-compare > -Wunreachable-code > -DNDEBUG -g -fwrapv -O3 -Wall > -I/Users/tadmin/anaconda3/include -arch > x86_64 -I/Users/tadmin/anaconda3/include -arch x86_64 > -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backends__backend_agg_ARRAY_API > > -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION > -D__STDC_FORMAT_MACROS=1 > -DFREETYPE_BUILD_TYPE=local -Ibuild/freetype-2.6.1/include > -Iextern/agg24-svn/include > -I/Users/tadmin/matplotlib_dev/lib/python3.7/site-packages/numpy/core/include > > -I/Users/tadmin/matplotlib_dev/include > -I/Users/tadmin/anaconda3/include/python3.7m -c > src/py_converters.cpp -o > build/temp.macosx-10.7-x86_64-3.7/src/py_converters.o > ???? warning: include path for stdlibc++ headers not found; pass > '-std=libc++' on the command line to use the libc++ standard > library > instead [-Wstdlibcxx-not-found] > ???? In file included from src/py_converters.cpp:3: > ???? In file included from src/py_converters.h:17: > ???? src/_backend_agg_basic_types.h:7:10: fatal error: > 'vector' file not > found > ???? #include > ????????????? ^~~~~~~~ > ???? 1 warning and 1 error generated. > ???? error: command '/usr/bin/gcc' failed with exit status 1 > ???? ---------------------------------------- > ERROR: Command errored out with exit status 1: > /Users/tadmin/matplotlib_dev/bin/python -u -c 'import sys, > setuptools, > tokenize; sys.argv[0] = > '"'"'/private/var/folders/km/pk_8hct1101_18g4znr_wdm00000gq/T/pip-req-build-x2e7fmv6/setup.py'"'"'; > > __file__='"'"'/private/var/folders/km/pk_8hct1101_18g4znr_wdm00000gq/T/pip-req-build-x2e7fmv6/setup.py'"'"';f=getattr(tokenize, > > '"'"'open'"'"', > open)(__file__);code=f.read().replace('"'"'\r\n'"'"', > '"'"'\n'"'"');f.close();exec(compile(code, __file__, > '"'"'exec'"'"'))' > install --record > /private/var/folders/km/pk_8hct1101_18g4znr_wdm00000gq/T/pip-record-qxw7pttp/install-record.txt > > --single-version-externally-managed --compile --install-headers > /Users/tadmin/matplotlib_dev/include/site/python3.7/matplotlib > Check the > logs for full command output. > > > > How can I approach to solve this? > > Best regards, > > Lars > > _______________________________________________ > Matplotlib-devel mailing list > Matplotlib-devel at python.org > https://mail.python.org/mailman/listinfo/matplotlib-devel > > > > -- > Thomas Caswell > tcaswell at gmail.com > _______________________________________________ > Matplotlib-devel mailing list > Matplotlib-devel at python.org > https://mail.python.org/mailman/listinfo/matplotlib-devel > > > > -- > Ryan May > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rmay31 at gmail.com Tue Apr 7 10:00:00 2020 From: rmay31 at gmail.com (Ryan May) Date: Tue, 7 Apr 2020 08:00:00 -0600 Subject: [Matplotlib-devel] build fails on MacOsX 10.15.3 In-Reply-To: References: <17f34db1-94b3-8f08-6d54-3c5fdc6e335f@mpi-inf.mpg.de> Message-ID: It's only needed for some builds of Python---which in my opinion are misconfigured. Distutils should give the compiler and all the necessary configuration for a given platform. But given that we seem to keep running into these problems, it would make sense to include it. Ryan On Tue, Apr 7, 2020 at 2:33 AM Antony Lee wrote: > Is this something we should add to the build docs? > Antony > > On Tue, Apr 7, 2020 at 12:17 AM Ryan May wrote: > >> Hi, >> >> Try this: >> MACOSX_DEPLOYMENT_TARGET=10.9 python -mpip install . >> >> Ryan >> >> On Mon, Apr 6, 2020 at 4:01 PM Thomas Caswell wrote: >> >>> Lars, >>> >>> It looks like you are missing some of the standard c++ headers. How did >>> you install your compiler? >>> >>> Tom >>> >>> On Sun, Apr 5, 2020 at 2:33 PM Lars Prehn wrote: >>> >>>> Hi everyone, >>>> >>>> I'd like to build matplotlib from the gitlab source. I'm stuck at the >>>> point where I need to run: >>>> >>>> python -mpip install . >>>> >>>> the output looks as follows (shortened a bit): >>>> >>>> >>>> (matplotlib_dev) Tests-MacBook-Pro-2:matplotlib tadmin$ python -mpip >>>> install . >>>> Processing /Users/tadmin/projects_2020/matplotlib >>>> Requirement already satisfied: cycler>=0.10 in >>>> /Users/tadmin/matplotlib_dev/lib/python3.7/site-packages (from >>>> matplotlib==3.2.1+1866.gd1f07d344.dirty) (0.10.0) >>>> Requirement already satisfied: kiwisolver>=1.0.1 in >>>> /Users/tadmin/matplotlib_dev/lib/python3.7/site-packages (from >>>> matplotlib==3.2.1+1866.gd1f07d344.dirty) (1.2.0) >>>> Requirement already satisfied: numpy>=1.15 in >>>> /Users/tadmin/matplotlib_dev/lib/python3.7/site-packages (from >>>> matplotlib==3.2.1+1866.gd1f07d344.dirty) (1.18.2) >>>> Requirement already satisfied: pillow>=6.2.0 in >>>> /Users/tadmin/matplotlib_dev/lib/python3.7/site-packages (from >>>> matplotlib==3.2.1+1866.gd1f07d344.dirty) (7.1.1) >>>> Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.3 >>>> in /Users/tadmin/matplotlib_dev/lib/python3.7/site-packages (from >>>> matplotlib==3.2.1+1866.gd1f07d344.dirty) (2.4.6) >>>> Requirement already satisfied: python-dateutil>=2.1 in >>>> /Users/tadmin/matplotlib_dev/lib/python3.7/site-packages (from >>>> matplotlib==3.2.1+1866.gd1f07d344.dirty) (2.8.1) >>>> Requirement already satisfied: six in >>>> /Users/tadmin/matplotlib_dev/lib/python3.7/site-packages (from >>>> cycler>=0.10->matplotlib==3.2.1+1866.gd1f07d344.dirty) (1.14.0) >>>> Installing collected packages: matplotlib >>>> Running setup.py install for matplotlib ... error >>>> ERROR: Command errored out with exit status 1: >>>> command: /Users/tadmin/matplotlib_dev/bin/python -u -c 'import >>>> sys, setuptools, tokenize; sys.argv[0] = >>>> '"'"'/private/var/folders/km/pk_8hct1101_18g4znr_wdm00000gq/T/pip-req-build-x2e7fmv6/setup.py'"'"'; >>>> >>>> __file__='"'"'/private/var/folders/km/pk_8hct1101_18g4znr_wdm00000gq/T/pip-req-build-x2e7fmv6/setup.py'"'"';f=getattr(tokenize, >>>> >>>> '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', >>>> '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' >>>> install --record >>>> /private/var/folders/km/pk_8hct1101_18g4znr_wdm00000gq/T/pip-record-qxw7pttp/install-record.txt >>>> >>>> --single-version-externally-managed --compile --install-headers >>>> /Users/tadmin/matplotlib_dev/include/site/python3.7/matplotlib >>>> cwd: >>>> >>>> /private/var/folders/km/pk_8hct1101_18g4znr_wdm00000gq/T/pip-req-build-x2e7fmv6/ >>>> Complete output (569 lines): >>>> >>>> Edit setup.cfg to change the build options; suppress output with >>>> --quiet. >>>> >>>> BUILDING MATPLOTLIB >>>> matplotlib: yes [3.2.1+1866.gd1f07d344.dirty] >>>> python: yes [3.7.1 (default, Dec 14 2018, 13:28:58) [Clang >>>> 4.0.1 >>>> (tags/RELEASE_401/final)]] >>>> platform: yes [darwin] >>>> sample_data: yes [installing] >>>> tests: no [skipping due to configuration] >>>> macosx: yes [installing] >>>> >>>> /Users/tadmin/anaconda3/lib/python3.7/distutils/dist.py:274: >>>> UserWarning: Unknown distribution option: >>>> 'long_description_content_type' >>>> warnings.warn(msg) >>>> running install >>>> running build >>>> running build_py >>>> creating build/lib.macosx-10.7-x86_64-3.7 >>>> copying lib/pylab.py -> build/lib.macosx-10.7-x86_64-3.7 >>>> creating build/lib.macosx-10.7-x86_64-3.7/mpl_toolkits >>>> copying lib/mpl_toolkits/__init__.py -> >>>> build/lib.macosx-10.7-x86_64-3.7/mpl_toolkits >>>> creating build/lib.macosx-10.7-x86_64-3.7/matplotlib >>>> copying lib/matplotlib/hatch.py -> >>>> build/lib.macosx-10.7-x86_64-3.7/matplotlib >>>> >>>> ..... >>>> >>>> copying lib/matplotlib/mpl-data/stylelib/seaborn-deep.mplstyle -> >>>> build/lib.macosx-10.7-x86_64-3.7/matplotlib/mpl-data/stylelib >>>> copying lib/matplotlib/mpl-data/images/back.pdf -> >>>> build/lib.macosx-10.7-x86_64-3.7/matplotlib/mpl-data/images >>>> UPDATING build/lib.macosx-10.7-x86_64-3.7/matplotlib/_version.py >>>> set build/lib.macosx-10.7-x86_64-3.7/matplotlib/_version.py to >>>> '3.2.1+1866.gd1f07d344.dirty' >>>> running build_ext >>>> building 'matplotlib.backends._backend_agg' extension >>>> /usr/bin/gcc -Wno-unused-result -Wsign-compare -Wunreachable-code >>>> -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/tadmin/anaconda3/include -arch >>>> x86_64 -I/Users/tadmin/anaconda3/include -arch x86_64 >>>> -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backends__backend_agg_ARRAY_API >>>> -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 >>>> -DFREETYPE_BUILD_TYPE=local -Ibuild/freetype-2.6.1/include >>>> -Iextern/agg24-svn/include >>>> -I/Users/tadmin/matplotlib_dev/lib/python3.7/site-packages/numpy/core/include >>>> >>>> -I/Users/tadmin/matplotlib_dev/include >>>> -I/Users/tadmin/anaconda3/include/python3.7m -c >>>> src/checkdep_freetype2.c >>>> -o build/temp.macosx-10.7-x86_64-3.7/src/checkdep_freetype2.o >>>> src/checkdep_freetype2.c:14:9: warning: Compiling with FreeType >>>> version 2.6.1. [-W#pragma-messages] >>>> #pragma message("Compiling with FreeType version " \ >>>> ^ >>>> 1 warning generated. >>>> /usr/bin/gcc -Wno-unused-result -Wsign-compare -Wunreachable-code >>>> -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/tadmin/anaconda3/include -arch >>>> x86_64 -I/Users/tadmin/anaconda3/include -arch x86_64 >>>> -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backends__backend_agg_ARRAY_API >>>> -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 >>>> -DFREETYPE_BUILD_TYPE=local -Ibuild/freetype-2.6.1/include >>>> -Iextern/agg24-svn/include >>>> -I/Users/tadmin/matplotlib_dev/lib/python3.7/site-packages/numpy/core/include >>>> >>>> -I/Users/tadmin/matplotlib_dev/include >>>> -I/Users/tadmin/anaconda3/include/python3.7m -c src/mplutils.cpp -o >>>> build/temp.macosx-10.7-x86_64-3.7/src/mplutils.o >>>> warning: include path for stdlibc++ headers not found; pass >>>> '-std=libc++' on the command line to use the libc++ standard library >>>> instead [-Wstdlibcxx-not-found] >>>> 1 warning generated. >>>> /usr/bin/gcc -Wno-unused-result -Wsign-compare -Wunreachable-code >>>> -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/tadmin/anaconda3/include -arch >>>> x86_64 -I/Users/tadmin/anaconda3/include -arch x86_64 >>>> -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backends__backend_agg_ARRAY_API >>>> -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 >>>> -DFREETYPE_BUILD_TYPE=local -Ibuild/freetype-2.6.1/include >>>> -Iextern/agg24-svn/include >>>> -I/Users/tadmin/matplotlib_dev/lib/python3.7/site-packages/numpy/core/include >>>> >>>> -I/Users/tadmin/matplotlib_dev/include >>>> -I/Users/tadmin/anaconda3/include/python3.7m -c src/py_converters.cpp >>>> -o >>>> build/temp.macosx-10.7-x86_64-3.7/src/py_converters.o >>>> warning: include path for stdlibc++ headers not found; pass >>>> '-std=libc++' on the command line to use the libc++ standard library >>>> instead [-Wstdlibcxx-not-found] >>>> In file included from src/py_converters.cpp:3: >>>> In file included from src/py_converters.h:17: >>>> src/_backend_agg_basic_types.h:7:10: fatal error: 'vector' file >>>> not >>>> found >>>> #include >>>> ^~~~~~~~ >>>> 1 warning and 1 error generated. >>>> error: command '/usr/bin/gcc' failed with exit status 1 >>>> ---------------------------------------- >>>> ERROR: Command errored out with exit status 1: >>>> /Users/tadmin/matplotlib_dev/bin/python -u -c 'import sys, setuptools, >>>> tokenize; sys.argv[0] = >>>> '"'"'/private/var/folders/km/pk_8hct1101_18g4znr_wdm00000gq/T/pip-req-build-x2e7fmv6/setup.py'"'"'; >>>> >>>> __file__='"'"'/private/var/folders/km/pk_8hct1101_18g4znr_wdm00000gq/T/pip-req-build-x2e7fmv6/setup.py'"'"';f=getattr(tokenize, >>>> >>>> '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', >>>> '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' >>>> install --record >>>> /private/var/folders/km/pk_8hct1101_18g4znr_wdm00000gq/T/pip-record-qxw7pttp/install-record.txt >>>> >>>> --single-version-externally-managed --compile --install-headers >>>> /Users/tadmin/matplotlib_dev/include/site/python3.7/matplotlib Check >>>> the >>>> logs for full command output. >>>> >>>> >>>> >>>> How can I approach to solve this? >>>> >>>> Best regards, >>>> >>>> Lars >>>> >>>> _______________________________________________ >>>> Matplotlib-devel mailing list >>>> Matplotlib-devel at python.org >>>> https://mail.python.org/mailman/listinfo/matplotlib-devel >>>> >>> >>> >>> -- >>> Thomas Caswell >>> tcaswell at gmail.com >>> _______________________________________________ >>> Matplotlib-devel mailing list >>> Matplotlib-devel at python.org >>> https://mail.python.org/mailman/listinfo/matplotlib-devel >>> >> >> >> -- >> Ryan May >> >> _______________________________________________ >> Matplotlib-devel mailing list >> Matplotlib-devel at python.org >> https://mail.python.org/mailman/listinfo/matplotlib-devel >> > -- Ryan May -------------- next part -------------- An HTML attachment was scrubbed... URL: From antony.lee at institutoptique.fr Tue Apr 7 04:33:34 2020 From: antony.lee at institutoptique.fr (Antony Lee) Date: Tue, 7 Apr 2020 10:33:34 +0200 Subject: [Matplotlib-devel] build fails on MacOsX 10.15.3 In-Reply-To: References: <17f34db1-94b3-8f08-6d54-3c5fdc6e335f@mpi-inf.mpg.de> Message-ID: Is this something we should add to the build docs? Antony On Tue, Apr 7, 2020 at 12:17 AM Ryan May wrote: > Hi, > > Try this: > MACOSX_DEPLOYMENT_TARGET=10.9 python -mpip install . > > Ryan > > On Mon, Apr 6, 2020 at 4:01 PM Thomas Caswell wrote: > >> Lars, >> >> It looks like you are missing some of the standard c++ headers. How did >> you install your compiler? >> >> Tom >> >> On Sun, Apr 5, 2020 at 2:33 PM Lars Prehn wrote: >> >>> Hi everyone, >>> >>> I'd like to build matplotlib from the gitlab source. I'm stuck at the >>> point where I need to run: >>> >>> python -mpip install . >>> >>> the output looks as follows (shortened a bit): >>> >>> >>> (matplotlib_dev) Tests-MacBook-Pro-2:matplotlib tadmin$ python -mpip >>> install . >>> Processing /Users/tadmin/projects_2020/matplotlib >>> Requirement already satisfied: cycler>=0.10 in >>> /Users/tadmin/matplotlib_dev/lib/python3.7/site-packages (from >>> matplotlib==3.2.1+1866.gd1f07d344.dirty) (0.10.0) >>> Requirement already satisfied: kiwisolver>=1.0.1 in >>> /Users/tadmin/matplotlib_dev/lib/python3.7/site-packages (from >>> matplotlib==3.2.1+1866.gd1f07d344.dirty) (1.2.0) >>> Requirement already satisfied: numpy>=1.15 in >>> /Users/tadmin/matplotlib_dev/lib/python3.7/site-packages (from >>> matplotlib==3.2.1+1866.gd1f07d344.dirty) (1.18.2) >>> Requirement already satisfied: pillow>=6.2.0 in >>> /Users/tadmin/matplotlib_dev/lib/python3.7/site-packages (from >>> matplotlib==3.2.1+1866.gd1f07d344.dirty) (7.1.1) >>> Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.3 >>> in /Users/tadmin/matplotlib_dev/lib/python3.7/site-packages (from >>> matplotlib==3.2.1+1866.gd1f07d344.dirty) (2.4.6) >>> Requirement already satisfied: python-dateutil>=2.1 in >>> /Users/tadmin/matplotlib_dev/lib/python3.7/site-packages (from >>> matplotlib==3.2.1+1866.gd1f07d344.dirty) (2.8.1) >>> Requirement already satisfied: six in >>> /Users/tadmin/matplotlib_dev/lib/python3.7/site-packages (from >>> cycler>=0.10->matplotlib==3.2.1+1866.gd1f07d344.dirty) (1.14.0) >>> Installing collected packages: matplotlib >>> Running setup.py install for matplotlib ... error >>> ERROR: Command errored out with exit status 1: >>> command: /Users/tadmin/matplotlib_dev/bin/python -u -c 'import >>> sys, setuptools, tokenize; sys.argv[0] = >>> '"'"'/private/var/folders/km/pk_8hct1101_18g4znr_wdm00000gq/T/pip-req-build-x2e7fmv6/setup.py'"'"'; >>> >>> __file__='"'"'/private/var/folders/km/pk_8hct1101_18g4znr_wdm00000gq/T/pip-req-build-x2e7fmv6/setup.py'"'"';f=getattr(tokenize, >>> >>> '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', >>> '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' >>> install --record >>> /private/var/folders/km/pk_8hct1101_18g4znr_wdm00000gq/T/pip-record-qxw7pttp/install-record.txt >>> >>> --single-version-externally-managed --compile --install-headers >>> /Users/tadmin/matplotlib_dev/include/site/python3.7/matplotlib >>> cwd: >>> >>> /private/var/folders/km/pk_8hct1101_18g4znr_wdm00000gq/T/pip-req-build-x2e7fmv6/ >>> Complete output (569 lines): >>> >>> Edit setup.cfg to change the build options; suppress output with >>> --quiet. >>> >>> BUILDING MATPLOTLIB >>> matplotlib: yes [3.2.1+1866.gd1f07d344.dirty] >>> python: yes [3.7.1 (default, Dec 14 2018, 13:28:58) [Clang >>> 4.0.1 >>> (tags/RELEASE_401/final)]] >>> platform: yes [darwin] >>> sample_data: yes [installing] >>> tests: no [skipping due to configuration] >>> macosx: yes [installing] >>> >>> /Users/tadmin/anaconda3/lib/python3.7/distutils/dist.py:274: >>> UserWarning: Unknown distribution option: 'long_description_content_type' >>> warnings.warn(msg) >>> running install >>> running build >>> running build_py >>> creating build/lib.macosx-10.7-x86_64-3.7 >>> copying lib/pylab.py -> build/lib.macosx-10.7-x86_64-3.7 >>> creating build/lib.macosx-10.7-x86_64-3.7/mpl_toolkits >>> copying lib/mpl_toolkits/__init__.py -> >>> build/lib.macosx-10.7-x86_64-3.7/mpl_toolkits >>> creating build/lib.macosx-10.7-x86_64-3.7/matplotlib >>> copying lib/matplotlib/hatch.py -> >>> build/lib.macosx-10.7-x86_64-3.7/matplotlib >>> >>> ..... >>> >>> copying lib/matplotlib/mpl-data/stylelib/seaborn-deep.mplstyle -> >>> build/lib.macosx-10.7-x86_64-3.7/matplotlib/mpl-data/stylelib >>> copying lib/matplotlib/mpl-data/images/back.pdf -> >>> build/lib.macosx-10.7-x86_64-3.7/matplotlib/mpl-data/images >>> UPDATING build/lib.macosx-10.7-x86_64-3.7/matplotlib/_version.py >>> set build/lib.macosx-10.7-x86_64-3.7/matplotlib/_version.py to >>> '3.2.1+1866.gd1f07d344.dirty' >>> running build_ext >>> building 'matplotlib.backends._backend_agg' extension >>> /usr/bin/gcc -Wno-unused-result -Wsign-compare -Wunreachable-code >>> -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/tadmin/anaconda3/include -arch >>> x86_64 -I/Users/tadmin/anaconda3/include -arch x86_64 >>> -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backends__backend_agg_ARRAY_API >>> -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 >>> -DFREETYPE_BUILD_TYPE=local -Ibuild/freetype-2.6.1/include >>> -Iextern/agg24-svn/include >>> -I/Users/tadmin/matplotlib_dev/lib/python3.7/site-packages/numpy/core/include >>> >>> -I/Users/tadmin/matplotlib_dev/include >>> -I/Users/tadmin/anaconda3/include/python3.7m -c src/checkdep_freetype2.c >>> -o build/temp.macosx-10.7-x86_64-3.7/src/checkdep_freetype2.o >>> src/checkdep_freetype2.c:14:9: warning: Compiling with FreeType >>> version 2.6.1. [-W#pragma-messages] >>> #pragma message("Compiling with FreeType version " \ >>> ^ >>> 1 warning generated. >>> /usr/bin/gcc -Wno-unused-result -Wsign-compare -Wunreachable-code >>> -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/tadmin/anaconda3/include -arch >>> x86_64 -I/Users/tadmin/anaconda3/include -arch x86_64 >>> -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backends__backend_agg_ARRAY_API >>> -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 >>> -DFREETYPE_BUILD_TYPE=local -Ibuild/freetype-2.6.1/include >>> -Iextern/agg24-svn/include >>> -I/Users/tadmin/matplotlib_dev/lib/python3.7/site-packages/numpy/core/include >>> >>> -I/Users/tadmin/matplotlib_dev/include >>> -I/Users/tadmin/anaconda3/include/python3.7m -c src/mplutils.cpp -o >>> build/temp.macosx-10.7-x86_64-3.7/src/mplutils.o >>> warning: include path for stdlibc++ headers not found; pass >>> '-std=libc++' on the command line to use the libc++ standard library >>> instead [-Wstdlibcxx-not-found] >>> 1 warning generated. >>> /usr/bin/gcc -Wno-unused-result -Wsign-compare -Wunreachable-code >>> -DNDEBUG -g -fwrapv -O3 -Wall -I/Users/tadmin/anaconda3/include -arch >>> x86_64 -I/Users/tadmin/anaconda3/include -arch x86_64 >>> -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backends__backend_agg_ARRAY_API >>> -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 >>> -DFREETYPE_BUILD_TYPE=local -Ibuild/freetype-2.6.1/include >>> -Iextern/agg24-svn/include >>> -I/Users/tadmin/matplotlib_dev/lib/python3.7/site-packages/numpy/core/include >>> >>> -I/Users/tadmin/matplotlib_dev/include >>> -I/Users/tadmin/anaconda3/include/python3.7m -c src/py_converters.cpp -o >>> build/temp.macosx-10.7-x86_64-3.7/src/py_converters.o >>> warning: include path for stdlibc++ headers not found; pass >>> '-std=libc++' on the command line to use the libc++ standard library >>> instead [-Wstdlibcxx-not-found] >>> In file included from src/py_converters.cpp:3: >>> In file included from src/py_converters.h:17: >>> src/_backend_agg_basic_types.h:7:10: fatal error: 'vector' file not >>> found >>> #include >>> ^~~~~~~~ >>> 1 warning and 1 error generated. >>> error: command '/usr/bin/gcc' failed with exit status 1 >>> ---------------------------------------- >>> ERROR: Command errored out with exit status 1: >>> /Users/tadmin/matplotlib_dev/bin/python -u -c 'import sys, setuptools, >>> tokenize; sys.argv[0] = >>> '"'"'/private/var/folders/km/pk_8hct1101_18g4znr_wdm00000gq/T/pip-req-build-x2e7fmv6/setup.py'"'"'; >>> >>> __file__='"'"'/private/var/folders/km/pk_8hct1101_18g4znr_wdm00000gq/T/pip-req-build-x2e7fmv6/setup.py'"'"';f=getattr(tokenize, >>> >>> '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', >>> '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' >>> install --record >>> /private/var/folders/km/pk_8hct1101_18g4znr_wdm00000gq/T/pip-record-qxw7pttp/install-record.txt >>> >>> --single-version-externally-managed --compile --install-headers >>> /Users/tadmin/matplotlib_dev/include/site/python3.7/matplotlib Check the >>> logs for full command output. >>> >>> >>> >>> How can I approach to solve this? >>> >>> Best regards, >>> >>> Lars >>> >>> _______________________________________________ >>> Matplotlib-devel mailing list >>> Matplotlib-devel at python.org >>> https://mail.python.org/mailman/listinfo/matplotlib-devel >>> >> >> >> -- >> Thomas Caswell >> tcaswell at gmail.com >> _______________________________________________ >> Matplotlib-devel mailing list >> Matplotlib-devel at python.org >> https://mail.python.org/mailman/listinfo/matplotlib-devel >> > > > -- > Ryan May > > _______________________________________________ > Matplotlib-devel mailing list > Matplotlib-devel at python.org > https://mail.python.org/mailman/listinfo/matplotlib-devel > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tcaswell at gmail.com Tue Apr 14 15:59:27 2020 From: tcaswell at gmail.com (Thomas Caswell) Date: Tue, 14 Apr 2020 15:59:27 -0400 Subject: [Matplotlib-devel] 2FA on github Message-ID: Folks, We are now able to enroll in github's sponsor ship program [1] and have the donations go straight to our account with NumFOCUS! However the catch is that in order to configure it we must make 2FA [2] required for membership in the Matplotlib organization. Currently about 50% of us do not have it set up. The status-quo is that the "sponsor" button directs people to https://github.com/sponsors/numfocus . Any money donated that way goes to the NF general account, but it is not earmarked specifically for us. I am inclined to enable required 2FA (I was thinking about trying to do this anyway) but would like to open the floor to any concerns. If you have concerns that you don't feel comfortable discussing on the mailing list please email me directly. I would like to aim to flip the switch (which will remove everyone without 2FA form the org!) in 4 weeks. Tom ps: I personally use a yubikey and love it [1] https://github.com/sponsors [2] https://help.github.com/en/github/authenticating-to-github/securing-your-account-with-two-factor-authentication-2fa -- Thomas Caswell tcaswell at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From rmay31 at gmail.com Tue Apr 14 17:00:25 2020 From: rmay31 at gmail.com (Ryan May) Date: Tue, 14 Apr 2020 15:00:25 -0600 Subject: [Matplotlib-devel] 2FA on github In-Reply-To: References: Message-ID: Hi, That's a +1 from me. It's only rarely a pain when I'm trying to use GitHub from a new or someone else's computer. I rarely do anything with git that isn't over SSH and using SSH keys, so I'm almost never using my 2FA to do git stuff. The Google Authenticator and LastPass Authenticator apps work well in my experience--and they're free. Ryan On Tue, Apr 14, 2020 at 1:59 PM Thomas Caswell wrote: > Folks, > > We are now able to enroll in github's sponsor ship program [1] and have > the donations go straight to our account with NumFOCUS! However the catch > is that in order to configure it we must make 2FA [2] required for > membership in the Matplotlib organization. Currently about 50% of us do > not have it set up. > > The status-quo is that the "sponsor" button directs people to > https://github.com/sponsors/numfocus . Any money donated that way goes > to the NF general account, but it is not earmarked specifically for us. > > I am inclined to enable required 2FA (I was thinking about trying to do > this anyway) but would like to open the floor to any concerns. If you have > concerns that you don't feel comfortable discussing on the mailing list > please email me directly. > > I would like to aim to flip the switch (which will remove everyone without > 2FA form the org!) in 4 weeks. > > Tom > > ps: I personally use a yubikey and love it > > [1] https://github.com/sponsors > [2] > https://help.github.com/en/github/authenticating-to-github/securing-your-account-with-two-factor-authentication-2fa > > -- > Thomas Caswell > tcaswell at gmail.com > _______________________________________________ > Matplotlib-devel mailing list > Matplotlib-devel at python.org > https://mail.python.org/mailman/listinfo/matplotlib-devel > -- Ryan May -------------- next part -------------- An HTML attachment was scrubbed... URL: From efiring at hawaii.edu Tue Apr 14 19:10:02 2020 From: efiring at hawaii.edu (Eric Firing) Date: Tue, 14 Apr 2020 13:10:02 -1000 Subject: [Matplotlib-devel] 2FA on github In-Reply-To: References: Message-ID: <8511e02d-d98b-7b86-ffb0-36322259b8f7@hawaii.edu> OK with me. I'm using LastPass Authenticator. Eric On 2020/04/14 9:59 AM, Thomas Caswell wrote: > Folks, > > We are now able to enroll in github's sponsor?ship program [1] and have > the donations go straight to our account with NumFOCUS!? However the > catch is that in order to configure it we must make 2FA [2] required for > membership in the Matplotlib organization.? Currently about 50% of us do > not have it set up. > > The status-quo is that the "sponsor" button directs people?to > https://github.com/sponsors/numfocus?.? Any money donated that way goes > to the NF general account, but it is not earmarked specifically for us. > > I am inclined to enable required 2FA (I was thinking about trying to do > this anyway) but would like to open the floor to any concerns.? If you > have concerns that you don't feel comfortable discussing on the mailing > list please email me directly. > > I would like to aim to flip the switch (which will remove everyone > without 2FA form the org!) in 4 weeks. > > Tom > > ps: I personally use a yubikey and love it > > [1] https://github.com/sponsors > [2] > https://help.github.com/en/github/authenticating-to-github/securing-your-account-with-two-factor-authentication-2fa > > -- > Thomas Caswell > tcaswell at gmail.com > > _______________________________________________ > Matplotlib-devel mailing list > Matplotlib-devel at python.org > https://mail.python.org/mailman/listinfo/matplotlib-devel > From tensionheadx at gmail.com Mon Apr 20 10:36:13 2020 From: tensionheadx at gmail.com (=?UTF-8?Q?Gregor_M=C3=B6nke?=) Date: Mon, 20 Apr 2020 16:36:13 +0200 Subject: [Matplotlib-devel] clim API interface Message-ID: Hello, I hope this is the correct list I am writing to.. I am developing a data analysis GUI for basic biological research using PyQT and matplotlib to have interactive plots inside the UI (which works wonderfully). Recently I needed to add the possibility to interactively change the colormap limits (vmax, vmin) of an image plotted with imshow(). Before changing them, I want to retrieve the current values to fill the respective Qt line edits. Exploring the axes object creating the image, I found: vmin, vmax = ax.images[0].get_clim() which gives me exactly what I want. As this is rather undocumented, I wanted to ask if you consider that a save solution or if it's something which might change rather quickly in the release cycle? I don't want to build my application on API parts which might break quickly.. Thanks in advance! Cheers, Gregor -------------- next part -------------- An HTML attachment was scrubbed... URL: From efiring at hawaii.edu Mon Apr 20 12:25:08 2020 From: efiring at hawaii.edu (Eric Firing) Date: Mon, 20 Apr 2020 06:25:08 -1000 Subject: [Matplotlib-devel] clim API interface In-Reply-To: References: Message-ID: <13a70b08-d798-9ef3-e4a3-c02af86cf782@hawaii.edu> Gregor, It's safe. get_clim() is a documented public method of the ScalarMappable mixin, inherited by all classes that handle color mapping. Eric On 2020/04/20 4:36 AM, Gregor M?nke wrote: > Hello, > > I hope this is the correct list I am writing to.. I am developing a data > analysis GUI for basic biological research using PyQT and matplotlib to > have interactive plots inside the UI (which works wonderfully). Recently > I needed to add the possibility to interactively change the colormap > limits (vmax, vmin) of an image plotted with imshow(). Before changing > them, I want to retrieve the current values to fill the respective Qt > line edits. Exploring the axes object creating the image, I found: > > vmin, vmax = ax.images[0].get_clim() > > which gives me exactly what I want. As this is rather undocumented, I > wanted to ask if you consider that a save solution or if it's something > which might change rather quickly in the release cycle? I don't want to > build my application on API parts which might break quickly.. Thanks in > advance! > > Cheers, > Gregor > > _______________________________________________ > Matplotlib-devel mailing list > Matplotlib-devel at python.org > https://mail.python.org/mailman/listinfo/matplotlib-devel > From tcaswell at gmail.com Mon Apr 27 16:21:03 2020 From: tcaswell at gmail.com (Thomas Caswell) Date: Mon, 27 Apr 2020 16:21:03 -0400 Subject: [Matplotlib-devel] 3.3 release triage meething Message-ID: Folks, We are aiming to get an RC for Matplotlib 3.3 out at end of this week (2020-05-01), to expedite that we will have a special meeting this week to talk through any remaining PRs or Issues. Topic: Matplotlib 3.3 final triage Time: Apr 30, 2020 03:00 PM Eastern Time (US and Canada) Join Zoom Meeting https://zoom.us/j/94191614054 Meeting ID: 941 9161 4054 One tap mobile +16468769923,,94191614054# US (New York) +13017158592,,94191614054# US (Germantown) Dial by your location +1 646 876 9923 US (New York) +1 301 715 8592 US (Germantown) +1 312 626 6799 US (Chicago) +1 346 248 7799 US (Houston) +1 669 900 6833 US (San Jose) +1 253 215 8782 US (Tacoma) Meeting ID: 941 9161 4054 Find your local number: https://zoom.us/u/aEEIPr1zI Join by SIP 94191614054 at zoomcrc.com Join by H.323 162.255.37.11 (US West) 162.255.36.11 (US East) 221.122.88.195 (China) 115.114.131.7 (India Mumbai) 115.114.115.7 (India Hyderabad) 213.19.144.110 (EMEA) 103.122.166.55 (Australia) 209.9.211.110 (Hong Kong China) 64.211.144.160 (Brazil) 69.174.57.160 (Canada) 207.226.132.110 (Japan) Meeting ID: 941 9161 4054 Tom -- Thomas Caswell tcaswell at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: