Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove examples #574

Merged
merged 9 commits into from Apr 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
49 changes: 0 additions & 49 deletions .circleci/config.yml
Expand Up @@ -68,32 +68,6 @@ jobs:
name: Flake8
command: flake8 pyfar

test_examples:
parameters:
version:
description: "version tag"
default: "latest"
type: string
executor:
name: python-docker
version: <<parameters.version>>

steps:
- checkout
- run:
name: Install System Dependencies
command: sudo apt-get update && sudo apt-get install -y libsndfile1
- python/install-packages:
pkg-manager: pip
# app-dir: ~/project/package-directory/ # If you're requirements.txt isn't in the root directory.
pip-dependency-file: requirements_dev.txt
- run:
name: Examples
command: |
pip install astroid
pip install -e .
pytest --nbmake examples/*.ipynb

test_documentation_build:
parameters:
version:
Expand Down Expand Up @@ -168,14 +142,6 @@ workflows:
requires:
- build_and_test

- test_examples:
matrix:
parameters:
version:
- "3.9"
requires:
- build_and_test

- test_documentation_build:
matrix:
parameters:
Expand Down Expand Up @@ -219,20 +185,6 @@ workflows:
tags:
only: /^v[0-9]+(\.[0-9]+)*$/

- test_examples:
matrix:
parameters:
version:
- "3.9"
requires:
- build_and_test
filters:
branches:
ignore: /.*/
# only act on version tags
tags:
only: /^v[0-9]+(\.[0-9]+)*$/

- test_documentation_build:
matrix:
parameters:
Expand All @@ -255,7 +207,6 @@ workflows:
requires:
- build_and_test
- flake
- test_examples
- test_documentation_build
filters:
branches:
Expand Down
6 changes: 3 additions & 3 deletions CONTRIBUTING.rst
Expand Up @@ -244,7 +244,7 @@ A reminder for the maintainers on how to deploy.

- Commit all changes to develop
- Update HISTORY.rst in develop
- Check if examples/pyfar_demo.ipynb needs to be updated
- Check if gallery needs to be updated
- Merge develop into main

Switch to main and run::
Expand All @@ -255,6 +255,6 @@ $ git push --follow-tags
The testing platform will then deploy to PyPI if tests pass.

- merge main back into develop
- check `binder`_
- check gallery in `binder`_

.. _binder: https://mybinder.org/v2/gh/pyfar/pyfar/main?filepath=examples%2Fpyfar_demo.ipynb
.. _binder: https://mybinder.org/v2/gh/pyfar/gallery/main?filepath=docs/gallery
9 changes: 4 additions & 5 deletions README.rst
Expand Up @@ -10,7 +10,7 @@ pyfar
.. image:: https://circleci.com/gh/pyfar/pyfar.svg?style=shield
:target: https://circleci.com/gh/pyfar/pyfar
.. image:: https://mybinder.org/badge_logo.svg
:target: https://mybinder.org/v2/gh/pyfar/pyfar/main?filepath=examples%2Fpyfar_demo.ipynb
:target: https://mybinder.org/v2/gh/pyfar/gallery/main?filepath=docs/gallery


The python package for acoustics research (pyfar) offers classes to store
Expand All @@ -20,9 +20,9 @@ functions for digital audio signal processing.
Getting Started
===============

Check out the `examples notebook`_ for a tour of the most important pyfar
functionality and `read the docs`_ for the complete documentation. Packages
related to pyfar are listed at `pyfar.org`_.
Check out `pyfar.org`_ for a tour through the pyfar
universe, including complete documentation of this package and
the other packages.

Installation
============
Expand All @@ -44,7 +44,6 @@ Refer to the `contribution guidelines`_ for more information.


.. _contribution guidelines: https://github.com/pyfar/pyfar/blob/develop/CONTRIBUTING.rst
.. _examples notebook: https://mybinder.org/v2/gh/pyfar/pyfar/main?filepath=examples%2Fpyfar_demo.ipynb
.. _pyfar.org: https://pyfar.org
.. _read the docs: https://pyfar.readthedocs.io/en/latest
.. _SoundFile: https://pysoundfile.readthedocs.io/en/latest/
Expand Down