Hi,
I build Debian packages for S3QL for me and for the 3.4 Version I
migrated to use dh_virtualenv (
https://github.com/spotify/dh-virtualenv
). Before that I used the system packages (and needed to package updated
versions of quite a bunch of python libraries).
I use the following requirements.txt to create the virtualenv
apsw >= 3.8.2, < 4.0
defusedxml
cryptography == 2.8
requests
pyfuse3 >= 1.0, < 2.0
dugong >= 3.4, < 4.0
pytest == 4.6.5
google-auth
google-auth-oauthlib
pytest_trio
trio == 0.12.0
attrs == 19.3.0
With these in a virtualenv, all test pass.
The package is not tested that well but the Ubuntu 16.04 (Xenial)
version is running on some machines for a week or so without problems.
I make no promises regarding availability, but you are welcome to use
the packages, too (I compile them for Xenial, Bionic and Buster – I do
not need other distributions):
wget -qO -
http://deb.saasweb.net/s3ql/key.asc | sudo apt-key add -
echo -e "deb
http://deb.saasweb.net/s3ql $(lsb_release -cs)
main\ndeb-src
http://deb.saasweb.net/s3ql $(lsb_release -cs) main\n" |
sudo tee /etc/apt/sources.list.d/s3ql.list
sudo apt-get update
sudo apt-get install s3ql
... or if you want to compile on your own:
wget -qO -
http://deb.saasweb.net/s3ql/key.asc | sudo apt-key add -
echo -e "deb
http://deb.saasweb.net/s3ql $(lsb_release -cs)
main\ndeb-src
http://deb.saasweb.net/s3ql $(lsb_release -cs) main\n" |
sudo tee /etc/apt/sources.list.d/s3ql.list
sudo apt-get update
apt-get build-dep s3ql
apt-get source s3ql
cd s3ql-3.4.0
dpkg-buildpackage -uc -us
cd ..
ls *.deb
For S3QL to still work in Ubuntu 16.04, the packages not only bundle all
needed Python libraries, but also a Python 3.8 installation, too. It
also bundles the Python systemd bindings so that the "--systemd" mount
option works.
Have a look at
http://deb.saasweb.net/s3ql/pool/main/s/s3ql/s3ql_3.4.0-2~xenial.debian.tar.xz
to see all the bells and whistles (If you know debian packaging, that is).
The packages include two very small custom patches:
One to fix a problem with the OVH load balancer (big bulk deletes time
out since the load balancer wants to buffer the whole response)
Another patch introduces a new option --fssize that merely sets the
value, that S3QL is reporting as its file system size. That size does
not get enforced so its quite useless but some software (e.g. Nextcloud)
will indeed heed this constraint. (I sometimes use S3QL as the
filesystem where a Nextcloud instance is storing its data and this
option helps so that Nextcloud is using the space more efficiently)