Import setuptools in manage.py (#4061)

* Import setuptools in manage.py

Ref: https://github.com/pypa/setuptools/issues/3706

* Import all the things

* Show setuptools version

* Update setuptools to latest verseion

* Force upgrade of setuptools version

* Remove debug

* Prevent docker builds on PR

* Remove setuptools imports
This commit is contained in:
Oliver 2022-12-16 07:42:07 +11:00 committed by GitHub
parent 09cb59ead3
commit 0f55cbf7f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -54,6 +54,7 @@ jobs:
docker-compose run inventree-dev-server invoke update
docker-compose run inventree-dev-server invoke setup-dev
docker-compose up -d
docker-compose run inventree-dev-server pip install --upgrade setuptools
docker-compose run inventree-dev-server invoke wait
- name: Check Data Directory
# The following file structure should have been created by the docker image
@ -69,7 +70,6 @@ jobs:
test -f data/secret_key.txt
- name: Run Unit Tests
run: |
docker-compose --version
docker-compose run inventree-dev-server invoke test --disable-pty
docker-compose down
- name: Set up QEMU

View File

@ -3,7 +3,7 @@
# Basic package requirements
invoke>=1.4.0 # Invoke build tool
pyyaml>=6.0
setuptools==60.0.5
setuptools==65.6.3
wheel>=0.37.0
# Database links