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: README.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -32,9 +32,9 @@ To get you started, we've provided some example solutions for past CTF challenge
32
32
33
33
# Installation
34
34
35
-
Pwntools is best supported on 64-bit Ubuntu LTS releases (18.04, 20.04, 22.04, and 24.04). Most functionality should work on any Posix-like distribution (Debian, Arch, FreeBSD, OSX, etc.).
35
+
Pwntools is best supported on 64-bit Ubuntu LTS releases (22.04 and 24.04). Most functionality should work on any Posix-like distribution (Debian, Arch, FreeBSD, OSX, etc.).
36
36
37
-
Python3 is suggested, but Pwntools still works with Python 2.7. Most of the functionality of pwntools is self-contained and Python-only. You should be able to get running quickly with
37
+
Pwntools supports Python 3.10+ since version 5.0.0. Use Pwntools 4.x for older versions as well as Python 2.7. Most of the functionality of pwntools is self-contained and Python-only. You should be able to get running quickly with
Copy file name to clipboardexpand all lines: TESTING.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ Pwntools makes extensive use of unit tests and integration tests to ensure every
4
4
5
5
## Test Suite
6
6
7
-
To run the test suite, it is best to use Ubuntu 12.04 or 14.04, and run the following commands. **Be aware** that this will add a user to the machine, and create a public key for SSH login!
7
+
To run the test suite, it is best to use Ubuntu 22.04 or 24.04, and run the following commands. **Be aware** that this will add a user to the machine, and create a public key for SSH login!
8
8
9
9
```sh
10
10
bash travis/install.sh
@@ -15,7 +15,7 @@ PWNLIB_NOTERM=1 make -C docs doctest
15
15
16
16
## Testing in Docker
17
17
18
-
A `Dockerfile` has been provided which has a clean testing environment with Ubuntu Xenial. It is very similar to the online Travis CI testing environment, but uses a more modern version of Ubuntu.
18
+
A `Dockerfile` has been provided which has a clean testing environment with Ubuntu Jammy. It is very similar to the online Github Actions CI testing environment, but uses a more modern version of Ubuntu.
19
19
20
20
See `travis/docker/README.md` for more information.
Copy file name to clipboardexpand all lines: docs/source/install.rst
+6-2
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
Installation
2
2
============
3
3
4
-
Pwntools is best supported on 64-bit Ubuntu LTS releases (14.04, 16.04, 18.04, and 20.04). Most functionality should work on any Posix-like distribution (Debian, Arch, FreeBSD, OSX, etc.).
4
+
Pwntools is best supported on 64-bit Ubuntu LTS releases (22.04and 24.04). Most functionality should work on any Posix-like distribution (Debian, Arch, FreeBSD, OSX, etc.).
5
5
6
6
Prerequisites
7
7
-------------
@@ -21,11 +21,13 @@ Note: For Mac OS X you will need to have cmake ``brew install cmake`` and pkg-co
21
21
Released Version
22
22
-----------------
23
23
24
-
pwntools is available as a ``pip`` package for both Python2 and Python3.
24
+
pwntools is available as a ``pip`` package for Python3. Version v5.0.0 supports Python3.10 or later. Use v4 if you use earlier versions of Python.
25
25
26
26
Python3
27
27
^^^^^^^
28
28
29
+
The Python version required for installing Pwntools is kept as low as possible on a best-effort basis. However, new features target Python3.10 and later.
30
+
29
31
.. code-block:: bash
30
32
31
33
$ sudo apt-get update
@@ -37,6 +39,8 @@ Python3
37
39
Python2 (Deprecated)
38
40
^^^^^^^^^^^^^^^^^^^^
39
41
42
+
Python2 support has been removed in Pwntools v5.0.0. The last version to support Python2 was v4.15.0.
43
+
40
44
NOTE: Pwntools maintainers STRONGLY recommend using Python3 for all future Pwntools-based scripts and projects.
41
45
42
46
Additionally, due to `pip` dropping support for Python2, a specfic version of `pip` must be installed.
0 commit comments