diff --git a/.zuul.yaml b/.zuul.yaml index 974970b..3e6a8ce 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -1,37 +1,5 @@ - project: templates: - docs-on-readthedocs - - openstack-python-jobs - - openstack-python35-jobs - - openstack-python36-jobs vars: rtd_webhook_id: '61274' - check: - jobs: - - sqlalchemy-migrate-tox-py27sa07 - - sqlalchemy-migrate-devstack: - voting: false - gate: - jobs: - - sqlalchemy-migrate-tox-py27sa07 - -- job: - name: sqlalchemy-migrate-tox-py27sa07 - parent: tox - description: | - Run tests for sqlalchemy-migrate project. - - Uses tox with the ``py27sa07`` environment. - vars: - tox_envlist: py27sa07 - -- job: - name: sqlalchemy-migrate-devstack - parent: legacy-dsvm-base - run: playbooks/sqlalchemy-migrate-devstack-dsvm/run.yaml - post-run: playbooks/sqlalchemy-migrate-devstack-dsvm/post.yaml - timeout: 10800 - required-projects: - - openstack/devstack - - openstack/devstack-gate - - x/sqlalchemy-migrate diff --git a/README.rst b/README.rst index eb68bcd..2563f1e 100644 --- a/README.rst +++ b/README.rst @@ -1,6 +1,14 @@ SQLAlchemy Migrate ================== +.. warning:: + + sqlalchemy-migrate is no longer maintained and is not compatible with + SQLAlchemy 2.x. `alembic`__ is a modern replacement that is developed and + supported by the SQLAlchemy authors. + + .. __: https://alembic.sqlalchemy.org/en/latest/ + Fork from http://code.google.com/p/sqlalchemy-migrate/ to get it working with SQLAlchemy 0.8. diff --git a/doc/requirements.txt b/doc/requirements.txt index c019c60..a370c88 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1 +1 @@ -sphinx>=1.6.2,!=1.6.6 # BSD +sphinx>=1.6.2,!=1.6.6,<6 # BSD diff --git a/doc/source/conf.py b/doc/source/conf.py index 91e824e..27f190b 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -181,10 +181,10 @@ htmlhelp_basename = 'SQLAlchemyMigratedoc' # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, author, document class [howto/manual]). -latex_documents = [ - ('index', 'SQLAlchemyMigrate.tex', ur'SQLAlchemy Migrate Documentation', - ur'Evan Rosson, Jan Dittberner, Domen Kožar', 'manual'), -] +#latex_documents = [ +# ('index', 'SQLAlchemyMigrate.tex', ur'SQLAlchemy Migrate Documentation', +# ur'Evan Rosson, Jan Dittberner, Domen Kožar', 'manual'), +#] # The name of an image file (relative to this directory) to place at the top of # the title page. diff --git a/doc/source/index.rst b/doc/source/index.rst index a353ebb..be85bd3 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -14,6 +14,13 @@ :License: MIT :Version: |release| +.. warning:: + + sqlalchemy-migrate is no longer maintained and is not compatible with + SQLAlchemy 2.x. `alembic`__ is a modern replacement that is developed and + supported by the SQLAlchemy authors. + + .. __: https://alembic.sqlalchemy.org/en/latest/ .. topic:: Overview diff --git a/playbooks/sqlalchemy-migrate-devstack-dsvm/post.yaml b/playbooks/sqlalchemy-migrate-devstack-dsvm/post.yaml deleted file mode 100644 index e07f551..0000000 --- a/playbooks/sqlalchemy-migrate-devstack-dsvm/post.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- hosts: primary - tasks: - - - name: Copy files from {{ ansible_user_dir }}/workspace/ on node - synchronize: - src: '{{ ansible_user_dir }}/workspace/' - dest: '{{ zuul.executor.log_root }}' - mode: pull - copy_links: true - verify_host: true - rsync_opts: - - --include=/logs/** - - --include=*/ - - --exclude=* - - --prune-empty-dirs diff --git a/playbooks/sqlalchemy-migrate-devstack-dsvm/run.yaml b/playbooks/sqlalchemy-migrate-devstack-dsvm/run.yaml deleted file mode 100644 index afdfa35..0000000 --- a/playbooks/sqlalchemy-migrate-devstack-dsvm/run.yaml +++ /dev/null @@ -1,49 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-sqlalchemy-migrate-devstack-dsvm from old job gate-sqlalchemy-migrate-devstack-dsvm-nv - tasks: - - - name: Ensure legacy workspace directory - file: - path: '{{ ansible_user_dir }}/workspace' - state: directory - - - shell: - cmd: | - set -e - set -x - cat > clonemap.yaml << EOF - clonemap: - - name: openstack/devstack-gate - dest: devstack-gate - EOF - /usr/zuul-env/bin/zuul-cloner -m clonemap.yaml --cache-dir /opt/git \ - https://opendev.org \ - openstack/devstack-gate - executable: /bin/bash - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - set -e - set -x - export PYTHONUNBUFFERED=true - export PROJECTS="x/sqlalchemy-migrate $PROJECTS" - export DEVSTACK_GATE_TEMPEST=1 - export DEVSTACK_GATE_TEMPEST_FULL=1 - export BRANCH_OVERRIDE=default - if [ "$BRANCH_OVERRIDE" != "default" ] ; then - export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE - fi - - function pre_test_hook { - cd /opt/stack/new/sqlalchemy-migrate - sudo -H pip install . - } - export -f pre_test_hook - - cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh - ./safe-devstack-vm-gate-wrap.sh - executable: /bin/bash - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}'