Skip to content

Commit a6008d3

Browse files
authored
Merge pull request #29 from uc-cdis/feat/3.13
Python 3.13 update
2 parents 872b681 + b5765b9 commit a6008d3

File tree

9 files changed

+761
-536
lines changed

9 files changed

+761
-536
lines changed

.github/workflows/pypi.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: PyPI
2+
on:
3+
push:
4+
tags:
5+
- '*'
6+
jobs:
7+
PyPIPoetryPublish:
8+
name: PyPI Poetry Publish
9+
uses: uc-cdis/.github/.github/workflows/python_package_index_publish.yaml@master
10+
with:
11+
PYTHON_VERSION: '3.13'
12+
# This will attempt push to test PyPI first and only push to prod if it works
13+
DO_TEST_PUBLISH_FIRST: true
14+
secrets:
15+
PYPI_TEST_API_TOKEN: ${{ secrets.PYPI_TEST_API_TOKEN }}
16+
PYPI_PROD_API_TOKEN: ${{ secrets.PYPI_PROD_API_TOKEN }}

.travis.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

MANIFEST.in

Lines changed: 0 additions & 4 deletions
This file was deleted.

Pipfile

Lines changed: 0 additions & 13 deletions
This file was deleted.

Pipfile.lock

Lines changed: 0 additions & 454 deletions
This file was deleted.

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,16 @@
33
A Python module providing a Flask blueprint and associated functions for CTDS
44
microservices such as gdcapi.
55

6+
## Requirements
7+
8+
- Python **>= 3.13**
9+
- [Poetry](https://python-poetry.org/) for dependency management
10+
611
## Installation
712

813
Add this library to your project with:
914

10-
pipenv install cdis_oauth2client
15+
poetry add cdis_oauth2client
1116

1217
## Usage
1318

@@ -23,4 +28,4 @@ app.register_blueprint(cdis_oauth2client.blueprint)
2328

2429
To start development of this library, run:
2530

26-
pipenv install --dev
31+
poetry install --with dev

poetry.lock

Lines changed: 713 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
[project]
2+
name = "cdis-oauth2client"
3+
version = "2.0.0"
4+
description = "Flask blueprint and utilities for oauth2 client"
5+
authors = [
6+
{name = "CTDS UChicago",email = "cdis@uchicago.edu"}
7+
]
8+
license = {text = "Apache-2.0"}
9+
readme = "README.md"
10+
requires-python = ">=3.13"
11+
dependencies = [
12+
"flask (>=1.1.1)",
13+
"requests (>=2.5)",
14+
"cdispyutils (>=1.0.4)"
15+
]
16+
17+
[dependency-groups]
18+
dev = [
19+
"pytest (>=9.0.2,<10.0.0)"
20+
]
21+
22+
23+
[build-system]
24+
requires = ["poetry-core>=2.0.0,<3.0.0"]
25+
build-backend = "poetry.core.masonry.api"

setup.py

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)