Giter Site home page Giter Site logo

micael-grilo / airflow-dags-test-action Goto Github PK

View Code? Open in Web Editor NEW
17.0 17.0 7.0 17 KB

GitHub Action to Test Airflow Dags

Home Page: https://github.com/marketplace/actions/airflow-dags-test

License: MIT License

Dockerfile 13.30% Shell 25.12% Python 61.59%
github-actions

airflow-dags-test-action's Introduction

Hi there ๐Ÿ‘‹

I'm a Python Software Engineer from Lisbon - Portugal ๐Ÿ‡ต๐Ÿ‡น

Micael's github stats
Uptime: "32 years, 11 months, 23 days"

More about me here

airflow-dags-test-action's People

Contributors

micael-grilo avatar sukoneck avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

airflow-dags-test-action's Issues

pendulum and Flask-Session should be pinned in v2.6.3

Hi! I'm using v2.6.3 of this action, and it has been failing because pendulum and Flask-Session released non-backward compatible versions. I really want to help fix this issue, but I am unable to open a pull request because the fix involves amending an old commit and changing the v2.6.3 tag to point to the updated file. However, I did manage to fix the problem in my forked repository, and it seems to be working perfectly fine now. Here's what I did to fix it:

git checkout v2.6.3
git branch pin-requirements
git checkout pin-requirements

Insert these in lines 3 and 4 of the Dockerfile

RUN pip install 'pendulum<3.0.0'
RUN pip install Flask-Session==0.5.0 

Commit, update, and push the tag

git tag -f v2.6.3 commit-hash
git push --force origin v2.6.3

I hope this is useful

Getting error - pytest: not found - Do I need to add it manually?

**Successfully installed PyAthena-3.8.2 affine-2.4.0 apache-airflow-providers-amazon-8.20.0 apache-airflow-providers-smtp-1.7.0 arrow-1.3.0 asn1crypto-1.5.1 asttokens-2.4.1 backoff-2.2.1 bcrypt-4.1.3 beautifulsoup4-4.12.3 binaryornot-0.4.4 bokeh-3.4.1 boto3-1.34.106 botocore-1.34.106 bytecode-0.15.1 cachetools-5.3.3 cattrs-23.2.3 cfgrib-0.9.11.0 cftime-1.6.3 chardet-5.2.0 click-plugins-1.1.1 cligj-0.7.2 cloudpickle-2.2.1 coiled-1.22.0 comm-0.2.2 contourpy-1.2.1 cookiecutter-2.6.0 croniter-1.4.1 cycler-0.12.1 dask-2024.4.2 dask-expr-1.0.14 ddsketch-3.0.1 ddtrace-2.8.4 decorator-5.1.1 dependency-injector-4.41.0 distributed-2024.4.2 eccodes-1.7.0 ecdsa-0.19.0 envier-0.5.1 executing-2.0.1 fabric-3.2.2 filelock-3.14.0 findlibs-0.0.5 fonttools-4.51.0 gilknocker-0.4.1 gitdb-4.0.11 gitpython-3.1.43 google-api-core-2.19.0 google-auth-2.29.0 google-cloud-core-2.4.1 google-cloud-storage-2.14.0 google-crc32c-1.5.0 google-resumable-media-2.7.0 h2-4.1.0 h3-3.7.7 h5netcdf-1.3.0 h5py-3.11.0 hpack-4.0.0 hyperframe-6.0.1 invoke-2.2.0 ipython-8.24.0 ipywidgets-8.1.2 jedi-0.19.1 jmespath-1.0.1 joblib-1.4.2 jsondiff-2.0.0 jsonpath_ng-1.6.1 jupyterlab-widgets-3.0.10 kiwisolver-1.4.5 lightgbm-4.3.0 locket-1.0.0 lxml-5.2.2 lz4-4.3.3 marshmallow-dataclass-8.6.1 matplotlib-3.9.0 matplotlib-inline-0.1.7 metpy-1.6.2 msgpack-1.0.8 mypy-extensions-1.0.0 netCDF4-1.6.5 numpy-1.26.4 pandas-2.1.4 paramiko-3.4.0 parso-0.8.4 partd-1.4.2 pexpect-4.9.0 pillow-10.3.0 pint-0.23 pip-requirements-parser-32.0.1 platformdirs-4.2.2 ply-3.11 pooch-1.8.1 prometheus-client-0.20.0 prompt-toolkit-3.0.43 proto-plus-1.23.0 psycopg2-binary-2.9.9 ptyprocess-0.7.0 pure-eval-0.2.2 pvlib-0.10.5 pyarrow-16.1.0 pyarrow-hotfix-0.6 pyasn1-0.6.0 pyasn1-modules-0.4.0 pygrib-2.1.5 pynacl-1.5.0 pyparsing-3.1.2 pyproj-3.6.1 python-dotenv-1.0.1 python-jose-3.3.0 python-json-logger-2.0.7 qwak-core-0.4.10 qwak-inference-0.1.17 qwak-sdk-0.5.68 rasterio-1.3.10 redshift_connector-2.1.1 retrying-1.3.4 rsa-4.9 s3transfer-0.10.1 scipy-1.13.0 scramp-1.4.5 smmap-5.0.1 snuggs-1.4.7 sortedcontainers-2.4.0 soupsieve-2.5 sqlalchemy_redshift-0.8.14 stack-data-0.6.3 tblib-3.0.0 termcolor-2.3.0 toml-0.10.2 toolz-0.12.1 tornado-6.4 tqdm-4.66.4 traitlets-5.14.3 typeguard-2.13.3 types-python-dateutil-2.9.0.20240316 typing-inspect-0.9.0 tzdata-2024.1 watchtower-3.2.0 wcwidth-0.2.13 widgetsnbextension-4.0.10 xarray-2024.5.0 xmltodict-0.13.0 xyzservices-2024.4.0 yaspin-3.0.2 zict-3.0.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
/usr/local/lib/python3.11/site-packages/airflow/cli/commands/db_command.py:68 DeprecationWarning: `db upgrade` is deprecated. Use `db migrate` instead.
INFO  [alembic.runtime.migration] Context impl SQLiteImpl.
INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
INFO  [alembic.runtime.migration] Running stamp_revision  -> 88344c1d9134
[2024-05-16T07:56:35.607+0000] {crypto.py:82} WARNING - empty cryptography key - values will not be stored encrypted.
8 of 8 variables successfully updated.
/entrypoint.sh: 28: pytest: not found**

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.