Skip to content

Commit

Permalink
doc workaround for newer Python and old WP xmlrpc.
Browse files Browse the repository at this point in the history
* Anything newer than Python3.10 needs a workaround for site-packages
  structure to accomodate an older (but still perfectly working)
  python3-wordpress-xmlrpc RPM

* This package dependency is no longer needed in QUADS 2.0

Change-Id: I9ac05d8ffe6da90425958defbbf31c5e7bc438ac
  • Loading branch information
sadsfae committed Apr 12, 2024
1 parent 43eae71 commit 473eaf4
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,12 +165,25 @@ You can read about QUADS architecture, provisioning, visuals and workflow [in ou
- We build RPM packages for the Fedora distribution.
- On Fedora 30 and above you'll need to manually install mongodb first, see [installing mongodb for QUADS](docs/install-mongodb.md)
- On Fedora 30 and above it is necessary to install `python3-wordpress-xmlrpc` as it is not included anymore
- On Fedora versions greater than 36 you'll need a Python workaround below after installing `python3-wordpress-xmlrpc`

```
rpm -ivh --nodeps https://funcamp.net/w/python3-wordpress-xmlrpc-2.3-14.noarch.rpm
```
This package is also available via `pip` via `pip install python-wordpress-xmlrpc`

* As this package was not rebuilt for Fedora38+ you'll need to employ a workround for nerwer versions of Python for this to function.
* If `python --version` is anything other than `Python 3.10` you'll need:

```
mypythonversion=$(python --version | sed 's/Python //' | sed 's/..$//')
cd /usr/lib
mv python3.10 python3.10-workaround
rsync -avH python3.10-workaround/site-packages/* python$mypythonversion/site-packages/
ln -s python$mypythonversion python3.10
```

In QUADS 2.0 **this package dependency is no longer needed**

* Once you have mongodb installed and running you can install/upgrade QUADS via RPM.

Expand Down

0 comments on commit 473eaf4

Please sign in to comment.