Skip to content

Commit 175388b

Browse files
authored
Merge pull request #618 from asmacdo/resurrection-2025
Resurrection 2025
2 parents af985d0 + bab620d commit 175388b

File tree

7 files changed

+14
-22
lines changed

7 files changed

+14
-22
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,35 +17,35 @@ jobs:
1717
fail-fast: false
1818
matrix:
1919
include:
20-
- python: "3.10"
20+
- python: "3.9"
2121
install_datalad: datalad
2222
# install_condor: condor
23-
# 20.04 for condor
24-
os: ubuntu-20.04
23+
# TODO 20.04 may be needed for condor
24+
os: ubuntu-22.04
2525
reproman_tests_deps: full
2626
reproman_tests_ssh: ssh
2727
reproman_tests_assume_ssp: ssp
2828
setup_slurm: slurm
29-
- python: "3.8"
29+
- python: "3.10"
3030
os: ubuntu-22.04
3131
# By default no logs will be output. This one is to test
3232
# with low level but dumped to /dev/null
3333
reproman_loglevel: INFO
3434
reproman_tests_deps: core
35-
- python: "3.9"
35+
- python: "3.11"
3636
os: ubuntu-22.04
3737
# By default no logs will be output. This one is to test
3838
# with low level but dumped to /dev/null
3939
reproman_loglevel: 2
4040
reproman_logtarget: /dev/null
4141
reproman_tests_deps: full-except-datalad
42-
- python: "3.9"
42+
- python: "3.12"
4343
os: ubuntu-22.04
4444
# must operate nicely with those env variables set
4545
set_http_proxy: http_proxy
4646
reproman_tests_deps: full-except-datalad
4747
reproman_tests_nonetwork: nonetwork
48-
- python: 3.8
48+
- python: "3.11"
4949
os: ubuntu-22.04
5050
reproman_tests_deps: full-except-datalad
5151
steps:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ tmp
1717
*.egg-info
1818
.eggs/
1919
*.py[coe]
20+
__pycache__/
2021
*.bak
2122
.#*
2223
.orig

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ internals and/or contributing to the project.
2727

2828
# Installation
2929

30-
ReproMan requires Python 3 (>= 3.8).
30+
ReproMan requires Python 3 (>= 3.9).
3131

3232
## Linux'es and OSX (Windows yet TODO) - via pip
3333

@@ -54,7 +54,7 @@ all necessary packages from that repository.
5454

5555
## Dependencies
5656

57-
Python 3.8+ **with header files** possibly needed to build some extensions without wheels. They are provided by `python3-dev` on
57+
Python 3.9+ **with header files** possibly needed to build some extensions without wheels. They are provided by `python3-dev` on
5858
debian-based systems or `python-devel` on Red Hat systems.
5959

6060
Our `setup.py` and corresponding packaging describes all necessary python dependencies.

reproman/distributions/redhat.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,8 +303,7 @@ def _find_all_sources(self):
303303
# Get all repo info from the system and store information for each
304304
# enabled repo in a RPMSource object.
305305
# '-y' included in case there are GPG keys to import
306-
out, _ = self._session.execute_command(['yum', '--verbose',
307-
'repolist', '-y'])
306+
out, _ = self._session.execute_command(['yum', 'repolist', '-y'])
308307
for line in out.splitlines():
309308
if line.startswith('Repo-'):
310309
key, value = line.split(':', 1)

reproman/tests/test_cmdline_main.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -53,17 +53,9 @@ def run_main(args, exit_code=0, expect_stderr=False):
5353
return stdout, stderr
5454

5555

56-
# TODO: switch to stdout for --version output
5756
def test_version():
5857
stdout, stderr = run_main(['--version'], expect_stderr=True)
59-
60-
# and output should contain our version, copyright, license
61-
62-
# https://hg.python.org/cpython/file/default/Doc/whatsnew/3.4.rst#l1952
63-
out = stdout if sys.version_info >= (3, 4) else stderr
64-
ok_startswith(out, 'reproman %s\n' % reproman.__version__)
65-
in_("Copyright", out)
66-
in_("Permission is hereby granted", out)
58+
ok_startswith(stdout, f'reproman {reproman.__version__}')
6759

6860

6961
def test_help_np():

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def findsome(subdir, extensions):
157157
# python3 -m pip install --user --upgrade setuptools wheel twine
158158
long_description_content_type='text/markdown',
159159
packages=reproman_pkgs,
160-
python_requires='>=3.8',
160+
python_requires='>=3.9',
161161
install_requires=requires['core'],
162162
extras_require=requires,
163163
entry_points={

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py27,py34
2+
envlist = py39,py310,py311,py312
33
#,flake8
44

55
[testenv]

0 commit comments

Comments
 (0)