Closed ddiez closed 1 month ago
Hi @ddiez I believe we are working on that exact issue. If you are feeling adventurous, you can try the 1.5 release branch to see if it works for you, otherwise we should have a new release soon.
git clone https://github.com/airr-community/airr-standards.git
cd airr-standards
git checkout release-1.5
cd lang/python
pip install .
@schristley good to know. Thanks!
A quick fix is to download the airr-py-1.5.0.tar.gz from the release section, then
tar -xzvf airr-py-1.5.0.tar.gz
cd airr-1.5.0/
sed -i 's/SafeConfigParser/ConfigParser/g' versioneer.py
sed -i 's/readfp/read_file/g' versioneer.py
python3.12 -m pip install .
SafeConfigParser was replaced by ConfigParser in latest Python v3.12
Linking to the original issue for context #742
One more way to install from the main branch:
pip3 install -e "git+https://github.com/airr-community/airr-standards.git#egg=airr&subdirectory=lang/python"
If you want to use a specific commit:
pip3 install -e "git+https://github.com/airr-community/airr-standards.git@b3e4a69169200b2644cb7e0e534f1781b68829f1#egg=airr&subdirectory=lang/python"
This should now be fixed in v1.5.1 on PyPI: https://pypi.org/project/airr/1.5.1
Thanks for the report and let us know if you have any more trouble.
I tested and it worked without issues. Thanks!
I tried installing the
airr
package with Python 3.12 and got the following error:The same does not happen with Python 3.11.