Skip to content

Conversation

@michaelhush
Copy link
Contributor

Notebooks have been migrated to https://github.com/qctrl/notebooks/tree/master/qctrl-open-controls and readme has been updated accordingly.

@michaelhush
Copy link
Contributor Author

@stevegore the notebooks were previously automatically checked in the testing. They have been migrated, so could you please remove them from the circleCI automated tests.

Copy link
Contributor

@rajibchakravorty rajibchakravorty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because notebooks are removed from here,

  • we do not need nbval as dependency here anymore (in setup.py (this was to run the notebooks automatically)
    -we do not need - run: pytest --nbval-lax examples/*.ipynb --sanitize-with examples/notebook-sanitize.cfg line in .circleci/config.yml

@stevegore
Copy link
Contributor

Hey all, the builds will automatically add --nbval-lax to pytest if it detects *.ipynb files. You will need to remove the nbval dependency though.

I'm going to put some documentation on how to do this sort of thing, but for the moment:

  1. Install Poetry if you haven't got it:
curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python
  1. Remove the dependency:
poetry remove --dev nbval

Happy to walk through with you guys in more detail via chat if you'd rather.

@stevegore
Copy link
Contributor

Actually, just realised your branch has the old workflow. I'll need to get my PR merged, then you can get merge in those chances into this PR, then the above applies.

After I have the release done I'll ensure that happens.

@stevegore
Copy link
Contributor

@rajibchakravorty @michaelhush I've done this for you for this PR. Going to merge. Still having issues with it expecting a check that doesn't exist.

@stevegore stevegore merged commit d6fd7eb into master Jun 26, 2019
@stevegore stevegore deleted the remove-notebooks branch June 26, 2019 00:33
michaelhush pushed a commit that referenced this pull request Jul 8, 2019
# This is the 1st commit message:

starting pyquil support

# This is the commit message #1:

pyquil support added

# This is the commit message #2:

first version of pyquil notebook added

# This is the commit message #3:

pyquil dependency added to setup

# This is the commit message #4:

trying gcc install for pyquil

# This is the commit message #5:

replacing gcc install with build-essential

# This is the commit message #6:

forcing yes to install anything

# This is the commit message #7:

ignoring blocks in pyquil notebook for tests

# This is the commit message #8:

linted; unnecessary import removed from notebook

# This is the commit message #9:

removed all references of circuits and replaced those with programs; pyquil removed from method names

# This is the commit message #10:

notebook rerun after changes

# This is the commit message #11:

pyquil program conversion removes unnecessary method
michaelhush pushed a commit that referenced this pull request Jul 8, 2019
# This is the 1st commit message:

starting pyquil support

# This is the commit message #1:

pyquil support added

# This is the commit message #2:

first version of pyquil notebook added

# This is the commit message #3:

pyquil dependency added to setup

# This is the commit message #4:

trying gcc install for pyquil

# This is the commit message #5:

replacing gcc install with build-essential

# This is the commit message #6:

forcing yes to install anything

# This is the commit message #7:

ignoring blocks in pyquil notebook for tests

# This is the commit message #8:

linted; unnecessary import removed from notebook

# This is the commit message #9:

removed all references of circuits and replaced those with programs; pyquil removed from method names

# This is the commit message #10:

notebook rerun after changes

# This is the commit message #11:

pyquil program conversion removes unnecessary method

# This is the commit message #12:

Public methods are bundled as __all__; changed ported over to notebooks; base object removed; repr method created

# This is the commit message #13:

additional error handling for new repr method

# This is the commit message #14:

repr method updated with class instance as input
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants