diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 9f803ece4a..0000000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,28 +0,0 @@ -version: 2.1 - -orbs: - python: circleci/python@1.4.0 - -jobs: - build_doc: - docker: - - image: cimg/python:3.12 - steps: - - checkout - - run: - name: doc_build - command: | - python --version - python -m venv venv - . venv/bin/activate - pip install -r requirements/requirements.txt - pip install -r docs/doc_requirements.txt - cd docs;make html - - store_artifacts: - path: docs/_build/html/ - destination: html - -workflows: - main: - jobs: - - build_doc diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index 24f0926299..0000000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1,4 +0,0 @@ -# These are supported funding model platforms -github: AtsushiSakai -patreon: myenigma -custom: https://www.paypal.me/myenigmapay/ diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 4f13bd074f..0000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: '' -labels: '' -assignees: '' - ---- - -**Describe the bug** -A clear and concise description of what the bug is. - -**Expected behavior** -A clear and concise description of what you expected to happen. - -**Screenshots** -If applicable, add screenshots to help explain your problem. - -**Desktop (please complete the following information):** - - Python version (This repo only supports Python 3.9.x or higher). - - Each library version - - OS version diff --git a/.github/codeql/codeql-config.yml b/.github/codeql/codeql-config.yml deleted file mode 100644 index 4542231f10..0000000000 --- a/.github/codeql/codeql-config.yml +++ /dev/null @@ -1,6 +0,0 @@ -name: "Extended CodeQL Config" - -# This file adds additional queries to the default configuration to make it equivalent to what LGTM checks. -queries: - - name: Security and quality queries - uses: security-and-quality diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 6ffedf6f3b..0000000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,13 +0,0 @@ -version: 2 -updates: -- package-ecosystem: pip - directory: "/requirements" - schedule: - interval: weekly - time: "20:00" - open-pull-requests-limit: 10 - -- package-ecosystem: github-actions - directory: "/" - schedule: - interval: weekly diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md deleted file mode 100644 index b6ac52efa2..0000000000 --- a/.github/pull_request_template.md +++ /dev/null @@ -1,24 +0,0 @@ - - -#### Reference issue - - -#### What does this implement/fix? - - -#### Additional information - - -#### CheckList -- [ ] Did you add an unittest for your new example or defect fix? -- [ ] Did you add documents for your new example? -- [ ] All CIs are green? (You can check it after submitting) diff --git a/.github/workflows/Linux_CI.yml b/.github/workflows/Linux_CI.yml deleted file mode 100644 index 7b3dc14751..0000000000 --- a/.github/workflows/Linux_CI.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: Linux_CI - -on: - push: - branches: - - master - pull_request: - -jobs: - build: - - runs-on: ubuntu-latest - strategy: - matrix: - python-version: [ '3.12' ] - - name: Python ${{ matrix.python-version }} CI - - steps: - - uses: actions/checkout@v4 - - run: git fetch --prune --unshallow - - - name: Setup python - uses: actions/setup-python@v5 - with: - python-version: ${{ matrix.python-version }} - - name: Install dependencies - run: | - python --version - python -m pip install --upgrade pip - python -m pip install -r requirements/requirements.txt - - name: do all unit tests - run: bash runtests.sh - - - - diff --git a/.github/workflows/MacOS_CI.yml b/.github/workflows/MacOS_CI.yml deleted file mode 100644 index 5ea15ac72e..0000000000 --- a/.github/workflows/MacOS_CI.yml +++ /dev/null @@ -1,39 +0,0 @@ -# This is a basic workflow to help you get started with Actions - -name: MacOS_CI - -# Controls when the action will run. Triggers the workflow on push or pull request -# events but only for the master branch -on: - push: - branches: - - master - pull_request: - - -jobs: - build: - runs-on: macos-latest - strategy: - matrix: - python-version: [ '3.12' ] - name: Python ${{ matrix.python-version }} CI - steps: - - uses: actions/checkout@v4 - - run: git fetch --prune --unshallow - - - name: Update bash - run: brew install bash - - - name: Setup python - uses: actions/setup-python@v5 - with: - python-version: ${{ matrix.python-version }} - - - name: Install dependencies - run: | - python --version - python -m pip install --upgrade pip - pip install -r requirements/requirements.txt - - name: do all unit tests - run: bash runtests.sh diff --git a/.github/workflows/Windows_CI.yml b/.github/workflows/Windows_CI.yml deleted file mode 100644 index b9c8dea649..0000000000 --- a/.github/workflows/Windows_CI.yml +++ /dev/null @@ -1,36 +0,0 @@ -# This is a basic workflow to help you get started with Actions - -name: Windows_CI - -# Controls when the action will run. Triggers the workflow on push or pull request -# events but only for the master branch -on: - push: - branches: - - master - pull_request: - - -jobs: - build: - runs-on: windows-latest - strategy: - matrix: - python-version: [ '3.12' ] - name: Python ${{ matrix.python-version }} CI - steps: - - uses: actions/checkout@v4 - - run: git fetch --prune --unshallow - - - name: Setup python - uses: actions/setup-python@v5 - with: - python-version: ${{ matrix.python-version }} - - - name: Install dependencies - run: | - python --version - python -m pip install --upgrade pip - pip install -r requirements/requirements.txt - - name: do all unit tests - run: bash runtests.sh diff --git a/.github/workflows/circleci-artifacts-redirector.yml b/.github/workflows/circleci-artifacts-redirector.yml deleted file mode 100644 index 78eb479aa1..0000000000 --- a/.github/workflows/circleci-artifacts-redirector.yml +++ /dev/null @@ -1,14 +0,0 @@ -name: circleci-artifacts-redirector-action -on: [status] -jobs: - circleci_artifacts_redirector_job: - runs-on: ubuntu-latest - name: Run CircleCI artifacts redirector!! - steps: - - name: run-circleci-artifacts-redirector - uses: larsoner/circleci-artifacts-redirector-action@v1.0.0 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - api-token: ${{ secrets.CIRCLECI_TOKEN }} - artifact-path: 0/html/index.html - circleci-jobs: build_doc diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml deleted file mode 100644 index 878a4a4435..0000000000 --- a/.github/workflows/codeql.yml +++ /dev/null @@ -1,51 +0,0 @@ -name: "Code scanning - action" - -on: - push: - branches: - - master - pull_request: - schedule: - - cron: '0 19 * * 0' - -jobs: - CodeQL-Build: - - # CodeQL runs on ubuntu-latest and windows-latest - runs-on: ubuntu-latest - - steps: - - name: Checkout repository - uses: actions/checkout@v4 - with: - # We must fetch at least the immediate parents so that if this is - # a pull request then we can checkout the head. - fetch-depth: 2 - - # Initializes the CodeQL tools for scanning. - - name: Initialize CodeQL - uses: github/codeql-action/init@v3 - with: - config-file: ./.github/codeql/codeql-config.yml - # Override language selection by uncommenting this and choosing your languages - # with: - # languages: go, javascript, csharp, python, cpp, java - - # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). - # If this step fails, then you should remove it and run the build manually (see below) - - name: Autobuild - uses: github/codeql-action/autobuild@v3 - - # â„šī¸ Command-line programs to run using the OS shell. - # 📚 https://git.io/JvXDl - - # âœī¸ If the Autobuild fails above, remove it and uncomment the following three lines - # and modify them (or add more) to build your code if your project - # uses a compiled language - - #- run: | - # make bootstrap - # make release - - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v3 diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml deleted file mode 100644 index e08c6106c0..0000000000 --- a/.github/workflows/gh-pages.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: GitHub Pages site update -on: - push: - branches: - - master -jobs: - build: - runs-on: ubuntu-latest - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - permissions: - id-token: write - pages: write - steps: - - name: Setup python - uses: actions/setup-python@v5 - - name: Checkout - uses: actions/checkout@master - with: - fetch-depth: 0 # otherwise, you will fail to push refs to dest repo - - name: Install dependencies - run: | - python --version - python -m pip install --upgrade pip - python -m pip install -r requirements/requirements.txt - - name: Build and Deploy - uses: sphinx-notes/pages@v3 - with: - requirements_path: ./docs/doc_requirements.txt diff --git a/.gitignore b/.gitignore index c971b8f9c5..ef5e52c1b0 100644 --- a/.gitignore +++ b/.gitignore @@ -71,3 +71,6 @@ target/ matplotrecorder/* .vscode/settings.json + +# virtualenv +venv/