Skip to content

Commit

Permalink
Merge branch 'master' into cse_new_fields
Browse files Browse the repository at this point in the history
  • Loading branch information
faucomte97 committed May 23, 2024
2 parents a303570 + 302e924 commit 1aeb1cd
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish-python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.8"
architecture: "x64"
Expand Down Expand Up @@ -46,8 +46,8 @@ jobs:
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
packages_dir: cfl_common/dist/
skip_existing: true
packages-dir: cfl_common/dist/
skip-existing: true
- name: Trigger staging deployment
uses: actions/github-script@v6
with:
Expand Down
2 changes: 1 addition & 1 deletion portal/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "6.44.7"
__version__ = "6.44.9"
14 changes: 11 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
from setuptools import find_packages, setup

with open("portal/__init__.py", "r") as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1)
version = re.search(
r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE
).group(1)

try:
from semantic_release import setup_hook
Expand All @@ -17,6 +19,8 @@
setup(
name="codeforlife-portal",
version=version,
long_description=open("README.md", "r").read(),
long_description_content_type="text/markdown",
packages=find_packages(),
include_package_data=True,
install_requires=[
Expand All @@ -32,7 +36,7 @@
"reportlab==3.6.13",
"django-formtools==2.2",
"django-otp==1.0.2", # we needed to fix this due to a wide ranged dependency in django-two-factor-auth
"requests==2.32.0",
"requests==2.32.2",
"django-treebeard==4.3.1",
"django-sekizai==2.0.0",
"django-classy-tags==2.0.0",
Expand All @@ -46,6 +50,10 @@
"setuptools==65.5.1",
"django-import-export",
],
classifiers=["Programming Language :: Python", "Programming Language :: Python :: 3.8", "Framework :: Django"],
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Framework :: Django",
],
zip_safe=False,
)

0 comments on commit 1aeb1cd

Please sign in to comment.