Skip to content

Commit 01757e1

Browse files
reshamasmaresb
andauthored
Gitpod instructions: use latest version of pymc (#7106)
Co-authored-by: Ben Mares <[email protected]>
1 parent 6f8f9ee commit 01757e1

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

docs/source/contributing/using_gitpod.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,47 @@ These instructions are for contributing specifically to the [pymc-devs/pymc](htt
9898
Python 3.11.0
9999
```
100100

101+
8. Syncing the repository
102+
103+
Ensure you are in the correct place:
104+
```console
105+
cd /workspace/pymc
106+
git checkout main
107+
```
108+
109+
Sync the repository code and version tags: `git pull upstream main --tags`
110+
111+
Update installed version number: `pip install -e .`
112+
113+
Example:
114+
```console
115+
Obtaining file:///workspace/pymc
116+
Installing build dependencies ... done
117+
Checking if build backend supports build_editable ... done
118+
Getting requirements to build editable ... done
119+
Preparing editable metadata (pyproject.toml) ... done
120+
Requirement already satisfied: arviz>=0.13.0 in /opt/conda/lib/python3.11/site-packages (from pymc==5.1.1+303.g6f8f9eef) (0.15.1)
121+
...
122+
Building editable for pymc (pyproject.toml) ... done
123+
Created wheel for pymc: filename=pymc-5.1.1+303.g6f8f9eef-0.editable-py3-none-any.whl size=11527 sha256=6211b7149b3ab09813b2badb3010f54d2d4ab014f75054d73f204ac5ea82ed82
124+
Stored in directory: /tmp/pip-ephem-wheel-cache-wmkfx8pd/wheels/73/bf/14/341b7fa040e9af1991e12077c13913921be3069fe3bdf78752
125+
Successfully built pymc
126+
Installing collected packages: pytensor, pymc
127+
Attempting uninstall: pytensor
128+
Found existing installation: pytensor 2.10.1
129+
Uninstalling pytensor-2.10.1:
130+
Successfully uninstalled pytensor-2.10.1
131+
Successfully installed pymc-5.1.1+303.g6f8f9eef pytensor-2.18.6
132+
```
133+
134+
Check the PyMC version being used: `python -c "import pymc; print(pymc.__version__)"`
135+
136+
Example:
137+
```console
138+
(base) gitpod@reshamas-pymc-syxfrf90fp0:/workspace/pymc$ python -c "import pymc; print(pymc.__version__)"
139+
5.1.1+303.g6f8f9eef
140+
```
141+
101142
### Reminder: Git Workflow
102143

103144
:::{attention}

0 commit comments

Comments
 (0)