Skip to content

Commit

Permalink
release: 0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
0xsirsaif committed Feb 19, 2023
1 parent 5a92c80 commit eee32e3
Show file tree
Hide file tree
Showing 8 changed files with 59 additions and 112 deletions.
2 changes: 0 additions & 2 deletions .github/FUNDING.yml

This file was deleted.

39 changes: 0 additions & 39 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

4 changes: 0 additions & 4 deletions .github/ISSUE_TEMPLATE/config.yml

This file was deleted.

20 changes: 10 additions & 10 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
version: 2
updates:
- package-ecosystem: pip
directory: "/"
schedule:
interval: daily
time: "04:00"
open-pull-requests-limit: 10
reviewers:
- frankie567
#version: 2
#updates:
#- package-ecosystem: pip
# directory: "/"
# schedule:
# interval: daily
# time: "04:00"
# open-pull-requests-limit: 10
# reviewers:
# - frankie567
40 changes: 20 additions & 20 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 14
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
# Issues with these labels will never be considered stale
exemptLabels:
- pinned
- security
- bug
- enhancement
- documentation
# Label to use when marking an issue as stale
staleLabel: stale
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false
## Number of days of inactivity before an issue becomes stale
#daysUntilStale: 14
## Number of days of inactivity before a stale issue is closed
#daysUntilClose: 7
## Issues with these labels will never be considered stale
#exemptLabels:
# - pinned
# - security
# - bug
# - enhancement
# - documentation
## Label to use when marking an issue as stale
#staleLabel: stale
## Comment to post when marking an issue as stale. Set to `false` to disable
#markComment: >
# This issue has been automatically marked as stale because it has not had
# recent activity. It will be closed if no further activity occurs. Thank you
# for your contributions.
## Comment to post when closing a stale issue. Set to `false` to disable
#closeComment: false
51 changes: 28 additions & 23 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,37 +21,42 @@ jobs:
python -m pip install --upgrade pip
pip install flit
flit install --deps develop
- uses: edgedb/setup-edgedb@v1
- name: Setup Edgedb
run: edgedb query "SELECT 'Hello from GitHub Actions'"

- name: Test with pytest
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
run: |
pytest --cov=fastapiusers_edgedb/
codecov
- name: Build and install it on system host
- name: Build and install flit on system host
run: |
flit build
flit install --python $(which python)
python test_build.py
release:
runs-on: ubuntu-latest
needs: test
if: startsWith(github.ref, 'refs/tags/')

steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: 3.7
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flit
flit install --deps develop
- name: Release on PyPI
env:
FLIT_USERNAME: ${{ secrets.FLIT_USERNAME }}
FLIT_PASSWORD: ${{ secrets.FLIT_PASSWORD }}
run: |
flit publish
# release:
# runs-on: ubuntu-latest
# needs: test
# if: startsWith(github.ref, 'refs/tags/')
#
# steps:
# - uses: actions/checkout@v3
# - name: Set up Python
# uses: actions/setup-python@v3
# with:
# python-version: 3.7
# - name: Install dependencies
# run: |
# python -m pip install --upgrade pip
# pip install flit
# flit install --deps develop
# - name: Release on PyPI
# env:
# FLIT_USERNAME: ${{ secrets.FLIT_USERNAME }}
# FLIT_PASSWORD: ${{ secrets.FLIT_PASSWORD }}
# run: |
# flit publish
13 changes: 0 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,5 @@
# FastAPI Users - Database adapter for EdgeDB

<p align="center">
<img src="https://raw.githubusercontent.com/frankie567/fastapi-users/master/logo.svg?sanitize=true" alt="FastAPI Users">
</p>

<p align="center">
<em>Ready-to-use and customizable users management for FastAPI</em>
</p>

[//]: # ([![build]&#40;https://github.com/fastapi-users/fastapi-users-db-edgedb/workflows/Build/badge.svg&#41;]&#40;https://github.com/fastapi-users/fastapi-users/actions&#41;)
[//]: # ([![codecov]&#40;https://codecov.io/gh/fastapi-users/fastapi-users-db-edgedb/branch/master/graph/badge.svg&#41;]&#40;https://codecov.io/gh/fastapi-users/fastapi-users-db-edgedb&#41;)
[//]: # ([![PyPI version]&#40;https://badge.fury.io/py/fastapi-users-db-edgedb.svg&#41;]&#40;https://badge.fury.io/py/fastapi-users-db-edgedb&#41;)
[//]: # ([![Downloads]&#40;https://pepy.tech/badge/fastapi-users-db-edgedb&#41;]&#40;https://pepy.tech/project/fastapi-users-db-edgedb&#41;)

---

**Documentation**: <a href="https://fastapi-users.github.io/fastapi-users/" target="_blank">https://fastapi-users.github.io/fastapi-users/</a>
Expand Down
2 changes: 1 addition & 1 deletion fastapiusers_edgedb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from fastapiusers_edgedb import user_api

__version__ = "0.2.0"
__version__ = "0.2.1"


class EdgeDBUserDatabase(Generic[UP, ID], BaseUserDatabase[UP, ID]):
Expand Down

0 comments on commit eee32e3

Please sign in to comment.