Skip to content

Commit

Permalink
test notebooks on windows also (#377)
Browse files Browse the repository at this point in the history
* test notebooks on windows also

* not sure why we require the whole of ipython. The kernel should be enough

* how's that, Azure?

* we don't need pyinstaller any more

* maybe we actually need ipython for windows?

* we ignore deprecation warnings for now

* let's revert this and see...

* how about trying to ignore the right thing?

* maybe like this?

* that doesn't work

* lets try this

* let's see if we can do without

* updated requirements to latest versions
  • Loading branch information
wilko77 authored Aug 26, 2020
1 parent a5e0860 commit a8f7a7d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .azurePipeline/wholeBuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ jobs:
# Finally PyPy is excluded because the notebooks rely on pandas, which as of March 2020 is still not supported by Pypy
# http://packages.pypy.org/##pandas
- script: |
pip install -e .
python -m pip install -U -e .
python -m pip install -U -r docs/doc-requirements.txt
pytest --nbval docs -x --sanitize-with docs/tutorial_sanitize.cfg
displayName: 'Test all notebooks'
timeoutInMinutes: 5
condition: and(ne(variables['pythonVersion'], '3.5'), ne(variables['operatingSystem'], 'vs2017-win2016'), ne(variables['pythonVersion'], 'pypy3'))
condition: and(ne(variables['pythonVersion'], '3.5'), ne(variables['pythonVersion'], 'pypy3'))
- task: PublishTestResults@2
displayName: 'Publish test results in Azure'
Expand Down
7 changes: 4 additions & 3 deletions docs/doc-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
anonlink==0.13.1
ipython>=7.16.1
ipykernel==5.3.4
nbval==0.9.6
notebook==6.1.3
matplotlib==3.3.0
matplotlib==3.3.1
nbsphinx==0.7.1
numpy==1.19.1
pandas==1.1.0
pandas==1.1.1
recordlinkage==0.14
requests==2.24.0
sphinx==3.2.1
Expand Down
8 changes: 3 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
bitarray-hardbyte==1.2.2
bitarray-hardbyte==1.5.2
cryptography==3.0
jsonschema==3.2.0
hypothesis==5.23.11
hypothesis==5.28.0
mypy_extensions==0.4.3
nbval==0.9.6
pyblake2==1.1.2; python_version < '3.6'
pyinstaller==4.0
pytest==6.0.1
pytest-cov==2.10.0
pytest-cov==2.10.1
tqdm==4.48.2

0 comments on commit a8f7a7d

Please sign in to comment.