Skip to content

Setting up package dependencies + virtual environments #2487

@emmyxth

Description

@emmyxth

As per #2484 , the uwsgi package seems to be problematic during installation.

Operating system:
Darwin Emmys-MBP-3.lan 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 20:59:58 PST 2023; root:xnu-8796.101.5~3/RELEASE_ARM64_T6020 arm64

Python version: Python 3.11.13

Commands and logs:

(base) emmythamakaison@Emmys-MBP-3 physionet-build % conda create --name test-3 
Collecting package metadata (current_repodata.json): done
Solving environment: done


==> WARNING: A newer version of conda exists. <==
  current version: 23.3.1
  latest version: 25.7.0

Please update conda by running

    $ conda update -n base -c defaults conda

Or to minimize the number of packages updated during conda update use

     conda install conda=25.7.0



## Package Plan ##

  environment location: /Users/emmythamakaison/anaconda3/envs/test-3



Proceed ([y]/n)? n^[[A
Invalid choice: n
Proceed ([y]/n)? n


CondaSystemExit: Exiting.

(base) emmythamakaison@Emmys-MBP-3 physionet-build % conda create --name test-3 python==3.11
Collecting package metadata (current_repodata.json): done
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: done


==> WARNING: A newer version of conda exists. <==
  current version: 23.3.1
  latest version: 25.7.0

Please update conda by running

    $ conda update -n base -c defaults conda

Or to minimize the number of packages updated during conda update use

     conda install conda=25.7.0



## Package Plan ##

  environment location: /Users/emmythamakaison/anaconda3/envs/test-3

  added / updated specs:
    - python==3.11


The following NEW packages will be INSTALLED:

  bzip2              pkgs/main/osx-arm64::bzip2-1.0.8-h80987f9_6 
  ca-certificates    pkgs/main/osx-arm64::ca-certificates-2025.7.15-hca03da5_0 
  libffi             pkgs/main/osx-arm64::libffi-3.4.4-hca03da5_1 
  ncurses            pkgs/main/osx-arm64::ncurses-6.5-hee39554_0 
  openssl            pkgs/main/osx-arm64::openssl-1.1.1w-h1a28f6b_0 
  pip                pkgs/main/noarch::pip-25.2-pyhc872135_0 
  python             pkgs/main/osx-arm64::python-3.11.0-hc0d8a6c_3 
  readline           pkgs/main/osx-arm64::readline-8.3-h0b18652_0 
  setuptools         pkgs/main/osx-arm64::setuptools-78.1.1-py311hca03da5_0 
  sqlite             pkgs/main/osx-arm64::sqlite-3.50.2-h79febb2_1 
  tk                 pkgs/main/osx-arm64::tk-8.6.15-hcd8a7d5_0 
  tzdata             pkgs/main/noarch::tzdata-2025b-h04d1e81_0 
  wheel              pkgs/main/osx-arm64::wheel-0.45.1-py311hca03da5_0 
  xz                 pkgs/main/osx-arm64::xz-5.6.4-h80987f9_1 
  zlib               pkgs/main/osx-arm64::zlib-1.2.13-h18a0788_1 


Proceed ([y]/n)? y


Downloading and Extracting Packages

Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
#     $ conda activate test-3
#
# To deactivate an active environment, use
#
#     $ conda deactivate

(base) emmythamakaison@Emmys-MBP-3 physionet-build % conda activate test-3
(test-3) emmythamakaison@Emmys-MBP-3 physionet-build % pip install -r requirements.txt
Ignoring renameat2: markers 'python_version >= "3.11" and python_version < "4.0" and sys_platform == "linux"' don't match your environment
Ignoring tzdata: markers 'python_version >= "3.11" and python_version < "4.0" and sys_platform == "win32"' don't match your environment
Collecting aiohappyeyeballs==2.6.1 (from -r requirements.txt (line 1))
  Using cached aiohappyeyeballs-2.6.1-py3-none-any.whl (15 kB)
Collecting aiohttp==3.12.15 (from -r requirements.txt (line 4))
  Using cached aiohttp-3.12.15-cp311-cp311-macosx_11_0_arm64.whl (471 kB)
Collecting aiosignal==1.4.0 (from -r requirements.txt (line 91))
  Using cached aiosignal-1.4.0-py3-none-any.whl (7.5 kB)
Collecting asgiref==3.7.2 (from -r requirements.txt (line 94))
  Using cached asgiref-3.7.2-py3-none-any.whl (24 kB)
Collecting attrs==25.3.0 (from -r requirements.txt (line 97))
  Using cached attrs-25.3.0-py3-none-any.whl (63 kB)
Collecting bleach==3.3.0 (from -r requirements.txt (line 100))
  Using cached bleach-3.3.0-py2.py3-none-any.whl (283 kB)
Collecting boto3==1.28.53 (from -r requirements.txt (line 103))
  Using cached boto3-1.28.53-py3-none-any.whl (135 kB)
Collecting botocore==1.31.53 (from -r requirements.txt (line 106))
  Using cached botocore-1.31.53-py3-none-any.whl (11.2 MB)
Collecting cachetools==4.2.2 (from -r requirements.txt (line 109))
  Using cached cachetools-4.2.2-py3-none-any.whl (11 kB)
Collecting certifi==2024.7.4 (from -r requirements.txt (line 112))
  Using cached certifi-2024.7.4-py3-none-any.whl (162 kB)
Collecting cffi==1.15.1 (from -r requirements.txt (line 115))
  Using cached cffi-1.15.1-cp311-cp311-macosx_11_0_arm64.whl (174 kB)
Collecting chardet==3.0.4 (from -r requirements.txt (line 180))
  Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting charset-normalizer==2.0.12 (from -r requirements.txt (line 183))
  Using cached charset_normalizer-2.0.12-py3-none-any.whl (39 kB)
Collecting coverage==7.2.3 (from -r requirements.txt (line 186))
  Using cached coverage-7.2.3-cp311-cp311-macosx_11_0_arm64.whl (200 kB)
Collecting cryptography==44.0.1 (from -r requirements.txt (line 238))
  Using cached cryptography-44.0.1-cp39-abi3-macosx_10_9_universal2.whl (6.6 MB)
Collecting django-autocomplete-light==3.9.4 (from -r requirements.txt (line 270))
  Using cached django_autocomplete_light-3.9.4-py3-none-any.whl
Collecting django-background-tasks-updated==1.2.7 (from -r requirements.txt (line 272))
  Using cached django_background_tasks_updated-1.2.7-py3-none-any.whl (25 kB)
Collecting django-cors-headers==3.14.0 (from -r requirements.txt (line 275))
  Using cached django_cors_headers-3.14.0-py3-none-any.whl (13 kB)
Collecting django-coverage-plugin==3.1.0 (from -r requirements.txt (line 278))
  Using cached django_coverage_plugin-3.1.0-py3-none-any.whl (14 kB)
Collecting django-debug-toolbar==3.2.4 (from -r requirements.txt (line 281))
  Using cached django_debug_toolbar-3.2.4-py3-none-any.whl (216 kB)
Collecting django-oauth-toolkit==2.2.0 (from -r requirements.txt (line 284))
  Using cached django_oauth_toolkit-2.2.0-py3-none-any.whl (63 kB)
Collecting django-picklefield==3.1 (from -r requirements.txt (line 287))
  Using cached django_picklefield-3.1-py3-none-any.whl (9.5 kB)
Collecting django-q2==1.6.2 (from -r requirements.txt (line 290))
  Using cached django_q2-1.6.2-py3-none-any.whl (101 kB)
Collecting django-sass==1.1.0 (from -r requirements.txt (line 293))
  Using cached django_sass-1.1.0-py3-none-any.whl (8.7 kB)
Collecting django-static-mathjax==3.2.2.1 (from -r requirements.txt (line 296))
  Using cached django_static_mathjax-3.2.2.1-py3-none-any.whl (10.2 MB)
Collecting django-storages==1.12.3 (from -r requirements.txt (line 299))
  Using cached django_storages-1.12.3-py3-none-any.whl (44 kB)
Collecting django-tinymce==4.1.0 (from -r requirements.txt (line 302))
  Using cached django_tinymce-4.1.0-py3-none-any.whl (1.3 MB)
Collecting django==4.2.22 (from -r requirements.txt (line 305))
  Using cached django-4.2.22-py3-none-any.whl (8.0 MB)
Collecting djangorestframework==3.15.2 (from -r requirements.txt (line 308))
  Using cached djangorestframework-3.15.2-py3-none-any.whl (1.1 MB)
Collecting frozenlist==1.7.0 (from -r requirements.txt (line 311))
  Using cached frozenlist-1.7.0-cp311-cp311-macosx_11_0_arm64.whl (47 kB)
Collecting geoip2==5.1.0 (from -r requirements.txt (line 416))
  Using cached geoip2-5.1.0-py3-none-any.whl (27 kB)
Collecting google-api-core==2.25.1 (from google-api-core[grpc]==2.25.1->-r requirements.txt (line 419))
  Using cached google_api_core-2.25.1-py3-none-any.whl (160 kB)
Collecting google-api-python-client==2.177.0 (from -r requirements.txt (line 422))
  Using cached google_api_python_client-2.177.0-py3-none-any.whl (13.7 MB)
Collecting google-auth-httplib2==0.2.0 (from -r requirements.txt (line 425))
  Using cached google_auth_httplib2-0.2.0-py2.py3-none-any.whl (9.3 kB)
Collecting google-auth==2.40.3 (from -r requirements.txt (line 428))
  Using cached google_auth-2.40.3-py2.py3-none-any.whl (216 kB)
Collecting google-cloud-core==2.4.3 (from -r requirements.txt (line 431))
  Using cached google_cloud_core-2.4.3-py2.py3-none-any.whl (29 kB)
Collecting google-cloud-storage==1.42.3 (from -r requirements.txt (line 434))
  Using cached google_cloud_storage-1.42.3-py2.py3-none-any.whl (105 kB)
Collecting google-cloud-workflows==1.9.1 (from -r requirements.txt (line 437))
  Using cached google_cloud_workflows-1.9.1-py2.py3-none-any.whl (143 kB)
Collecting google-crc32c==1.1.2 (from -r requirements.txt (line 440))
  Using cached google_crc32c-1.1.2-py3-none-any.whl
Collecting google-resumable-media==1.3.1 (from -r requirements.txt (line 470))
  Using cached google_resumable_media-1.3.1-py2.py3-none-any.whl (75 kB)
Collecting googleapis-common-protos==1.58.0 (from -r requirements.txt (line 473))
  Using cached googleapis_common_protos-1.58.0-py2.py3-none-any.whl (223 kB)
Collecting grpcio-status==1.53.2 (from -r requirements.txt (line 476))
  Using cached grpcio_status-1.53.2-py3-none-any.whl (5.1 kB)
Collecting grpcio==1.53.2 (from -r requirements.txt (line 479))
  Using cached grpcio-1.53.2-cp311-cp311-macosx_10_10_universal2.whl (8.5 MB)
Collecting hdn-research-environment==3.2.13 (from -r requirements.txt (line 525))
  Using cached hdn_research_environment-3.2.13-py3-none-any.whl
Collecting html2text==2018.1.9 (from -r requirements.txt (line 527))
  Using cached html2text-2018.1.9-py3-none-any.whl (21 kB)
Collecting httplib2==0.19.1 (from -r requirements.txt (line 530))
  Using cached httplib2-0.19.1-py3-none-any.whl (95 kB)
Collecting idna==3.7 (from -r requirements.txt (line 533))
  Using cached idna-3.7-py3-none-any.whl (66 kB)
Collecting jinja2==3.1.6 (from -r requirements.txt (line 536))
  Using cached jinja2-3.1.6-py3-none-any.whl (134 kB)
Collecting jmespath==1.0.1 (from -r requirements.txt (line 539))
  Using cached jmespath-1.0.1-py3-none-any.whl (20 kB)
Collecting jwcrypto==1.5.6 (from -r requirements.txt (line 542))
  Using cached jwcrypto-1.5.6-py3-none-any.whl (92 kB)
Collecting libsass==0.21.0 (from -r requirements.txt (line 545))
  Using cached libsass-0.21.0-cp38-abi3-macosx_12_0_arm64.whl (980 kB)
Collecting markupsafe==2.1.3 (from -r requirements.txt (line 556))
  Using cached MarkupSafe-2.1.3-cp311-cp311-macosx_10_9_universal2.whl (17 kB)
Collecting maxminddb==2.7.0 (from -r requirements.txt (line 617))
  Using cached maxminddb-2.7.0-cp311-cp311-macosx_11_0_arm64.whl (34 kB)
Collecting moto==4.2.10 (from -r requirements.txt (line 707))
  Using cached moto-4.2.10-py2.py3-none-any.whl (3.2 MB)
Collecting multidict==6.6.3 (from -r requirements.txt (line 710))
  Using cached multidict-6.6.3-cp311-cp311-macosx_11_0_arm64.whl (44 kB)
Collecting oauthlib==3.2.2 (from -r requirements.txt (line 821))
  Using cached oauthlib-3.2.2-py3-none-any.whl (151 kB)
Collecting packaging==20.9 (from -r requirements.txt (line 824))
  Using cached packaging-20.9-py2.py3-none-any.whl (40 kB)
Collecting pdfminer-six==20211012 (from -r requirements.txt (line 827))
  Using cached pdfminer.six-20211012-py3-none-any.whl (5.6 MB)
Collecting pillow==11.3.0 (from -r requirements.txt (line 830))
  Using cached pillow-11.3.0-cp311-cp311-macosx_11_0_arm64.whl (4.7 MB)
Collecting propcache==0.3.2 (from -r requirements.txt (line 937))
  Using cached propcache-0.3.2-cp311-cp311-macosx_11_0_arm64.whl (43 kB)
Collecting proto-plus==1.26.1 (from -r requirements.txt (line 1036))
  Using cached proto_plus-1.26.1-py3-none-any.whl (50 kB)
Collecting protobuf==4.25.8 (from -r requirements.txt (line 1039))
  Using cached protobuf-4.25.8-cp37-abi3-macosx_10_9_universal2.whl (394 kB)
Collecting psycopg2==2.9.5 (from -r requirements.txt (line 1051))
  Using cached psycopg2-2.9.5-cp311-cp311-macosx_11_0_arm64.whl
Collecting pyasn1-modules==0.2.8 (from -r requirements.txt (line 1065))
  Using cached pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
Collecting pyasn1==0.4.8 (from -r requirements.txt (line 1068))
  Using cached pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
Collecting pycparser==2.20 (from -r requirements.txt (line 1071))
  Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
Collecting pyjwt==2.9.0 (from -r requirements.txt (line 1074))
  Using cached PyJWT-2.9.0-py3-none-any.whl (22 kB)
Collecting pyopenssl==24.3.0 (from -r requirements.txt (line 1077))
  Using cached pyOpenSSL-24.3.0-py3-none-any.whl (56 kB)
Collecting pyparsing==2.4.7 (from -r requirements.txt (line 1080))
  Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Collecting python-dateutil==2.8.2 (from -r requirements.txt (line 1083))
  Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting python-decouple==3.4 (from -r requirements.txt (line 1086))
  Using cached python_decouple-3.4-py3-none-any.whl (9.5 kB)
Collecting python-json-logger==2.0.2 (from -r requirements.txt (line 1089))
  Using cached python_json_logger-2.0.2-py3-none-any.whl (7.4 kB)
Collecting pytz==2022.1 (from -r requirements.txt (line 1092))
  Using cached pytz-2022.1-py2.py3-none-any.whl (503 kB)
Collecting pyyaml==6.0.1 (from -r requirements.txt (line 1095))
  Using cached PyYAML-6.0.1-cp311-cp311-macosx_11_0_arm64.whl (167 kB)
Collecting requests-mock==1.9.3 (from -r requirements.txt (line 1185))
  Using cached requests_mock-1.9.3-py2.py3-none-any.whl (27 kB)
Collecting requests-oauthlib==1.3.0 (from -r requirements.txt (line 1188))
  Using cached requests_oauthlib-1.3.0-py2.py3-none-any.whl (23 kB)
Collecting requests==2.32.4 (from -r requirements.txt (line 1191))
  Using cached requests-2.32.4-py3-none-any.whl (64 kB)
Collecting responses==0.24.1 (from -r requirements.txt (line 1194))
  Using cached responses-0.24.1-py3-none-any.whl (55 kB)
Collecting rsa==4.7.2 (from -r requirements.txt (line 1197))
  Using cached rsa-4.7.2-py3-none-any.whl (34 kB)
Collecting s3transfer==0.6.2 (from -r requirements.txt (line 1200))
  Using cached s3transfer-0.6.2-py3-none-any.whl (79 kB)
Collecting selenium==3.141.0 (from -r requirements.txt (line 1203))
  Using cached selenium-3.141.0-py2.py3-none-any.whl (904 kB)
Collecting sentry-sdk==2.8.0 (from -r requirements.txt (line 1206))
  Using cached sentry_sdk-2.8.0-py2.py3-none-any.whl (300 kB)
Requirement already satisfied: setuptools==78.1.1 in /Users/emmythamakaison/anaconda3/envs/test-3/lib/python3.11/site-packages (from -r requirements.txt (line 1209)) (78.1.1)
Collecting six==1.16.0 (from -r requirements.txt (line 1212))
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting sqlparse==0.5.0 (from -r requirements.txt (line 1215))
  Using cached sqlparse-0.5.0-py3-none-any.whl (43 kB)
Collecting typing-extensions==4.10.0 (from -r requirements.txt (line 1218))
  Using cached typing_extensions-4.10.0-py3-none-any.whl (33 kB)
Collecting uritemplate==3.0.1 (from -r requirements.txt (line 1224))
  Using cached uritemplate-3.0.1-py2.py3-none-any.whl (15 kB)
Collecting urllib3==1.26.19 (from -r requirements.txt (line 1227))
  Using cached urllib3-1.26.19-py2.py3-none-any.whl (143 kB)
Collecting uwsgi==2.0.22 (from -r requirements.txt (line 1230))
  Using cached uwsgi-2.0.22.tar.gz (809 kB)
  Preparing metadata (setup.py) ... done
Collecting webencodings==0.5.1 (from -r requirements.txt (line 1232))
  Using cached webencodings-0.5.1-py2.py3-none-any.whl (11 kB)
Collecting werkzeug==3.0.6 (from -r requirements.txt (line 1235))
  Using cached werkzeug-3.0.6-py3-none-any.whl (227 kB)
Collecting xmltodict==0.13.0 (from -r requirements.txt (line 1238))
  Using cached xmltodict-0.13.0-py2.py3-none-any.whl (10.0 kB)
Collecting yarl==1.20.1 (from -r requirements.txt (line 1241))
  Using cached yarl-1.20.1-cp311-cp311-macosx_11_0_arm64.whl (89 kB)
Collecting zxcvbn==4.4.28 (from -r requirements.txt (line 1346))
  Using cached zxcvbn-4.4.28-py2.py3-none-any.whl
Building wheels for collected packages: uwsgi
  DEPRECATION: Building 'uwsgi' using the legacy setup.py bdist_wheel mechanism, which will be removed in a future version. pip 25.3 will enforce this behaviour change. A possible replacement is to use the standardized build interface by setting the `--use-pep517` option, (possibly combined with `--no-build-isolation`), or adding a `pyproject.toml` file to the source tree of 'uwsgi'. Discussion can be found at https://github.com/pypa/pip/issues/6334
  Building wheel for uwsgi (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [215 lines of output]
      /Users/emmythamakaison/anaconda3/envs/test-3/lib/python3.11/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'descriptions'
        warnings.warn(msg)
      /Users/emmythamakaison/anaconda3/envs/test-3/lib/python3.11/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
      !!
      
              ********************************************************************************
              Please consider removing the following classifiers in favor of a SPDX license expression:
      
              License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)
      
              See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
              ********************************************************************************
      
      !!
        self._finalize_license_expression()
      running bdist_wheel
      running build
      running build_py
      creating build/lib
      copying uwsgidecorators.py -> build/lib
      /Users/emmythamakaison/anaconda3/envs/test-3/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:90: SetuptoolsDeprecationWarning: setup.py install is deprecated.
      !!
      
              ********************************************************************************
              Please avoid running ``setup.py`` directly.
              Instead, use pypa/build, pypa/installer or other
              standards-based tools.
      
              See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
              ********************************************************************************
      
      !!
        self.initialize_options()
      installing to build/bdist.macosx-11.1-arm64/wheel
      running install
      using profile: buildconf/default.ini
      detected include path: ['/usr/local/include', '/Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include', '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include', '/Library/Developer/CommandLineTools/usr/include', '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks']
      Patching "bin_name" to properly install_scripts dir
      detected CPU cores: 10
      configured CFLAGS: -O2 -I. -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -DUWSGI_HAS_IFADDRS -DUWSGI_ZLIB -mmacosx-version-min=10.5 -DUWSGI_LOCK_USE_OSX_SPINLOCK -DUWSGI_EVENT_USE_KQUEUE -DUWSGI_EVENT_TIMER_USE_KQUEUE -DUWSGI_EVENT_FILEMONITOR_USE_KQUEUE -DUWSGI_UUID -DUWSGI_VERSION="\"2.0.22\"" -DUWSGI_VERSION_BASE="2" -DUWSGI_VERSION_MAJOR="0" -DUWSGI_VERSION_MINOR="22" -DUWSGI_VERSION_REVISION="0" -DUWSGI_VERSION_CUSTOM="\"\"" -DUWSGI_YAML -DUWSGI_XML -DUWSGI_XML_EXPAT -DUWSGI_PLUGIN_DIR="\".\"" -DUWSGI_DECLARE_EMBEDDED_PLUGINS="UDEP(python);UDEP(gevent);UDEP(ping);UDEP(cache);UDEP(nagios);UDEP(rrdtool);UDEP(carbon);UDEP(rpc);UDEP(corerouter);UDEP(fastrouter);UDEP(http);UDEP(signal);UDEP(syslog);UDEP(rsyslog);UDEP(logsocket);UDEP(router_uwsgi);UDEP(router_redirect);UDEP(router_basicauth);UDEP(zergpool);UDEP(redislog);UDEP(mongodblog);UDEP(router_rewrite);UDEP(router_http);UDEP(logfile);UDEP(router_cache);UDEP(rawrouter);UDEP(router_static);UDEP(sslrouter);UDEP(spooler);UDEP(cheaper_busyness);UDEP(symcall);UDEP(transformation_tofile);UDEP(transformation_gzip);UDEP(transformation_chunked);UDEP(transformation_offload);UDEP(router_memcached);UDEP(router_redis);UDEP(router_hash);UDEP(router_expires);UDEP(router_metrics);UDEP(transformation_template);UDEP(stats_pusher_socket);" -DUWSGI_LOAD_EMBEDDED_PLUGINS="ULEP(python);ULEP(gevent);ULEP(ping);ULEP(cache);ULEP(nagios);ULEP(rrdtool);ULEP(carbon);ULEP(rpc);ULEP(corerouter);ULEP(fastrouter);ULEP(http);ULEP(signal);ULEP(syslog);ULEP(rsyslog);ULEP(logsocket);ULEP(router_uwsgi);ULEP(router_redirect);ULEP(router_basicauth);ULEP(zergpool);ULEP(redislog);ULEP(mongodblog);ULEP(router_rewrite);ULEP(router_http);ULEP(logfile);ULEP(router_cache);ULEP(rawrouter);ULEP(router_static);ULEP(sslrouter);ULEP(spooler);ULEP(cheaper_busyness);ULEP(symcall);ULEP(transformation_tofile);ULEP(transformation_gzip);ULEP(transformation_chunked);ULEP(transformation_offload);ULEP(router_memcached);ULEP(router_redis);ULEP(router_hash);ULEP(router_expires);ULEP(router_metrics);ULEP(transformation_template);ULEP(stats_pusher_socket);"
      *** uWSGI compiling server core ***
      [thread 2][clang] core/utils.o
      [thread 1][clang] core/protocol.o
      [thread 3][clang] core/socket.o
      [thread 4][clang] core/logging.o
      [thread 6][clang] core/master.o
      [thread 5][clang] core/master_utils.o
      [thread 7][clang] core/emperor.o
      [thread 8][clang] core/notify.o
      [thread 0][clang] core/mule.o
      [thread 9][clang] core/subscription.o
      [thread 8][clang] core/stats.o
      [thread 0][clang] core/sendfile.o
      [thread 1][clang] core/async.o
      [thread 9][clang] core/master_checks.o
      [thread 6][clang] core/fifo.o
      [thread 5][clang] core/offload.o
      [thread 3][clang] core/io.o
      [thread 0][clang] core/static.o
      [thread 8][clang] core/websockets.o
      [thread 4][clang] core/spooler.o
      [thread 7][clang] core/snmp.o
      [thread 1][clang] core/exceptions.o
      [thread 6][clang] core/config.o
      [thread 9][clang] core/setup_utils.o
      [thread 5][clang] core/clock.o
      [thread 0][clang] core/init.o
      [thread 8][clang] core/buffer.o
      [thread 2][clang] core/reader.o
      [thread 7][clang] core/writer.o
      [thread 4][clang] core/alarm.o
      [thread 1][clang] core/cron.o
      [thread 9][clang] core/hooks.o
      [thread 3][clang] core/plugins.o
      [thread 5][clang] core/lock.o
      [thread 6][clang] core/cache.o
      [thread 0][clang] core/daemons.o
      [thread 8][clang] core/errors.o
      [thread 3][clang] core/hash.o
      [thread 1][clang] core/master_events.o
      [thread 4][clang] core/chunked.o
      [thread 5][clang] core/queue.o
      [thread 7][clang] core/event.o
      [thread 2][clang] core/signal.o
      [thread 9][clang] core/strings.o
      [thread 0][clang] core/progress.o
      [thread 8][clang] core/timebomb.o
      [thread 3][clang] core/ini.o
      [thread 1][clang] core/fsmon.o
      [thread 4][clang] core/mount.o
      [thread 5][clang] core/metrics.o
      [thread 7][clang] core/plugins_builder.o
      [thread 0][clang] core/sharedarea.o
      [thread 2][clang] core/rpc.o
      [thread 6][clang] core/gateway.o
      core/ini.c:90:6: warning: variable 'lines' set but not used [-Wunused-but-set-variable]
              int lines = 1;
                  ^
      [thread 8][clang] core/loop.o
      [thread 9][clang] core/cookie.o
      [thread 4][clang] core/querystring.o
      1 warning generated.
      [thread 3][clang] core/rb_timers.o
      [thread 1][clang] core/transformations.o
      [thread 7][clang] core/uwsgi.o
      [thread 2][clang] proto/base.o
      [thread 6][clang] proto/uwsgi.o
      [thread 9][clang] proto/http.o
      [thread 8][clang] proto/fastcgi.o
      [thread 4][clang] proto/scgi.o
      [thread 0][clang] proto/puwsgi.o
      [thread 1][clang] core/zlib.o
      [thread 3][clang] core/yaml.o
      [thread 5][clang] core/xmlconf.o
      [thread 6][clang] core/dot_h.o
      [thread 0][clang] core/config_py.o
      *** uWSGI compiling embedded plugins ***
      [thread 2][clang] plugins/python/python_plugin.o
      [thread 4][clang] plugins/python/pyutils.o
      [thread 8][clang] plugins/python/pyloader.o
      core/yaml.c:214:6: warning: variable 'lines' set but not used [-Wunused-but-set-variable]
              int lines = 1;
                  ^
      [thread 6][clang] plugins/python/wsgi_handlers.o
      1 warning generated.
      [thread 3][clang] plugins/python/wsgi_headers.o
      [thread 0][clang] plugins/python/wsgi_subhandler.o
      [thread 1][clang] plugins/python/web3_subhandler.o
      [thread 5][clang] plugins/python/pump_subhandler.o
      [thread 9][clang] plugins/python/gil.o
      plugins/python/pyutils.c:391:2: warning: 'PySys_SetArgv' is deprecated [-Wdeprecated-declarations]
              PySys_SetArgv(up.argc, up.py_argv);
              ^
      /Users/emmythamakaison/anaconda3/envs/test-3/include/python3.11/sysmodule.h:13:1: note: 'PySys_SetArgv' has been explicitly marked deprecated here
      Py_DEPRECATED(3.11) PyAPI_FUNC(void) PySys_SetArgv(int, wchar_t **);
      ^
      /Users/emmythamakaison/anaconda3/envs/test-3/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED'
      #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                           ^
      plugins/python/python_plugin.c:239:3: warning: 'Py_SetPythonHome' is deprecated [-Wdeprecated-declarations]
                      Py_SetPythonHome(wpyhome);
                      ^
      /Users/emmythamakaison/anaconda3/envs/test-3/include/python3.11/pylifecycle.h:40:1: note: 'Py_SetPythonHome' has been explicitly marked deprecated here
      Py_DEPRECATED(3.11) PyAPI_FUNC(void) Py_SetPythonHome(const wchar_t *);
      ^
      /Users/emmythamakaison/anaconda3/envs/test-3/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED'
      #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                           ^
      plugins/python/python_plugin.c:263:2: warning: 'Py_SetProgramName' is deprecated [-Wdeprecated-declarations]
              Py_SetProgramName(pname);
              ^
      /Users/emmythamakaison/anaconda3/envs/test-3/include/python3.11/pylifecycle.h:37:1: note: 'Py_SetProgramName' has been explicitly marked deprecated here
      Py_DEPRECATED(3.11) PyAPI_FUNC(void) Py_SetProgramName(const wchar_t *);
      ^
      /Users/emmythamakaison/anaconda3/envs/test-3/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED'
      #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                           ^
      [thread 0][clang] plugins/python/uwsgi_pymodule.o
      1 warning generated.
      [thread 4][clang] plugins/python/profiler.o
      [thread 5][clang] plugins/python/symimporter.o
      [thread 3][clang] plugins/python/tracebacker.o
      [thread 1][clang] plugins/python/raw.o
      [thread 9][clang] plugins/gevent/gevent.o
      [thread 6][clang] plugins/gevent/hooks.o
      [thread 8][clang] plugins/ping/ping_plugin.o
      [thread 4][clang] plugins/cache/cache.o
      [thread 1][clang] plugins/nagios/nagios.o
      [thread 6][clang] plugins/rrdtool/rrdtool.o
      [thread 3][clang] plugins/carbon/carbon.o
      [thread 8][clang] plugins/rpc/rpc_plugin.o
      [thread 5][clang] plugins/corerouter/cr_common.o
      2 warnings generated.
      [thread 2][clang] plugins/corerouter/cr_map.o
      [thread 9][clang] plugins/corerouter/corerouter.o
      [thread 1][clang] plugins/fastrouter/fastrouter.o
      [thread 4][clang] plugins/http/http.o
      [thread 7][clang] plugins/http/keepalive.o
      [thread 6][clang] plugins/http/https.o
      [thread 8][clang] plugins/http/spdy3.o
      [thread 3][clang] plugins/signal/signal_plugin.o
      [thread 5][clang] plugins/syslog/syslog_plugin.o
      [thread 2][clang] plugins/rsyslog/rsyslog_plugin.o
      [thread 6][clang] plugins/logsocket/logsocket_plugin.o
      [thread 8][clang] plugins/router_uwsgi/router_uwsgi.o
      [thread 7][clang] plugins/router_redirect/router_redirect.o
      [thread 3][clang] plugins/router_basicauth/router_basicauth.o
      [thread 9][clang] plugins/zergpool/zergpool.o
      [thread 5][clang] plugins/redislog/redislog_plugin.o
      [thread 1][clang] plugins/mongodblog/mongodblog_plugin.o
      [thread 2][clang] plugins/router_rewrite/router_rewrite.o
      [thread 6][clang] plugins/router_http/router_http.o
      [thread 0][clang] plugins/logfile/logfile.o
      [thread 8][clang] plugins/router_cache/router_cache.o
      [thread 7][clang] plugins/rawrouter/rawrouter.o
      [thread 3][clang] plugins/router_static/router_static.o
      [thread 9][clang] plugins/sslrouter/sslrouter.o
      [thread 1][clang] plugins/spooler/spooler_plugin.o
      [thread 5][clang] plugins/cheaper_busyness/cheaper_busyness.o
      [thread 2][clang] plugins/symcall/symcall_plugin.o
      [thread 0][clang] plugins/transformation_tofile/tofile.o
      [thread 4][clang] plugins/transformation_gzip/gzip.o
      [thread 8][clang] plugins/transformation_chunked/chunked.o
      [thread 6][clang] plugins/transformation_offload/offload.o
      [thread 3][clang] plugins/router_memcached/router_memcached.o
      [thread 9][clang] plugins/router_redis/router_redis.o
      [thread 7][clang] plugins/router_hash/router_hash.o
      [thread 1][clang] plugins/router_expires/expires.o
      [thread 0][clang] plugins/router_metrics/plugin.o
      [thread 4][clang] plugins/transformation_template/tt.o
      [thread 8][clang] plugins/stats_pusher_socket/plugin.o
      *** uWSGI linking ***
      clang -o build/bdist.macosx-11.1-arm64/wheel/uwsgi-2.0.22.data/scripts/uwsgi  core/utils.o core/protocol.o core/socket.o core/logging.o core/master.o core/master_utils.o core/emperor.o core/notify.o core/mule.o core/subscription.o core/stats.o core/sendfile.o core/async.o core/master_checks.o core/fifo.o core/offload.o core/io.o core/static.o core/websockets.o core/spooler.o core/snmp.o core/exceptions.o core/config.o core/setup_utils.o core/clock.o core/init.o core/buffer.o core/reader.o core/writer.o core/alarm.o core/cron.o core/hooks.o core/plugins.o core/lock.o core/cache.o core/daemons.o core/errors.o core/hash.o core/master_events.o core/chunked.o core/queue.o core/event.o core/signal.o core/strings.o core/progress.o core/timebomb.o core/ini.o core/fsmon.o core/mount.o core/metrics.o core/plugins_builder.o core/sharedarea.o core/rpc.o core/gateway.o core/loop.o core/cookie.o core/querystring.o core/rb_timers.o core/transformations.o core/uwsgi.o proto/base.o proto/uwsgi.o proto/http.o proto/fastcgi.o proto/scgi.o proto/puwsgi.o core/zlib.o core/yaml.o core/xmlconf.o core/dot_h.o core/config_py.o plugins/python/python_plugin.o plugins/python/pyutils.o plugins/python/pyloader.o plugins/python/wsgi_handlers.o plugins/python/wsgi_headers.o plugins/python/wsgi_subhandler.o plugins/python/web3_subhandler.o plugins/python/pump_subhandler.o plugins/python/gil.o plugins/python/uwsgi_pymodule.o plugins/python/profiler.o plugins/python/symimporter.o plugins/python/tracebacker.o plugins/python/raw.o plugins/gevent/gevent.o plugins/gevent/hooks.o plugins/ping/ping_plugin.o plugins/cache/cache.o plugins/nagios/nagios.o plugins/rrdtool/rrdtool.o plugins/carbon/carbon.o plugins/rpc/rpc_plugin.o plugins/corerouter/cr_common.o plugins/corerouter/cr_map.o plugins/corerouter/corerouter.o plugins/fastrouter/fastrouter.o plugins/http/http.o plugins/http/keepalive.o plugins/http/https.o plugins/http/spdy3.o plugins/signal/signal_plugin.o plugins/syslog/syslog_plugin.o plugins/rsyslog/rsyslog_plugin.o plugins/logsocket/logsocket_plugin.o plugins/router_uwsgi/router_uwsgi.o plugins/router_redirect/router_redirect.o plugins/router_basicauth/router_basicauth.o plugins/zergpool/zergpool.o plugins/redislog/redislog_plugin.o plugins/mongodblog/mongodblog_plugin.o plugins/router_rewrite/router_rewrite.o plugins/router_http/router_http.o plugins/logfile/logfile.o plugins/router_cache/router_cache.o plugins/rawrouter/rawrouter.o plugins/router_static/router_static.o plugins/sslrouter/sslrouter.o plugins/spooler/spooler_plugin.o plugins/cheaper_busyness/cheaper_busyness.o plugins/symcall/symcall_plugin.o plugins/transformation_tofile/tofile.o plugins/transformation_gzip/gzip.o plugins/transformation_chunked/chunked.o plugins/transformation_offload/offload.o plugins/router_memcached/router_memcached.o plugins/router_redis/router_redis.o plugins/router_hash/router_hash.o plugins/router_expires/expires.o plugins/router_metrics/plugin.o plugins/transformation_template/tt.o plugins/stats_pusher_socket/plugin.o -lpthread -lm -lz -lexpat -ldl -framework CoreFoundation /Users/emmythamakaison/anaconda3/envs/test-3/lib/python3.11/config-3.11-darwin/libpython3.11.a
      clang: error: no such file or directory: '/Users/emmythamakaison/anaconda3/envs/test-3/lib/python3.11/config-3.11-darwin/libpython3.11.a'
      *** error linking uWSGI ***
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for uwsgi
  Running setup.py clean for uwsgi
Failed to build uwsgi
error: failed-wheel-build-for-install

× Failed to build installable wheels for some pyproject.toml based projects
╰─> uwsgi

Work around: Delete uwsgi from requirements.txt, downgrade setuptools with pip install setuptools==58.2.0, running pip install uWSGI and pip install --upgrade setuptools

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions