diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 0bbf43df..1b4128fb 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -18,7 +18,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v2 with: - python-version: '3.6' + python-version: '3.10' - name: Bump Version env: TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index c874f770..8d001093 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [ "3.6", "3.7", "3.8", "3.9", "3.10" ] + python-version: [ "3.7", "3.8", "3.9", "3.10" ] services: postgres: image: postgres @@ -33,13 +33,10 @@ jobs: uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - - name: Install poetry - uses: snok/install-poetry@v1 - with: - virtualenvs-create: true - virtualenvs-in-project: true - name: Install dependencies - run: poetry install --no-interaction --no-root + run: | + python -m pip install --upgrade pip + pip install -r tests/dev.requirements.txt - name: Test with pytest env: POSTGRES_DB: test @@ -48,5 +45,4 @@ jobs: POSTGRES_HOST: localhost POSTGRES_PORT: ${{ job.services.postgres.ports[5432] }} run: | - source .venv/bin/activate pytest diff --git a/README.md b/README.md index 902288e9..92389b36 100644 --- a/README.md +++ b/README.md @@ -6,13 +6,16 @@ A dynamic FastAPI router that automatically creates CRUD routes for your models
++ +
--- diff --git a/docs/en/docs/contributing.md b/docs/en/docs/contributing.md index 0b8a1526..85bea539 100644 --- a/docs/en/docs/contributing.md +++ b/docs/en/docs/contributing.md @@ -14,20 +14,6 @@ on the feature and potential help on where to start implementation wise. ## Development -### Using [poetry](https://python-poetry.org/) - -FastAPI-Crudrouter uses [poetry](https://python-poetry.org/) as depenency management system. To install all of the required dependecies simply run: - - poetry install - -Both dev-requirements and project-requirements will be installed with this command. - -To enter the virtual-environment created with poetry use: - - poetry shell - -If you are not familiar with poetry, please read their [usage guide](https://python-poetry.org/docs/basic-usage/). - ### Installing the Dev Requirements FastAPI-Crudrouter requires as set of development requirements that can installed with `pip` be found in `tests/dev.requirements.txt` diff --git a/docs/en/docs/index.md b/docs/en/docs/index.md index a19720c6..2790afae 100644 --- a/docs/en/docs/index.md +++ b/docs/en/docs/index.md @@ -6,9 +6,15 @@ A dynamic FastAPI router that automatically creates routes CRUD for your models- - - + + + + + + +
++
--- diff --git a/setup.py b/setup.py index ddb1e615..1288f6de 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ def get_version(): name="fastapi-crudrouter", version=get_version(), author="Adam Watkins", - author_email="cadamrun@gmail.com", + author_email="hello@awtkns.com", packages=find_packages(exclude=("tests.*", "tests")), url="https://github.com/awtkns/fastapi-crudrouter", documentation="https://fastapi-crudrouter.awtkns.com/", diff --git a/tests/dev.requirements.txt b/tests/dev.requirements.txt index bc00da65..f4dc82e2 100644 --- a/tests/dev.requirements.txt +++ b/tests/dev.requirements.txt @@ -33,4 +33,4 @@ flake8-functions flake8-expression-complexity # Typing -mypy==0.910 \ No newline at end of file +mypy==0.910