Skip to content

Commit

Permalink
Prepare project archival
Browse files Browse the repository at this point in the history
Final changes after moving the repository.
Fix some parts of the CI, disable others.
Add a script to prepare py2neo-archive distributions.
  • Loading branch information
robsdedude committed Oct 20, 2023
1 parent 7f57cbe commit b3df746
Show file tree
Hide file tree
Showing 35 changed files with 2,204 additions and 78 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ jobs:
run: |
RELEASE=${{ steps.get_version.outputs.VERSION }} python setup.py sdist bdist_wheel
twine upload dist/*
READTHEDOCS_TOKEN="${{ secrets.READTHEDOCS_TOKEN }}" bin/publish-docs ${{ steps.get_version.outputs.VERSION }}
# READTHEDOCS_TOKEN="${{ secrets.READTHEDOCS_TOKEN }}" bin/publish-docs ${{ steps.get_version.outputs.VERSION }}
9 changes: 4 additions & 5 deletions .github/workflows/test-neo34-py27.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
pip install https://github.com/bboe/coveralls-python/archive/github_actions.zip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Perform legal checks
Expand All @@ -43,7 +42,7 @@ jobs:
NEO4J_VERSION: '3.4'

- name: Upload coverage
run: coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.lcov
9 changes: 4 additions & 5 deletions .github/workflows/test-neo34-py35+.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
pip install https://github.com/bboe/coveralls-python/archive/github_actions.zip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Perform legal checks
Expand All @@ -43,7 +42,7 @@ jobs:
NEO4J_VERSION: '3.4'

- name: Upload coverage
run: coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.lcov
9 changes: 4 additions & 5 deletions .github/workflows/test-neo35-py27.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
pip install https://github.com/bboe/coveralls-python/archive/github_actions.zip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Perform legal checks
Expand All @@ -43,7 +42,7 @@ jobs:
NEO4J_VERSION: '3.5'

- name: Upload coverage
run: coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.lcov
9 changes: 4 additions & 5 deletions .github/workflows/test-neo35-py35+.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
pip install https://github.com/bboe/coveralls-python/archive/github_actions.zip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Perform legal checks
Expand All @@ -43,7 +42,7 @@ jobs:
NEO4J_VERSION: '3.5'

- name: Upload coverage
run: coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.lcov
9 changes: 4 additions & 5 deletions .github/workflows/test-neo40-py27.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
pip install https://github.com/bboe/coveralls-python/archive/github_actions.zip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Perform legal checks
Expand All @@ -43,7 +42,7 @@ jobs:
NEO4J_VERSION: '4.0'

- name: Upload coverage
run: coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.lcov
9 changes: 4 additions & 5 deletions .github/workflows/test-neo40-py35+.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
pip install https://github.com/bboe/coveralls-python/archive/github_actions.zip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Perform legal checks
Expand All @@ -43,7 +42,7 @@ jobs:
NEO4J_VERSION: '4.0'

- name: Upload coverage
run: coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.lcov
9 changes: 4 additions & 5 deletions .github/workflows/test-neo41-py27.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
pip install https://github.com/bboe/coveralls-python/archive/github_actions.zip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Perform legal checks
Expand All @@ -43,7 +42,7 @@ jobs:
NEO4J_VERSION: '4.1'

- name: Upload coverage
run: coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.lcov
9 changes: 4 additions & 5 deletions .github/workflows/test-neo41-py35+.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
pip install https://github.com/bboe/coveralls-python/archive/github_actions.zip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Perform legal checks
Expand All @@ -43,7 +42,7 @@ jobs:
NEO4J_VERSION: '4.1'

- name: Upload coverage
run: coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.lcov
9 changes: 4 additions & 5 deletions .github/workflows/test-neo42-py27.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
pip install https://github.com/bboe/coveralls-python/archive/github_actions.zip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Perform legal checks
Expand All @@ -43,7 +42,7 @@ jobs:
NEO4J_VERSION: '4.2'

- name: Upload coverage
run: coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.lcov
9 changes: 4 additions & 5 deletions .github/workflows/test-neo42-py35+.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
pip install https://github.com/bboe/coveralls-python/archive/github_actions.zip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Perform legal checks
Expand All @@ -43,7 +42,7 @@ jobs:
NEO4J_VERSION: '4.2'

- name: Upload coverage
run: coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.lcov
9 changes: 4 additions & 5 deletions .github/workflows/test-neo43-py27.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
pip install https://github.com/bboe/coveralls-python/archive/github_actions.zip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Perform legal checks
Expand All @@ -43,7 +42,7 @@ jobs:
NEO4J_VERSION: '4.3'

- name: Upload coverage
run: coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.lcov
9 changes: 4 additions & 5 deletions .github/workflows/test-neo43-py35+.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
pip install https://github.com/bboe/coveralls-python/archive/github_actions.zip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Perform legal checks
Expand All @@ -43,7 +42,7 @@ jobs:
NEO4J_VERSION: '4.3'

- name: Upload coverage
run: coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.lcov
9 changes: 4 additions & 5 deletions .github/workflows/test-neo44-py27.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
pip install https://github.com/bboe/coveralls-python/archive/github_actions.zip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Perform legal checks
Expand All @@ -43,7 +42,7 @@ jobs:
NEO4J_VERSION: '4.4'

- name: Upload coverage
run: coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.lcov
9 changes: 4 additions & 5 deletions .github/workflows/test-neo44-py35+.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
pip install https://github.com/bboe/coveralls-python/archive/github_actions.zip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Perform legal checks
Expand All @@ -43,7 +42,7 @@ jobs:
NEO4J_VERSION: '4.4'

- name: Upload coverage
run: coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.lcov
7 changes: 5 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ Py2neo

** **Please now consider this project to be EOL. There will be no more updates. It is recommended to use the official Neo4j drivers instead.** **

The version history of py2neo on PyPI got lost.
If you need an older version, you can install [`py2neo-archive`](https://pypi.org/project/py2neo-archive/) instead.

.. image:: https://img.shields.io/pypi/v/py2neo.svg
:target: https://pypi.python.org/pypi/py2neo
:alt: PyPI version
Expand All @@ -11,12 +14,12 @@ Py2neo
:target: https://pypi.python.org/pypi/py2neo
:alt: PyPI Downloads

.. image:: https://img.shields.io/github/license/technige/py2neo.svg
.. image:: https://img.shields.io/github/license/neo4j-contrib/py2neo.svg
:target: https://www.apache.org/licenses/LICENSE-2.0
:alt: License

.. image:: https://coveralls.io/repos/github/technige/py2neo/badge.svg?branch=master
:target: https://coveralls.io/github/technige/py2neo?branch=master
:target: https://coveralls.io/github/neo4j-contrib/py2neo?branch=master
:alt: Coverage Status


Expand Down
3 changes: 2 additions & 1 deletion bin/check-legal
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ function check_license {


function check_copyright {
YEAR=$(date +%Y)
#YEAR=$(date +%Y)
YEAR=2021 # when this project was abandoned
find "${SRC}" -type d \( -path "${SRC}/vendor" \) -prune -o -name '*.py' -print0 | xargs -0 grep -L -e "Copyright.* 20[0-9][0-9]-${YEAR}"
}

Expand Down
Loading

0 comments on commit b3df746

Please sign in to comment.