You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2024/03/13 01:01:02 UTC
(superset) 02/02: drying actions
This is an automated email from the ASF dual-hosted git repository.
maximebeauchemin pushed a commit to branch kill-pip-compile-multi
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 698052cf10d7ad65bad5b535feba5d4d5317a42e
Author: Maxime Beauchemin <ma...@gmail.com>
AuthorDate: Tue Mar 12 18:00:36 2024 -0700
drying actions
---
.github/actions/setup-python.yml | 36 ++
requirements/requirements-custom-example.txt | 689 +++++++++++++++++++++++++++
2 files changed, 725 insertions(+)
diff --git a/.github/actions/setup-python.yml b/.github/actions/setup-python.yml
new file mode 100644
index 0000000000..cad0a7b5b2
--- /dev/null
+++ b/.github/actions/setup-python.yml
@@ -0,0 +1,36 @@
+name: 'Setup Python Environment'
+description: 'Set up Python and install dependencies with optional configurations.'
+inputs:
+ python-version:
+ description: 'Python version to set up.'
+ required: true
+ default: '3.9'
+ cache:
+ description: 'Cache dependencies. Options: pip'
+ required: false
+ default: 'pip'
+ requirements-type:
+ description: 'Type of requirements to install. Options: base, development, default'
+ required: false
+ default: 'dev'
+
+runs:
+ using: 'composite'
+ steps:
+ - name: Set up Python ${{ inputs.python-version }}
+ uses: actions/setup-python@v5
+ with:
+ python-version: ${{ inputs.python-version }}
+ cache: ${{ inputs.cache }}
+ - name: Install dependencies
+ run: |
+ pip install --upgrade pip setuptools wheel
+ if [ "${{ inputs.requirements-type }}" = "dev" ]; then
+ pip install -r requirements/development.txt
+ elif [ "${{ inputs.requirements-type }}" = "base" ]; then
+ pip install -r requirements/base.txt
+ else
+ pip install -r requirements.txt
+ fi
+ pip install -e .
+ shell: bash
diff --git a/requirements/requirements-custom-example.txt b/requirements/requirements-custom-example.txt
new file mode 100644
index 0000000000..a592f930af
--- /dev/null
+++ b/requirements/requirements-custom-example.txt
@@ -0,0 +1,689 @@
+#
+# This file is autogenerated by pip-compile with Python 3.9
+# by the following command:
+#
+# pip-compile --output-file=requirements/requirements-custom-example.txt requirements/requirements-custom-example.in
+#
+-e file:///Users/max/code/superset
+ # via file:///users/max/code/superset
+alembic==1.6.5
+ # via flask-migrate
+amqp==5.1.1
+ # via kombu
+apispec[yaml]==6.3.0
+ # via
+ # apispec
+ # flask-appbuilder
+appnope==0.1.4
+ # via ipython
+apsw==3.42.0.1
+ # via shillelagh
+astroid==2.15.8
+ # via pylint
+asttokens==2.2.1
+ # via stack-data
+async-timeout==4.0.2
+ # via redis
+attrs==23.1.0
+ # via
+ # cattrs
+ # jsonlines
+ # jsonschema
+ # requests-cache
+babel==2.9.1
+ # via flask-babel
+backcall==0.2.0
+ # via ipython
+backoff==1.11.1
+ # via apache-superset
+bcrypt==4.0.1
+ # via paramiko
+billiard==4.2.0
+ # via celery
+boto3==1.29.7
+ # via
+ # -r requirements/requirements-custom-example.in
+ # tabulator
+botocore==1.32.7
+ # via
+ # boto3
+ # s3transfer
+bottleneck==1.3.7
+ # via pandas
+brotli==1.0.9
+ # via flask-compress
+cached-property==1.5.2
+ # via tableschema
+cachelib==0.9.0
+ # via
+ # flask-caching
+ # flask-session
+cachetools==5.3.2
+ # via
+ # google-auth
+ # tox
+cattrs==23.2.1
+ # via requests-cache
+celery==5.3.6
+ # via apache-superset
+certifi==2023.7.22
+ # via requests
+cffi==1.15.1
+ # via
+ # cryptography
+ # pynacl
+cfgv==3.3.1
+ # via pre-commit
+chardet==5.1.0
+ # via
+ # tabulator
+ # tox
+charset-normalizer==3.2.0
+ # via requests
+cherrytree==2.0.1
+ # via -r requirements/requirements-custom-example.in
+click==8.1.3
+ # via
+ # apache-superset
+ # celery
+ # cherrytree
+ # click-didyoumean
+ # click-option-group
+ # click-plugins
+ # click-repl
+ # flask
+ # flask-appbuilder
+ # tableschema
+ # tabulator
+click-didyoumean==0.3.0
+ # via celery
+click-option-group==0.5.5
+ # via apache-superset
+click-plugins==1.1.1
+ # via celery
+click-repl==0.2.0
+ # via celery
+colorama==0.4.6
+ # via
+ # apache-superset
+ # flask-appbuilder
+ # tox
+coverage[toml]==7.2.5
+ # via
+ # coverage
+ # pytest-cov
+cron-descriptor==1.2.24
+ # via apache-superset
+croniter==1.0.15
+ # via apache-superset
+cryptography==42.0.4
+ # via
+ # apache-superset
+ # paramiko
+ # pyjwt
+decorator==5.1.1
+ # via ipython
+delegator-py==0.1.1
+ # via cherrytree
+deprecated==1.2.13
+ # via
+ # limits
+ # pygithub
+deprecation==2.1.0
+ # via apache-superset
+dill==0.3.6
+ # via pylint
+distlib==0.3.6
+ # via virtualenv
+dnspython==2.1.0
+ # via email-validator
+docker==6.1.1
+ # via apache-superset
+email-validator==1.1.3
+ # via flask-appbuilder
+et-xmlfile==1.1.0
+ # via openpyxl
+exceptiongroup==1.2.0
+ # via
+ # cattrs
+ # pytest
+executing==1.2.0
+ # via stack-data
+filelock==3.12.2
+ # via
+ # tox
+ # virtualenv
+flask==2.2.5
+ # via
+ # apache-superset
+ # flask-appbuilder
+ # flask-babel
+ # flask-caching
+ # flask-compress
+ # flask-jwt-extended
+ # flask-limiter
+ # flask-login
+ # flask-migrate
+ # flask-session
+ # flask-sqlalchemy
+ # flask-testing
+ # flask-wtf
+flask-appbuilder==4.4.1
+ # via apache-superset
+flask-babel==1.0.0
+ # via flask-appbuilder
+flask-caching==2.1.0
+ # via apache-superset
+flask-compress==1.13
+ # via apache-superset
+flask-jwt-extended==4.3.1
+ # via flask-appbuilder
+flask-limiter==3.3.1
+ # via flask-appbuilder
+flask-login==0.6.3
+ # via
+ # apache-superset
+ # flask-appbuilder
+flask-migrate==3.1.0
+ # via apache-superset
+flask-session==0.5.0
+ # via apache-superset
+flask-sqlalchemy==2.5.1
+ # via
+ # flask-appbuilder
+ # flask-migrate
+flask-talisman==1.0.0
+ # via apache-superset
+flask-testing==0.8.1
+ # via apache-superset
+flask-wtf==1.2.1
+ # via
+ # apache-superset
+ # flask-appbuilder
+freezegun==1.2.2
+ # via apache-superset
+func-timeout==4.3.5
+ # via apache-superset
+future==0.18.3
+ # via pyhive
+geographiclib==1.52
+ # via geopy
+geopy==2.2.0
+ # via apache-superset
+gitdb==4.0.11
+ # via gitpython
+gitpython==3.1.42
+ # via cherrytree
+google-auth==2.27.0
+ # via shillelagh
+greenlet==3.0.3
+ # via
+ # apache-superset
+ # shillelagh
+grpcio==1.60.1
+ # via apache-superset
+gunicorn==21.2.0
+ # via apache-superset
+hashids==1.3.1
+ # via apache-superset
+holidays==0.25
+ # via apache-superset
+humanize==3.11.0
+ # via apache-superset
+identify==2.5.24
+ # via pre-commit
+idna==3.2
+ # via
+ # email-validator
+ # requests
+ijson==3.2.0.post0
+ # via tabulator
+importlib-metadata==6.6.0
+ # via
+ # apache-superset
+ # flask
+ # shillelagh
+importlib-resources==5.12.0
+ # via limits
+iniconfig==2.0.0
+ # via pytest
+ipython==8.12.2
+ # via apache-superset
+isodate==0.6.0
+ # via
+ # apache-superset
+ # tableschema
+isort==5.12.0
+ # via pylint
+itsdangerous==2.1.2
+ # via
+ # flask
+ # flask-wtf
+jedi==0.18.2
+ # via ipython
+jinja2==3.1.3
+ # via
+ # flask
+ # flask-babel
+jmespath==1.0.1
+ # via
+ # boto3
+ # botocore
+jsonlines==3.1.0
+ # via tabulator
+jsonschema==4.17.3
+ # via
+ # flask-appbuilder
+ # jsonschema-spec
+ # openapi-schema-validator
+ # openapi-spec-validator
+ # tableschema
+jsonschema-spec==0.1.4
+ # via openapi-spec-validator
+kombu==5.3.4
+ # via celery
+korean-lunar-calendar==0.3.1
+ # via holidays
+lazy-object-proxy==1.9.0
+ # via
+ # astroid
+ # openapi-spec-validator
+limits==3.4.0
+ # via flask-limiter
+linear-tsv==1.1.0
+ # via tabulator
+llvmlite==0.40.1
+ # via numba
+mako==1.2.4
+ # via
+ # alembic
+ # apache-superset
+markdown==3.3.4
+ # via apache-superset
+markdown-it-py==2.2.0
+ # via rich
+markupsafe==2.1.1
+ # via
+ # jinja2
+ # mako
+ # werkzeug
+ # wtforms
+marshmallow==3.19.0
+ # via
+ # flask-appbuilder
+ # marshmallow-sqlalchemy
+marshmallow-sqlalchemy==0.23.1
+ # via flask-appbuilder
+matplotlib-inline==0.1.6
+ # via ipython
+mccabe==0.7.0
+ # via pylint
+mdurl==0.1.2
+ # via markdown-it-py
+msgpack==1.0.2
+ # via apache-superset
+nh3==0.2.11
+ # via apache-superset
+nodeenv==1.7.0
+ # via pre-commit
+numba==0.57.1
+ # via pandas
+numexpr==2.9.0
+ # via pandas
+numpy==1.23.5
+ # via
+ # apache-superset
+ # bottleneck
+ # numba
+ # numexpr
+ # pandas
+ # pyarrow
+openapi-schema-validator==0.4.4
+ # via openapi-spec-validator
+openapi-spec-validator==0.5.6
+ # via apache-superset
+openpyxl==3.1.2
+ # via tabulator
+ordered-set==4.1.0
+ # via flask-limiter
+packaging==23.1
+ # via
+ # apache-superset
+ # apispec
+ # deprecation
+ # docker
+ # gunicorn
+ # limits
+ # marshmallow
+ # pyproject-api
+ # pytest
+ # shillelagh
+ # tox
+pandas[performance]==2.0.3
+ # via
+ # apache-superset
+ # pandas
+parameterized==0.9.0
+ # via apache-superset
+paramiko==3.4.0
+ # via
+ # apache-superset
+ # sshtunnel
+parsedatetime==2.6
+ # via apache-superset
+parso==0.8.3
+ # via jedi
+pathable==0.4.3
+ # via jsonschema-spec
+pexpect==4.8.0
+ # via
+ # delegator-py
+ # ipython
+pgsanity==0.2.9
+ # via apache-superset
+pickleshare==0.7.5
+ # via ipython
+platformdirs==3.8.1
+ # via
+ # pylint
+ # requests-cache
+ # tox
+ # virtualenv
+pluggy==1.2.0
+ # via
+ # pytest
+ # tox
+polyline==2.0.0
+ # via apache-superset
+pre-commit==3.3.3
+ # via apache-superset
+prison==0.2.1
+ # via flask-appbuilder
+progress==1.6
+ # via apache-superset
+prompt-toolkit==3.0.38
+ # via
+ # click-repl
+ # ipython
+ptyprocess==0.7.0
+ # via pexpect
+pure-eval==0.2.2
+ # via stack-data
+pure-sasl==0.6.2
+ # via
+ # pyhive
+ # thrift-sasl
+pyarrow==14.0.1
+ # via apache-superset
+pyasn1==0.5.1
+ # via
+ # pyasn1-modules
+ # python-ldap
+ # rsa
+pyasn1-modules==0.3.0
+ # via
+ # google-auth
+ # python-ldap
+pycparser==2.20
+ # via cffi
+pyfakefs==5.2.2
+ # via apache-superset
+pygithub==2.2.0
+ # via cherrytree
+pygments==2.15.0
+ # via
+ # ipython
+ # rich
+pyhive[hive,hive-pure-sasl]==0.7.0
+ # via
+ # apache-superset
+ # pyhive
+pyinstrument==4.4.0
+ # via apache-superset
+pyjwt[crypto]==2.4.0
+ # via
+ # apache-superset
+ # flask-appbuilder
+ # flask-jwt-extended
+ # pygithub
+pylint==2.17.7
+ # via apache-superset
+pynacl==1.5.0
+ # via
+ # paramiko
+ # pygithub
+pyparsing==3.0.6
+ # via apache-superset
+pyproject-api==1.5.2
+ # via tox
+pyrsistent==0.19.3
+ # via jsonschema
+pytest==7.3.1
+ # via
+ # apache-superset
+ # pytest-cov
+ # pytest-mock
+pytest-cov==4.0.0
+ # via apache-superset
+pytest-mock==3.10.0
+ # via apache-superset
+python-dateutil==2.8.2
+ # via
+ # alembic
+ # apache-superset
+ # botocore
+ # celery
+ # cherrytree
+ # croniter
+ # flask-appbuilder
+ # freezegun
+ # holidays
+ # pandas
+ # pyhive
+ # shillelagh
+ # tableschema
+python-dotenv==0.19.0
+ # via apache-superset
+python-editor==1.0.4
+ # via alembic
+python-geohash==0.8.5
+ # via apache-superset
+python-ldap==3.4.3
+ # via apache-superset
+pytz==2021.3
+ # via
+ # babel
+ # flask-babel
+ # pandas
+pyyaml==6.0.1
+ # via
+ # apache-superset
+ # apispec
+ # cherrytree
+ # jsonschema-spec
+ # pre-commit
+redis==4.6.0
+ # via apache-superset
+requests==2.31.0
+ # via
+ # docker
+ # pygithub
+ # requests-cache
+ # shillelagh
+ # tableschema
+ # tabulator
+requests-cache==1.1.1
+ # via shillelagh
+rfc3339-validator==0.1.4
+ # via openapi-schema-validator
+rfc3986==2.0.0
+ # via tableschema
+rich==13.3.4
+ # via flask-limiter
+rsa==4.9
+ # via google-auth
+s3transfer==0.8.0
+ # via boto3
+sasl==0.3.1
+ # via pyhive
+selenium==3.141.0
+ # via apache-superset
+shillelagh[gsheetsapi]==1.2.10
+ # via
+ # apache-superset
+ # shillelagh
+shortid==0.1.2
+ # via apache-superset
+simplejson==3.17.3
+ # via apache-superset
+six==1.16.0
+ # via
+ # asttokens
+ # click-repl
+ # isodate
+ # linear-tsv
+ # prison
+ # python-dateutil
+ # rfc3339-validator
+ # sasl
+ # tableschema
+ # tabulator
+ # thrift
+ # thrift-sasl
+ # url-normalize
+ # wtforms-json
+slack-sdk==3.21.3
+ # via apache-superset
+smmap==5.0.1
+ # via gitdb
+sqlalchemy==1.4.36
+ # via
+ # alembic
+ # apache-superset
+ # flask-appbuilder
+ # flask-sqlalchemy
+ # marshmallow-sqlalchemy
+ # shillelagh
+ # sqlalchemy-utils
+ # tabulator
+sqlalchemy-utils==0.38.3
+ # via
+ # apache-superset
+ # flask-appbuilder
+sqlglot==20.8.0
+ # via apache-superset
+sqloxide==0.1.33
+ # via apache-superset
+sqlparse==0.4.4
+ # via apache-superset
+sshtunnel==0.4.0
+ # via apache-superset
+stack-data==0.6.2
+ # via ipython
+statsd==4.0.1
+ # via apache-superset
+tableschema==1.20.2
+ # via apache-superset
+tabulate==0.8.9
+ # via apache-superset
+tabulator==1.53.5
+ # via tableschema
+termcolor==2.4.0
+ # via yaspin
+thrift==0.16.0
+ # via
+ # apache-superset
+ # pyhive
+ # thrift-sasl
+thrift-sasl==0.4.3
+ # via pyhive
+tomli==2.0.1
+ # via
+ # coverage
+ # pylint
+ # pyproject-api
+ # pytest
+ # tox
+tomlkit==0.11.8
+ # via pylint
+tox==4.6.4
+ # via apache-superset
+traitlets==5.9.0
+ # via
+ # ipython
+ # matplotlib-inline
+typing-extensions==4.4.0
+ # via
+ # apache-superset
+ # astroid
+ # cattrs
+ # flask-limiter
+ # ipython
+ # jsonschema-spec
+ # kombu
+ # limits
+ # pygithub
+ # pylint
+ # shillelagh
+tzdata==2023.3
+ # via
+ # celery
+ # pandas
+unicodecsv==0.14.1
+ # via
+ # tableschema
+ # tabulator
+url-normalize==1.4.3
+ # via requests-cache
+urllib3==1.26.18
+ # via
+ # botocore
+ # docker
+ # pygithub
+ # requests
+ # requests-cache
+ # selenium
+vine==5.1.0
+ # via
+ # amqp
+ # celery
+ # kombu
+virtualenv==20.23.1
+ # via
+ # pre-commit
+ # tox
+wcwidth==0.2.5
+ # via prompt-toolkit
+websocket-client==1.5.1
+ # via docker
+werkzeug==3.0.1
+ # via
+ # flask
+ # flask-appbuilder
+ # flask-jwt-extended
+ # flask-login
+wrapt==1.15.0
+ # via
+ # astroid
+ # deprecated
+wtforms==2.3.3
+ # via
+ # apache-superset
+ # flask-appbuilder
+ # flask-wtf
+ # wtforms-json
+wtforms-json==0.3.5
+ # via apache-superset
+xlrd==2.0.1
+ # via tabulator
+xlsxwriter==3.0.7
+ # via apache-superset
+yaspin==3.0.1
+ # via cherrytree
+zipp==3.15.0
+ # via
+ # importlib-metadata
+ # importlib-resources
+
+# The following packages are considered to be unsafe in a requirements file:
+# setuptools