Skip to content

Commit

Permalink
Revert Airflow version
Browse files Browse the repository at this point in the history
  • Loading branch information
jdddog committed Mar 18, 2024
1 parent bd5fdf8 commit 64dbe18
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e observatory-api[tests] --constraint https://raw.githubusercontent.com/apache/airflow/constraints-2.8.3/constraints-no-providers-${{ matrix.python-version }}.txt
pip install -e observatory-platform[tests] --constraint https://raw.githubusercontent.com/apache/airflow/constraints-2.8.3/constraints-no-providers-${{ matrix.python-version }}.txt
pip install -e observatory-api[tests] --constraint https://raw.githubusercontent.com/apache/airflow/constraints-2.7.3/constraints-no-providers-${{ matrix.python-version }}.txt
pip install -e observatory-platform[tests] --constraint https://raw.githubusercontent.com/apache/airflow/constraints-2.7.3/constraints-no-providers-${{ matrix.python-version }}.txt
- name: Check licenses
run: |
Expand Down
2 changes: 1 addition & 1 deletion bin/generate-api-client.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if ! command -v openapi-generator-cli &>/dev/null; then
fi

if ! command -v observatory-api &>/dev/null; then
pip install -e observatory-api --constraint https://raw.githubusercontent.com/apache/airflow/constraints-2.8.3/constraints-no-providers-3.10.txt
pip install -e observatory-api --constraint https://raw.githubusercontent.com/apache/airflow/constraints-2.7.3/constraints-no-providers-3.10.txt
fi

# Directories
Expand Down
2 changes: 1 addition & 1 deletion docs/api/api_client.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ To install the package from source:
```bash
git clone https://github.com/The-Academic-Observatory/observatory-platform.git
cd observatory-platform
pip install -e observatory-api --constraint https://raw.githubusercontent.com/apache/airflow/constraints-2.8.3/constraints-no-providers-3.10.txt
pip install -e observatory-api --constraint https://raw.githubusercontent.com/apache/airflow/constraints-2.7.3/constraints-no-providers-3.10.txt
```

## Getting Started
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

venv_observatory_platform="observatory_venv"
airflow_version="2.8.3"
airflow_version="2.7.3"
python_version="3.10"

function set_os_arch() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
HOST_UID = os.getuid()
DEBUG = False
PYTHON_VERSION = "3.10"
AIRFLOW_VERSION = "2.8.3"
AIRFLOW_VERSION = "2.7.3"


class PlatformRunner(ComposeRunner):
Expand Down
2 changes: 1 addition & 1 deletion observatory-platform/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
observatory-api

# Airflow
apache-airflow[redis,celery,slack,http]==2.8.3
apache-airflow[redis,celery,slack,http]==2.7.3
astronomer-starship

# Google Cloud
Expand Down

0 comments on commit 64dbe18

Please sign in to comment.