Skip to content

Commit

Permalink
Testing on 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
AllenDowney committed Nov 4, 2023
1 parent fab0857 commit dd99968
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.8]
python-version: [3.8, "3.11"]

steps:
- uses: actions/checkout@v2
Expand Down
9 changes: 4 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
PROJECT_NAME = ThinkBayes2
PYTHON_VERSION = 3.8
PYTHON_VERSION = 3.10
PYTHON_INTERPRETER = python


## Set up python interpreter environment
create_environment:
conda create --name $(PROJECT_NAME) python=$(PYTHON_VERSION) -y
conda create -y --name $(PROJECT_NAME) python=$(PYTHON_VERSION) pymc
@echo ">>> conda env created. Activate with:\nconda activate $(PROJECT_NAME)"


## Install Python Dependencies
requirements:
$(PYTHON_INTERPRETER) -m pip install -U pip setuptools wheel
$(PYTHON_INTERPRETER) -m pip install -r requirements.txt
Expand All @@ -22,4 +20,5 @@ clean:


tests:
cd soln; pytest --nbmake chap01.ipynb
cd soln; pytest --nbmake chap0[1-9].ipynb
cd soln; pytest --nbmake chap1[0-8].ipynb
2 changes: 0 additions & 2 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@

-r requirements.txt
black
pytest
nbmake
6 changes: 1 addition & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
jupyter
numpy
matplotlib
nbclassic
seaborn
pandas
statsmodels
scipy
mkl-service
lxml
xlrd
html5lib
Expand Down

0 comments on commit dd99968

Please sign in to comment.