You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/devnotes.rst
+8-3Lines changed: 8 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,10 +48,16 @@ Instructions::
48
48
I recommend you install PyEnv to manage Python versions `sudo curl https://pyenv.run | bash`
49
49
Follow the instructions to set up your .bashrc
50
50
To build various versions of Python for testing you may also need `sudo dnf install bzip2-devel openssl-devel libffi-devel zlib-devel readline-devel sqlite-devel -y`
51
-
Install the latest supported version of Python for your main dev environment `pyenv install 3.9 2.7`
52
-
Set these versions as global in pyenv so tox can see them. Use the actual versions with the command `pyenv global 3.9.16 2.7.62`
51
+
Install the latest supported version of Python for your main dev environment `pyenv install 3.9 2.7 3.12`
52
+
Set these versions as global in pyenv so tox can see them. Use the actual versions with the command `pyenv global 3.9.16 2.7.18 3.12.2`
53
53
You'll want to stand up the two sets of NiFi containers for testing. resources/docker/tox-full for default and regression tests, and resources/docker/secure for tests under auth.
54
54
You can switch between the tests by changing flags in tests/conftest.py around line 17.
55
+
Python3 can be tested automatically using Tox.
56
+
Python2 can be tested using the following steps within a Python2 virtualenv:
0 commit comments