google / re2

RE2 is a fast, safe, thread-friendly alternative to backtracking regular expression engines like those used in PCRE, Perl, and Python. It is a C++ library.
BSD 3-Clause "New" or "Revised" License
8.91k stars 1.12k forks source link

Airflow Postgres providers not getting installed. #503

Closed saurabhkuma1 closed 2 months ago

saurabhkuma1 commented 2 months ago

I have my Airflow 2.5 running fine on Mac OS 14.5 with a virtual conda environment. I am working at my own pace to learn Airflow and while trying to pip install apache-airflow-providers-postgres to interact with Postgresap installed on my local, I am getting below error. Can someone please suggest how this can be resolved? Thank you!

Below is the whole log of the command pip install apache-airflow-providers-postgres

(python_airflow) koustavdutta@Koustavs-MBP ~ % pip install apache-airflow-providers-postgres
Collecting apache-airflow-providers-postgres Using cached apache_airflow_providers_postgres-5.11.2-py3-none-any.whl.metadata (6.6 kB) Requirement already satisfied: apache-airflow-providers-common-sql>=1.3.1 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow-providers-postgres) (1.3.4) Collecting apache-airflow>=2.7.0 (from apache-airflow-providers-postgres) Using cached apache_airflow-2.9.3-py3-none-any.whl.metadata (43 kB) Requirement already satisfied: psycopg2-binary>=2.9.4 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow-providers-postgres) (2.9.9) Collecting alembic<2.0,>=1.13.1 (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) Using cached alembic-1.13.2-py3-none-any.whl.metadata (7.4 kB) Requirement already satisfied: argcomplete>=1.10 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (3.0.5) Requirement already satisfied: asgiref in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (3.6.0) Requirement already satisfied: attrs>=22.1.0 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (22.2.0) Collecting blinker>=1.6.2 (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) Using cached blinker-1.8.2-py3-none-any.whl.metadata (1.6 kB) Requirement already satisfied: colorlog<5.0,>=4.0.2 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (4.8.0) Requirement already satisfied: configupdater>=3.1.1 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (3.1.1) Requirement already satisfied: connexion<3.0,>=2.10.0 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from connexion[flask]<3.0,>=2.10.0->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (2.14.2) Requirement already satisfied: cron-descriptor>=1.2.24 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (1.2.35) Collecting croniter>=2.0.2 (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) Using cached croniter-3.0.3-py2.py3-none-any.whl.metadata (28 kB) Requirement already satisfied: cryptography>=39.0.0 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (39.0.2) Requirement already satisfied: deprecated>=1.2.13 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (1.2.13) Requirement already satisfied: dill>=0.2.2 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (0.3.1.1) Requirement already satisfied: flask-caching>=1.5.0 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (2.0.2) Requirement already satisfied: flask-session<0.6,>=0.4.0 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (0.4.0) Requirement already satisfied: flask-wtf>=0.15 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (1.1.1) Requirement already satisfied: flask<2.3,>=2.2 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (2.2.3) Collecting fsspec>=2023.10.0 (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) Using cached fsspec-2024.6.1-py3-none-any.whl.metadata (11 kB) Collecting google-re2>=1.0 (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) Using cached google_re2-1.1.20240702.tar.gz (11 kB) Preparing metadata (setup.py) ... done Requirement already satisfied: gunicorn>=20.1.0 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (20.1.0) Requirement already satisfied: httpx in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (0.23.3) Collecting importlib_metadata>=6.5 (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) Using cached importlib_metadata-8.2.0-py3-none-any.whl.metadata (4.7 kB) Requirement already satisfied: importlib_resources!=6.2.0,!=6.3.0,!=6.3.1,>=5.2 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (5.12.0) Requirement already satisfied: itsdangerous>=2.0 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (2.1.2) Requirement already satisfied: jinja2>=3.0.0 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (3.1.2) Collecting jsonschema>=4.18.0 (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) Using cached jsonschema-4.23.0-py3-none-any.whl.metadata (7.9 kB) Requirement already satisfied: lazy-object-proxy in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (1.9.0) Requirement already satisfied: linkify-it-py>=2.0.0 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (2.0.0) Requirement already satisfied: lockfile>=0.12.2 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (0.12.2) Requirement already satisfied: markdown-it-py>=2.1.0 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (2.2.0) Requirement already satisfied: markupsafe>=1.1.1 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (2.1.2) Requirement already satisfied: marshmallow-oneofschema>=2.0.1 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (3.0.1) Requirement already satisfied: mdit-py-plugins>=0.3.0 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (0.3.5) Collecting methodtools>=0.4.7 (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) Using cached methodtools-0.4.7-py3-none-any.whl Collecting opentelemetry-api>=1.15.0 (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) Using cached opentelemetry_api-1.26.0-py3-none-any.whl.metadata (1.4 kB) Collecting opentelemetry-exporter-otlp (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) Using cached opentelemetry_exporter_otlp-1.26.0-py3-none-any.whl.metadata (2.3 kB) Requirement already satisfied: packaging>=14.0 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (21.3) Requirement already satisfied: pathspec>=0.9.0 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (0.9.0) Requirement already satisfied: pendulum<4.0,>=2.1.2 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (2.1.2) Requirement already satisfied: pluggy>=1.0 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (1.0.0) Requirement already satisfied: psutil>=4.2.0 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (5.9.4) Requirement already satisfied: pygments>=2.0.1 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (2.14.0) Requirement already satisfied: pyjwt>=2.0.0 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (2.6.0) Requirement already satisfied: python-daemon>=3.0.0 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (3.0.1) Requirement already satisfied: python-dateutil>=2.3 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (2.8.2) Requirement already satisfied: python-nvd3>=0.15.0 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (0.15.0) Requirement already satisfied: python-slugify>=5.0 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (8.0.1) Requirement already satisfied: requests<3,>=2.27.0 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (2.28.2) Requirement already satisfied: rfc3339-validator>=0.1.4 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (0.1.4) Collecting rich-argparse>=1.0.0 (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) Using cached rich_argparse-1.5.2-py3-none-any.whl.metadata (14 kB) Requirement already satisfied: rich>=12.4.4 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (13.3.3) Requirement already satisfied: setproctitle>=1.1.8 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (1.3.2) Requirement already satisfied: sqlalchemy<2.0,>=1.4.36 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (1.4.47) Requirement already satisfied: sqlalchemy-jsonfield>=1.0 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (1.0.1.post0) Requirement already satisfied: tabulate>=0.7.5 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (0.9.0) Requirement already satisfied: tenacity!=8.2.0,>=6.2.0 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (8.2.2) Requirement already satisfied: termcolor>=1.1.0 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (2.2.0) Requirement already satisfied: unicodecsv>=0.14.1 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (0.14.1) Collecting universal-pathlib>=0.2.2 (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) Using cached universal_pathlib-0.2.2-py3-none-any.whl.metadata (25 kB) Requirement already satisfied: werkzeug<3,>=2.0 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (2.2.3) Collecting apache-airflow-providers-common-io (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) Using cached apache_airflow_providers_common_io-1.3.2-py3-none-any.whl.metadata (5.8 kB) Collecting apache-airflow-providers-fab>=1.0.2 (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) Using cached apache_airflow_providers_fab-1.2.1-py3-none-any.whl.metadata (5.0 kB) Requirement already satisfied: apache-airflow-providers-ftp in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (3.3.1) Requirement already satisfied: apache-airflow-providers-http in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (4.2.0) Requirement already satisfied: apache-airflow-providers-imap in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (3.1.1) Collecting apache-airflow-providers-smtp (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) Using cached apache_airflow_providers_smtp-1.7.1-py3-none-any.whl.metadata (4.7 kB) Requirement already satisfied: apache-airflow-providers-sqlite in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) (3.3.1) Requirement already satisfied: sqlparse>=0.4.2 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow-providers-common-sql>=1.3.1->apache-airflow-providers-postgres) (0.4.3) Requirement already satisfied: Mako in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from alembic<2.0,>=1.13.1->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (1.2.4) Requirement already satisfied: typing-extensions>=4 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from alembic<2.0,>=1.13.1->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (4.5.0) Collecting flask-appbuilder==4.5.0 (from apache-airflow-providers-fab>=1.0.2->apache-airflow>=2.7.0->apache-airflow-providers-postgres) Using cached Flask_AppBuilder-4.5.0-py3-none-any.whl.metadata (8.8 kB) Requirement already satisfied: flask-login>=0.6.2 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow-providers-fab>=1.0.2->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (0.6.2) Collecting jmespath>=0.7.0 (from apache-airflow-providers-fab>=1.0.2->apache-airflow>=2.7.0->apache-airflow-providers-postgres) Using cached jmespath-1.0.1-py3-none-any.whl.metadata (7.6 kB) Collecting apispec<7,>=6.0.0 (from apispec[yaml]<7,>=6.0.0->flask-appbuilder==4.5.0->apache-airflow-providers-fab>=1.0.2->apache-airflow>=2.7.0->apache-airflow-providers-postgres) Using cached apispec-6.6.1-py3-none-any.whl.metadata (10 kB) Requirement already satisfied: colorama<1,>=0.3.9 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from flask-appbuilder==4.5.0->apache-airflow-providers-fab>=1.0.2->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (0.4.6) Requirement already satisfied: click<9,>=8 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from flask-appbuilder==4.5.0->apache-airflow-providers-fab>=1.0.2->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (8.1.3) Requirement already satisfied: email-validator>=1.0.5 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from flask-appbuilder==4.5.0->apache-airflow-providers-fab>=1.0.2->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (1.3.1) Requirement already satisfied: Flask-Babel<3,>=1 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from flask-appbuilder==4.5.0->apache-airflow-providers-fab>=1.0.2->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (2.0.0) Collecting Flask-Limiter<4,>3 (from flask-appbuilder==4.5.0->apache-airflow-providers-fab>=1.0.2->apache-airflow>=2.7.0->apache-airflow-providers-postgres) Using cached Flask_Limiter-3.8.0-py3-none-any.whl.metadata (6.1 kB) Requirement already satisfied: Flask-SQLAlchemy<3,>=2.4 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from flask-appbuilder==4.5.0->apache-airflow-providers-fab>=1.0.2->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (2.5.1) Requirement already satisfied: Flask-JWT-Extended<5.0.0,>=4.0.0 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from flask-appbuilder==4.5.0->apache-airflow-providers-fab>=1.0.2->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (4.4.4) Requirement already satisfied: marshmallow<4,>=3.18.0 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from flask-appbuilder==4.5.0->apache-airflow-providers-fab>=1.0.2->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (3.19.0) Requirement already satisfied: marshmallow-sqlalchemy<0.29.0,>=0.22.0 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from flask-appbuilder==4.5.0->apache-airflow-providers-fab>=1.0.2->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (0.26.1) Requirement already satisfied: prison<1.0.0,>=0.2.1 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from flask-appbuilder==4.5.0->apache-airflow-providers-fab>=1.0.2->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (0.2.1) Requirement already satisfied: sqlalchemy-utils<1,>=0.32.21 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from flask-appbuilder==4.5.0->apache-airflow-providers-fab>=1.0.2->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (0.40.0) Requirement already satisfied: WTForms<4 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from flask-appbuilder==4.5.0->apache-airflow-providers-fab>=1.0.2->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (3.0.1) Requirement already satisfied: clickclick<21,>=1.2 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from connexion<3.0,>=2.10.0->connexion[flask]<3.0,>=2.10.0->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (20.10.2) Requirement already satisfied: PyYAML<7,>=5.1 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from connexion<3.0,>=2.10.0->connexion[flask]<3.0,>=2.10.0->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (6.0) Requirement already satisfied: inflection<0.6,>=0.3.1 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from connexion<3.0,>=2.10.0->connexion[flask]<3.0,>=2.10.0->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (0.5.1) Requirement already satisfied: pytz>2021.1 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from croniter>=2.0.2->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (2023.3) Requirement already satisfied: cffi>=1.12 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from cryptography>=39.0.0->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (1.15.1) Requirement already satisfied: wrapt<2,>=1.10 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from deprecated>=1.2.13->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (1.15.0) Requirement already satisfied: cachelib<0.10.0,>=0.9.0 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from flask-caching>=1.5.0->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (0.9.0) Requirement already satisfied: setuptools>=3.0 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from gunicorn>=20.1.0->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (69.5.1) Requirement already satisfied: zipp>=0.5 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from importlib_metadata>=6.5->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (3.15.0) Collecting jsonschema-specifications>=2023.03.6 (from jsonschema>=4.18.0->apache-airflow>=2.7.0->apache-airflow-providers-postgres) Using cached jsonschema_specifications-2023.12.1-py3-none-any.whl.metadata (3.0 kB) Requirement already satisfied: pkgutil-resolve-name>=1.3.10 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from jsonschema>=4.18.0->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (1.3.10) Collecting referencing>=0.28.4 (from jsonschema>=4.18.0->apache-airflow>=2.7.0->apache-airflow-providers-postgres) Using cached referencing-0.35.1-py3-none-any.whl.metadata (2.8 kB) Collecting rpds-py>=0.7.1 (from jsonschema>=4.18.0->apache-airflow>=2.7.0->apache-airflow-providers-postgres) Using cached rpds_py-0.19.1-cp38-cp38-macosx_10_12_x86_64.whl.metadata (4.2 kB) Requirement already satisfied: uc-micro-py in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from linkify-it-py>=2.0.0->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (1.0.1) Requirement already satisfied: mdurl~=0.1 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from markdown-it-py>=2.1.0->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (0.1.2) Collecting wirerope>=0.4.7 (from methodtools>=0.4.7->apache-airflow>=2.7.0->apache-airflow-providers-postgres) Using cached wirerope-0.4.7-py3-none-any.whl Collecting importlib_metadata>=6.5 (from apache-airflow>=2.7.0->apache-airflow-providers-postgres) Using cached importlib_metadata-8.0.0-py3-none-any.whl.metadata (4.6 kB) Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from packaging>=14.0->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (3.0.9) Requirement already satisfied: pytzdata>=2020.1 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from pendulum<4.0,>=2.1.2->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (2020.1) Requirement already satisfied: docutils in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from python-daemon>=3.0.0->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (0.19) Requirement already satisfied: six>=1.5 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from python-dateutil>=2.3->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (1.16.0) Requirement already satisfied: text-unidecode>=1.3 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from python-slugify>=5.0->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (1.3) Requirement already satisfied: charset-normalizer<4,>=2 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from requests<3,>=2.27.0->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (2.1.1) Requirement already satisfied: idna<4,>=2.5 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from requests<3,>=2.27.0->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (3.4) Requirement already satisfied: urllib3<1.27,>=1.21.1 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from requests<3,>=2.27.0->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (1.26.15) Requirement already satisfied: certifi>=2017.4.17 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from requests<3,>=2.27.0->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (2022.12.7) Requirement already satisfied: greenlet!=0.4.17 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from sqlalchemy<2.0,>=1.4.36->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (2.0.2) Requirement already satisfied: aiohttp in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow-providers-http->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (3.8.4) Requirement already satisfied: requests-toolbelt in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from apache-airflow-providers-http->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (0.10.1) Requirement already satisfied: httpcore<0.17.0,>=0.15.0 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from httpx->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (0.16.3) Requirement already satisfied: rfc3986<2,>=1.3 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from rfc3986[idna2008]<2,>=1.3->httpx->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (1.5.0) Requirement already satisfied: sniffio in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from httpx->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (1.3.0) Collecting opentelemetry-exporter-otlp-proto-grpc==1.26.0 (from opentelemetry-exporter-otlp->apache-airflow>=2.7.0->apache-airflow-providers-postgres) Using cached opentelemetry_exporter_otlp_proto_grpc-1.26.0-py3-none-any.whl.metadata (2.3 kB) Collecting opentelemetry-exporter-otlp-proto-http==1.26.0 (from opentelemetry-exporter-otlp->apache-airflow>=2.7.0->apache-airflow-providers-postgres) Using cached opentelemetry_exporter_otlp_proto_http-1.26.0-py3-none-any.whl.metadata (2.3 kB) Collecting googleapis-common-protos~=1.52 (from opentelemetry-exporter-otlp-proto-grpc==1.26.0->opentelemetry-exporter-otlp->apache-airflow>=2.7.0->apache-airflow-providers-postgres) Using cached googleapis_common_protos-1.63.2-py2.py3-none-any.whl.metadata (1.5 kB) Collecting grpcio<2.0.0,>=1.0.0 (from opentelemetry-exporter-otlp-proto-grpc==1.26.0->opentelemetry-exporter-otlp->apache-airflow>=2.7.0->apache-airflow-providers-postgres) Using cached grpcio-1.65.1-cp38-cp38-macosx_10_9_universal2.whl.metadata (3.3 kB) Collecting opentelemetry-exporter-otlp-proto-common==1.26.0 (from opentelemetry-exporter-otlp-proto-grpc==1.26.0->opentelemetry-exporter-otlp->apache-airflow>=2.7.0->apache-airflow-providers-postgres) Using cached opentelemetry_exporter_otlp_proto_common-1.26.0-py3-none-any.whl.metadata (1.8 kB) Collecting opentelemetry-proto==1.26.0 (from opentelemetry-exporter-otlp-proto-grpc==1.26.0->opentelemetry-exporter-otlp->apache-airflow>=2.7.0->apache-airflow-providers-postgres) Using cached opentelemetry_proto-1.26.0-py3-none-any.whl.metadata (2.3 kB) Collecting opentelemetry-sdk~=1.26.0 (from opentelemetry-exporter-otlp-proto-grpc==1.26.0->opentelemetry-exporter-otlp->apache-airflow>=2.7.0->apache-airflow-providers-postgres) Using cached opentelemetry_sdk-1.26.0-py3-none-any.whl.metadata (1.5 kB) Collecting protobuf<5.0,>=3.19 (from opentelemetry-proto==1.26.0->opentelemetry-exporter-otlp-proto-grpc==1.26.0->opentelemetry-exporter-otlp->apache-airflow>=2.7.0->apache-airflow-providers-postgres) Using cached protobuf-4.25.4-cp37-abi3-macosx_10_9_universal2.whl.metadata (541 bytes) Requirement already satisfied: pycparser in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from cffi>=1.12->cryptography>=39.0.0->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (2.21) Requirement already satisfied: h11<0.15,>=0.13 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from httpcore<0.17.0,>=0.15.0->httpx->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (0.14.0) Requirement already satisfied: anyio<5.0,>=3.0 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from httpcore<0.17.0,>=0.15.0->httpx->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (3.6.2) Requirement already satisfied: multidict<7.0,>=4.5 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from aiohttp->apache-airflow-providers-http->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (6.0.4) Requirement already satisfied: async-timeout<5.0,>=4.0.0a3 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from aiohttp->apache-airflow-providers-http->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (4.0.2) Requirement already satisfied: yarl<2.0,>=1.0 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from aiohttp->apache-airflow-providers-http->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (1.8.2) Requirement already satisfied: frozenlist>=1.1.1 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from aiohttp->apache-airflow-providers-http->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (1.3.3) Requirement already satisfied: aiosignal>=1.1.2 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from aiohttp->apache-airflow-providers-http->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (1.3.1) Requirement already satisfied: dnspython>=1.15.0 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from email-validator>=1.0.5->flask-appbuilder==4.5.0->apache-airflow-providers-fab>=1.0.2->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (2.3.0) Requirement already satisfied: Babel>=2.3 in ./opt/anaconda3/envs/python_airflow/lib/python3.8/site-packages (from Flask-Babel<3,>=1->flask-appbuilder==4.5.0->apache-airflow-providers-fab>=1.0.2->apache-airflow>=2.7.0->apache-airflow-providers-postgres) (2.12.1) Collecting limits>=3.13 (from Flask-Limiter<4,>3->flask-appbuilder==4.5.0->apache-airflow-providers-fab>=1.0.2->apache-airflow>=2.7.0->apache-airflow-providers-postgres) Using cached limits-3.13.0-py3-none-any.whl.metadata (7.2 kB) Collecting ordered-set<5,>4 (from Flask-Limiter<4,>3->flask-appbuilder==4.5.0->apache-airflow-providers-fab>=1.0.2->apache-airflow>=2.7.0->apache-airflow-providers-postgres) Using cached ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB) Collecting opentelemetry-semantic-conventions==0.47b0 (from opentelemetry-sdk~=1.26.0->opentelemetry-exporter-otlp-proto-grpc==1.26.0->opentelemetry-exporter-otlp->apache-airflow>=2.7.0->apache-airflow-providers-postgres) Using cached opentelemetry_semantic_conventions-0.47b0-py3-none-any.whl.metadata (2.4 kB) Using cached apache_airflow_providers_postgres-5.11.2-py3-none-any.whl (20 kB) Using cached apache_airflow-2.9.3-py3-none-any.whl (13.3 MB) Using cached alembic-1.13.2-py3-none-any.whl (232 kB) Using cached apache_airflow_providers_fab-1.2.1-py3-none-any.whl (79 kB) Using cached Flask_AppBuilder-4.5.0-py3-none-any.whl (2.2 MB) Using cached blinker-1.8.2-py3-none-any.whl (9.5 kB) Using cached croniter-3.0.3-py2.py3-none-any.whl (22 kB) Using cached fsspec-2024.6.1-py3-none-any.whl (177 kB) Using cached jsonschema-4.23.0-py3-none-any.whl (88 kB) Using cached opentelemetry_api-1.26.0-py3-none-any.whl (61 kB) Using cached importlib_metadata-8.0.0-py3-none-any.whl (24 kB) Using cached rich_argparse-1.5.2-py3-none-any.whl (19 kB) Using cached universal_pathlib-0.2.2-py3-none-any.whl (46 kB) Using cached apache_airflow_providers_common_io-1.3.2-py3-none-any.whl (16 kB) Using cached apache_airflow_providers_smtp-1.7.1-py3-none-any.whl (22 kB) Using cached opentelemetry_exporter_otlp-1.26.0-py3-none-any.whl (7.0 kB) Using cached opentelemetry_exporter_otlp_proto_grpc-1.26.0-py3-none-any.whl (18 kB) Using cached opentelemetry_exporter_otlp_proto_http-1.26.0-py3-none-any.whl (16 kB) Using cached opentelemetry_exporter_otlp_proto_common-1.26.0-py3-none-any.whl (17 kB) Using cached opentelemetry_proto-1.26.0-py3-none-any.whl (52 kB) Using cached jmespath-1.0.1-py3-none-any.whl (20 kB) Using cached jsonschema_specifications-2023.12.1-py3-none-any.whl (18 kB) Using cached referencing-0.35.1-py3-none-any.whl (26 kB) Using cached rpds_py-0.19.1-cp38-cp38-macosx_10_12_x86_64.whl (318 kB) Using cached apispec-6.6.1-py3-none-any.whl (30 kB) Using cached Flask_Limiter-3.8.0-py3-none-any.whl (28 kB) Using cached googleapis_common_protos-1.63.2-py2.py3-none-any.whl (220 kB) Using cached grpcio-1.65.1-cp38-cp38-macosx_10_9_universal2.whl (10.5 MB) Using cached opentelemetry_sdk-1.26.0-py3-none-any.whl (109 kB) Using cached opentelemetry_semantic_conventions-0.47b0-py3-none-any.whl (138 kB) Using cached limits-3.13.0-py3-none-any.whl (45 kB) Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Using cached protobuf-4.25.4-cp37-abi3-macosx_10_9_universal2.whl (394 kB) Building wheels for collected packages: google-re2 Building wheel for google-re2 (setup.py) ... error error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [13 lines of output] running bdist_wheel running build running build_py creating build creating build/lib.macosx-10.9-x86_64-cpython-38 creating build/lib.macosx-10.9-x86_64-cpython-38/re2 copying re2/init.py -> build/lib.macosx-10.9-x86_64-cpython-38/re2 running build_ext building '_re2' extension creating build/temp.macosx-10.9-x86_64-cpython-38 gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/koustavdutta/opt/anaconda3/envs/python_airflow/include -arch x86_64 -I/Users/koustavdutta/opt/anaconda3/envs/python_airflow/include -arch x86_64 -I/Users/koustavdutta/opt/anaconda3/envs/python_airflow/include/python3.8 -c _re2.cc -o build/temp.macosx-10.9-x86_64-cpython-38/_re2.o -fvisibility=hidden xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun error: command '/usr/bin/gcc' failed with exit code 1 [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for google-re2 Running setup.py clean for google-re2 Failed to build google-re2 ERROR: Could not build wheels for google-re2, which is required to install pyproject.toml-based projects

I gave a look at below closed request as well and ran few commands mentioned there but the issue still persists.

https://github.com/google/re2/issues/437

rsc commented 2 months ago

The important lines in that output are:

gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/koustavdutta/opt/anaconda3/envs/python_airflow/include -arch x86_64 -I/Users/koustavdutta/opt/anaconda3/envs/python_airflow/include -arch x86_64 -I/Users/koustavdutta/opt/anaconda3/envs/python_airflow/include/python3.8 -c _re2.cc -o build/temp.macosx-10.9-x86_64-cpython-38/_re2.o -fvisibility=hidden
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
error: command '/usr/bin/gcc' failed with exit code 1

Your system cannot run 'gcc'. That means Xcode's command-line tools are either missing or damaged. Install/reinstall them and try again.

saurabhkuma1 commented 1 month ago

Thank you but I re-installed Airflow and it worked.