Skip to content
Open
Show file tree
Hide file tree
Changes from 26 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
2295571
Update pandas, tabulate, requests to latest version
HafeezOJ Jun 11, 2025
4f1ef75
Bump version to 0.6.0
HafeezOJ Jun 11, 2025
5822385
Change author to Research Engagement (University of Arizona Libraries)
HafeezOJ Jun 12, 2025
d495cd5
Clean requirements.txt
HafeezOJ Jun 16, 2025
8201e9c
Update docs conf.py author and version
HafeezOJ Jun 16, 2025
061501f
Update doc requirements.txt
HafeezOJ Jun 17, 2025
f0800f5
Update pypi-publish workflow to python 3.13
HafeezOJ Jun 17, 2025
733abeb
Use matrix strategy to run python 3.9-3.13
HafeezOJ Jun 17, 2025
b901a0c
Update author to UAL-RE in readthedocs
HafeezOJ Jun 17, 2025
078723d
Remove python 3.9 and 3.10 from matrix strategy
HafeezOJ Jun 17, 2025
637c5b2
Remove python 3.9 and 3.10 from matrix strategy of python-package
HafeezOJ Jun 17, 2025
2eb156f
Remove ambiguity from python-package
HafeezOJ Jun 17, 2025
e4fa200
Install setuptools in python-package workflow
HafeezOJ Jun 18, 2025
a6ead32
Remove wheel from python-package workflow
HafeezOJ Jun 18, 2025
a99720b
Remove setuptools from python-package workflow
HafeezOJ Jun 18, 2025
59698f2
Install setuptools for python 3.12 and 3.13
HafeezOJ Jun 18, 2025
990d8f4
Bring back version update documentation to requirements.txt
HafeezOJ Jun 18, 2025
9f28498
List dependencies in workflow environment
HafeezOJ Jun 18, 2025
db5151c
Install pandas for python 3.12 and 3.13
HafeezOJ Jun 18, 2025
59e8949
Install requirements in python-package workflow
HafeezOJ Jun 18, 2025
df1a458
Remove double installation of pandas
HafeezOJ Jun 18, 2025
22a9755
Update Sphinx GitHub action to 8.2.3
HafeezOJ Jun 21, 2025
eecdb33
Update Sphinx requirement to >=8.2.0
HafeezOJ Jun 21, 2025
45efaa3
Specify Sphinx requirements compatible with python 3.9 in requirement…
HafeezOJ Jun 21, 2025
2f0ba8f
Make python 3.11 minimum python requirement
HafeezOJ Jun 24, 2025
ab19452
Upgrade readthedoc build os to ubuntu 22.04 and fix python to 3.11
HafeezOJ Jun 24, 2025
d131a9c
Update issue and PR templates to match the ReBACH workflow
zoidy Jul 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,17 @@ on:
jobs:
package-n-publish:
runs-on: ubuntu-latest
strategy:
matrix:
python_version: ["3.11", "3.12", "3.13"]

steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python_version }}
uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: "${{ matrix.python_version }}"
- name: Install PyPI dependencies
run: |
python -m pip install --user --upgrade setuptools wheel
Expand Down
16 changes: 11 additions & 5 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,25 @@ jobs:
if: "!contains(github.event.head_commit.message, 'docs only')"
strategy:
matrix:
python-version: ['3.9', '3.10']
python_version: ["3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python_version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
python-version: ${{ matrix.python_version }}
- name: Install setuptools for python 3.12 and 3.13
if: matrix.python_version != '3.11'
run: |
python -m pip install setuptools
python -m pip install -r requirements.txt
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest pytest-cov
python setup.py install
python -m pip list
- name: Test with pytest
run: |
pytest --cov-report term-missing --cov-config=.coveragerc --cov=redata tests
2 changes: 1 addition & 1 deletion .github/workflows/sphinx-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ jobs:
- name: Checkout redata-commons
uses: actions/checkout@v2
- name: Sphinx build
uses: ammaraskar/sphinx-action@master
uses: ammaraskar/sphinx-action@8.2.3
with:
docs-folder: "docs/"
4 changes: 2 additions & 2 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ version: 2

# Set the version of Python and other tools you might need
build:
os: ubuntu-20.04
os: ubuntu-22.04
tools:
python: "3.9"
python: "3.11"
# You can also specify other tool versions:
# nodejs: "16"
# rust: "1.55"
Expand Down
8 changes: 4 additions & 4 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
sphinx>=5.0.0
sphinx-rtd-theme==1.0.0
sphinx-autodoc-typehints==1.18.3
sphinx>=8.0.0
sphinx-rtd-theme==3.0.2
sphinx-autodoc-typehints==3.2.0

# for logger module
pandas==1.4.3
pandas==2.2.3

4 changes: 1 addition & 3 deletions docs/source/authors.rst
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
Authors
-------

- Yan Han. (`@yhan818`_) -
`University of Arizona Libraries`_, `Research Engagement`_
- `University of Arizona Libraries`_, `Research Engagement`_

See also the list of :repo:`contributors <contributors>` who participated in this project.

.. _@yhan818: http://www.github.com/yhan818
.. _University of Arizona Libraries: https://github.com/ualibraries
.. _Research Engagement: https://github.com/UAL-RE
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@

project = 'redata-commons'
copyright = '2022, Arizona Board of Regents'
author = 'Yan Han, UA Research Data Repository (ReDATA) Team'
author = 'Research Engagement (University of Arizona Libraries)'

# The full version, including alpha/beta/rc tags
release = 'v0.5.0'
release = 'v0.6.0'


# -- General configuration ---------------------------------------------------
Expand Down
13 changes: 8 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@

# See dependencies' websites for version upgrade details
# 2021-04: pandas==1.2.3
# 2022-07: pandas==1.4.3
pandas==1.4.3
# 2022-07: pandas==1.4.3
# 2025-06: pandas==2.2.3
pandas==2.2.3

# 2021-04: tabulate==0.8.3
# 2021-04: tabulate==0.8.3
# 2022-07: tabulate==0.8.10
tabulate==0.8.10
# 2025-06: tabulate==0.9.0
tabulate==0.9.0

# 2021-04: requests==2.25.1
# 2022-07: requests==2.31.0
requests==2.31.0
# 2025-06: requests==2.32.3
requests==2.32.3


11 changes: 5 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,24 @@

setup(
name='redata',
version='0.5.0',
version='0.6.0',
packages=find_namespace_packages(),
url='https://github.com/UAL-RE/redata-commons/',
project_urls={
'Source': 'https://github.com/UAL-RE/redata-commons/',
'Tracker': 'https://github.com/UAL-RE/redata-commons/issues',
},
license='MIT License',
author='Yan Han',
author_email='[email protected]',
author='Research Engagement (University of Arizona Libraries)',
author_email='[email protected]',
description='Commons code used by ReDATA software',
long_description=long_description,
long_description_content_type='text/markdown',
python_requires='>=3.8',
python_requires='>=3.11',
install_requires=requirements,
classifiers=[
'Development Status :: 4 - Beta',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9'
'Programming Language :: Python :: 3.11'
]
)