diff --git a/.github/workflows/ci-dbt-coverage.yml b/.github/workflows/ci-dbt-coverage.yml index 14020f1..52b659d 100644 --- a/.github/workflows/ci-dbt-coverage.yml +++ b/.github/workflows/ci-dbt-coverage.yml @@ -28,12 +28,14 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: "3.11.x" + python-version: "3.12.x" - name: Install dependencies run: | pip install tutor-contrib-aspects pip install -r requirements/dbt.txt cd dbt + pwd + ls -la dbt deps - name: Initialize Open edX continue-on-error: false diff --git a/.github/workflows/ci-dbt-format.yml b/.github/workflows/ci-dbt-format.yml index 37667c7..1a96b7f 100644 --- a/.github/workflows/ci-dbt-format.yml +++ b/.github/workflows/ci-dbt-format.yml @@ -19,5 +19,4 @@ jobs: pip install -r requirements/dbt.txt - name: Format SQL run: | - cd dbt - sqlfmt models macros --check + sqlfmt dbt/models dbt/macros --check diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 4eb6e55..773ea48 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -14,11 +14,11 @@ sphinx: build: os: "ubuntu-22.04" tools: - python: "3.8" + python: "3.12" apt_packages: - graphviz # Optionally set the version of Python and requirements required to build your docs python: install: - - requirements: requirements/docs.txt + - requirements: requirements/docs.txt diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..eab34b3 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,6 @@ +include LICENSE +include README.rst +include requirements/base.in +include requirements/constraints.txt +recursive-include aspects *.html *.png *.gif *.js *.css *.jpg *.jpeg *.svg *.csv +recursive-include dbt * diff --git a/setup.py b/setup.py index 14eb9be..e69eb8e 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ """ Setup for xapi-db-load. """ -from setuptools import find_packages, setup +from setuptools import setup from aspects import __version__ @@ -11,7 +11,8 @@ setup( name="openedx-aspects", version=__version__, - packages=find_packages(), + packages=["dbt", "aspects"], + package_data={'dbt': ['**/*']}, include_package_data=True, entry_points=""" [console_scripts]