Skip to content

Conversation

@florentaden
Copy link

Kia ora Claudio & Natalia!

I recently tried to install BTBB again with pip install . without success this time. The error is referring to some version problem:
packaging.version.InvalidVersion: Invalid version: '0.0.0-g6030'

I fixed it by modifying the function call_git_describe() in version.py so it would comply with PEP440, "-" are not permitted.

This seems to appear with the most recent version of python (3.10 is fine but not 3.11). I am playing around with the following
Dockerfile:

FROM python:3.12-slim
# FROM python:3.10-slim

RUN apt-get -y update \
    && apt-get install -y gcc g++ git

WORKDIR /app
COPY . .

RUN git clone https://github.com/BackTrackBB/backtrackbb.git \
    && cd backtrackbb \
    && pip install . \
    && cd ..

Cheers!!

@florentaden
Copy link
Author

Just realized that this might have been updated in the other opened pull request?

@claudiodsf
Copy link
Member

Hi Florent! Yes, this should be fixed in PR #9 !

I guess it's time to merge it 😉.

I'll let @npoiata react, then go ahead and merge it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants