Content-Length: 490423 | pFad | https://github.com/apache/airflow/commit/76a80bb17c9cecbe3767dab471f6a79084c822ea

9A Move plyvel to google provider extra (#15812) · apache/airflow@76a80bb · GitHub
Skip to content

Commit 76a80bb

Browse files
authored
Move plyvel to google provider extra (#15812)
Plyvel does not build on macOS without levelDB installed in system. Its better to make it an optional install.
1 parent 20f3639 commit 76a80bb

File tree

7 files changed

+22
-12
lines changed

7 files changed

+22
-12
lines changed

CONTRIBUTING.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -583,11 +583,11 @@ apache.sqoop, apache.webhdfs, asana, async, atlas, aws, azure, cassandra, celery
583583
cncf.kubernetes, crypto, dask, databricks, datadog, deprecated_api, devel, devel_all, devel_ci,
584584
devel_hadoop, dingding, discord, doc, docker, druid, elasticsearch, exasol, facebook, ftp, gcp,
585585
gcp_api, github_enterprise, google, google_auth, grpc, hashicorp, hdfs, hive, http, imap, jdbc,
586-
jenkins, jira, kerberos, kubernetes, ldap, microsoft.azure, microsoft.mssql, microsoft.winrm, mongo,
587-
mssql, mysql, neo4j, odbc, openfaas, opsgenie, oracle, pagerduty, papermill, password, pinot,
588-
plexus, postgres, presto, qds, qubole, rabbitmq, redis, s3, salesforce, samba, segment, sendgrid,
589-
sentry, sftp, singularity, slack, snowflake, spark, sqlite, ssh, statsd, tableau, telegram, trino,
590-
vertica, virtualenv, webhdfs, winrm, yandex, zendesk
586+
jenkins, jira, kerberos, kubernetes, ldap, leveldb, microsoft.azure, microsoft.mssql,
587+
microsoft.winrm, mongo, mssql, mysql, neo4j, odbc, openfaas, opsgenie, oracle, pagerduty, papermill,
588+
password, pinot, plexus, postgres, presto, qds, qubole, rabbitmq, redis, s3, salesforce, samba,
589+
segment, sendgrid, sentry, sftp, singularity, slack, snowflake, spark, sqlite, ssh, statsd, tableau,
590+
telegram, trino, vertica, virtualenv, webhdfs, winrm, yandex, zendesk
591591

592592
.. END EXTRAS HERE
593593

INSTALL

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,11 @@ apache.sqoop, apache.webhdfs, asana, async, atlas, aws, azure, cassandra, celery
9595
cncf.kubernetes, crypto, dask, databricks, datadog, deprecated_api, devel, devel_all, devel_ci,
9696
devel_hadoop, dingding, discord, doc, docker, druid, elasticsearch, exasol, facebook, ftp, gcp,
9797
gcp_api, github_enterprise, google, google_auth, grpc, hashicorp, hdfs, hive, http, imap, jdbc,
98-
jenkins, jira, kerberos, kubernetes, ldap, microsoft.azure, microsoft.mssql, microsoft.winrm, mongo,
99-
mssql, mysql, neo4j, odbc, openfaas, opsgenie, oracle, pagerduty, papermill, password, pinot,
100-
plexus, postgres, presto, qds, qubole, rabbitmq, redis, s3, salesforce, samba, segment, sendgrid,
101-
sentry, sftp, singularity, slack, snowflake, spark, sqlite, ssh, statsd, tableau, telegram, trino,
102-
vertica, virtualenv, webhdfs, winrm, yandex, zendesk
98+
jenkins, jira, kerberos, kubernetes, ldap, leveldb, microsoft.azure, microsoft.mssql,
99+
microsoft.winrm, mongo, mssql, mysql, neo4j, odbc, openfaas, opsgenie, oracle, pagerduty, papermill,
100+
password, pinot, plexus, postgres, presto, qds, qubole, rabbitmq, redis, s3, salesforce, samba,
101+
segment, sendgrid, sentry, sftp, singularity, slack, snowflake, spark, sqlite, ssh, statsd, tableau,
102+
telegram, trino, vertica, virtualenv, webhdfs, winrm, yandex, zendesk
103103

104104
# END EXTRAS HERE
105105

airflow/providers/google/provider.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -748,3 +748,4 @@ extra-links:
748748

749749
additional-extras:
750750
apache.beam: apache-beam[gcp]
751+
leveldb: plyvel

docs/apache-airflow-providers-google/operators/leveldb/leveldb.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
1818
1919
20+
.. _howto/operator:LevelDBOperator:
21+
2022
Google LevelDB Operator
2123
================================
2224

@@ -27,7 +29,10 @@ an ordered mapping from string keys to string values.
2729
:depth: 1
2830
:local:
2931

30-
.. _howto/operator:LevelDBOperator:
32+
.. note::
33+
34+
To use LevelDB hooks and operators you must requires installation of ``plyvel``. It will be
35+
installed if you specify the extra ``apache-airflow-providers-google[leveldb]``.
3136

3237
Put key
3338
^^^^^^^^^^^^^^^

docs/apache-airflow/extra-packages-ref.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ python dependencies for the provided package.
6060
+---------------------+-----------------------------------------------------+----------------------------------------------------------------------------+
6161
| ldap | ``pip install 'apache-airflow[ldap]'`` | LDAP authentication for users |
6262
+---------------------+-----------------------------------------------------+----------------------------------------------------------------------------+
63+
| leveldb | ``pip install 'apache-airflow[leveldb]'`` | Required for use leveldb extra in google provider |
64+
+---------------------+-----------------------------------------------------+----------------------------------------------------------------------------+
6365
| password | ``pip install 'apache-airflow[password]'`` | Password authentication for users |
6466
+---------------------+-----------------------------------------------------+----------------------------------------------------------------------------+
6567
| rabbitmq | ``pip install 'apache-airflow[rabbitmq]'`` | RabbitMQ support as a Celery backend |

docs/spelling_wordlist.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1430,6 +1430,7 @@ utils
14301430
uuid
14311431
validator
14321432
vals
1433+
ve
14331434
vendored
14341435
venvs
14351436
versionable

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,6 @@ def get_sphinx_theme_version() -> str:
326326
# pandas-gbq 0.15.0 release broke google provider's bigquery import
327327
# _check_google_client_version (airflow/providers/google/cloud/hooks/bigquery.py:49)
328328
'pandas-gbq<0.15.0',
329-
'plyvel',
330329
]
331330
grpc = [
332331
'google-auth>=1.0.0, <2.0.0dev',
@@ -381,6 +380,7 @@ def get_sphinx_theme_version() -> str:
381380
'ldap3>=2.5.1',
382381
'python-ldap',
383382
]
383+
leveldb = ['plyvel']
384384
mongo = [
385385
'dnspython>=1.13.0,<2.0.0',
386386
'pymongo>=3.6.0',
@@ -636,6 +636,7 @@ def get_sphinx_theme_version() -> str:
636636
'google_auth': flask_oauth,
637637
'kerberos': kerberos,
638638
'ldap': ldap,
639+
'leveldb': leveldb,
639640
'password': password,
640641
'rabbitmq': rabbitmq,
641642
'sentry': sentry,

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/apache/airflow/commit/76a80bb17c9cecbe3767dab471f6a79084c822ea

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy