Using pypac with amol-/dukpy as the dukpy lib leaves us on duktape 1.4 and there is a memory leak.
Switching to kovidgoyal/dukpy switches to duktape 2.0 and removes the memory leak.
Unfortunately, I could find no way of fixing the setup.py so that the new dukpy could be pulled in automatically. To install, you would need to do something like:
# setup python virtualenv
pip install wheel
git clone https://github.com/kovidgoyal/dukpy.git
cd dukpy
python setup.py bdist_wheel
cd dist
pip install <wheel_file_in_folder>
cd ../..
git clone https://github.com/maximinus/pypac.git
cd pypac
python setup.py bdist_wheel
cd dist
pip install <wheel_file_in_folder>
Thanks for looking into this issue. However, this pull request is a non-starter: I can't have PyPAC depend on a library that isn't distributed on PyPI. Hopefully we can find an alternate solution.
Using pypac with amol-/dukpy as the dukpy lib leaves us on duktape 1.4 and there is a memory leak.
Switching to kovidgoyal/dukpy switches to duktape 2.0 and removes the memory leak.
Unfortunately, I could find no way of fixing the setup.py so that the new dukpy could be pulled in automatically. To install, you would need to do something like: