File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,10 +3,9 @@ name: Publish package to PyPi
33on :
44 push :
55 tags :
6- - ' * '
6+ - " * "
77
88jobs :
9-
109 push :
1110 runs-on : ubuntu-latest
1211
@@ -18,14 +17,13 @@ jobs:
1817 with :
1918 python-version : 3.12
2019
21- - name : Install pip
22- run : pip install -r requirements/pip.txt
23-
24- - name : Install Dependencies
25- run : pip install setuptools wheel
20+ - name : Install uv
21+ uses : astral-sh/setup-uv@v7
22+ with :
23+ enable-cache : true
2624
2725 - name : Build package
28- run : python setup.py sdist bdist_wheel
26+ run : uv build
2927
3028 - name : Publish to PyPi
3129 uses : pypa/gh-action-pypi-publish@release/v1
Original file line number Diff line number Diff line change 11include LICENSE.txt
22include README.rst
3- include requirements/base.in
43recursive-include edx_repo_tools *.html *.png *.gif *js *.css *jpg *jpeg *svg *py
5- include requirements/constraints .txt
4+ include requirements/common_constraints .txt
Original file line number Diff line number Diff line change @@ -7,23 +7,19 @@ name = "edx-repo-tools"
77dynamic = [" version" ]
88description = " This repo contains a number of tools Open edX uses for working with GitHub repositories."
99readme = " README.rst"
10- license = {text = " Apache-2.0" }
10+ license = " Apache-2.0"
11+ keywords = [" openedx" , " repo" , " tools" ]
1112authors = [
12- {name = " edX" , email = " oscm@edx .org" }
13+ {name = " Open edX Project " , email = " oscm@openedx .org" }
1314]
14- keywords = [" edx" , " repo" , " tools" ]
1515classifiers = [
1616 " Environment :: Console" ,
1717 " Intended Audience :: Developers" ,
18- " License :: OSI Approved :: Apache Software License" ,
1918 " Programming Language :: Python :: 3" ,
20- " Programming Language :: Python :: 3.8" ,
21- " Programming Language :: Python :: 3.9" ,
22- " Programming Language :: Python :: 3.10" ,
2319 " Programming Language :: Python :: 3.11" ,
2420 " Programming Language :: Python :: 3.12" ,
2521]
26- requires-python = " >=3.8 "
22+ requires-python = " >=3.11 "
2723dependencies = [
2824 " appdirs" ,
2925 " backports.csv" ,
You can’t perform that action at this time.
0 commit comments