Skip to content

Commit

Permalink
Goodbye 3.7 and PFN in-house CI for OSS
Browse files Browse the repository at this point in the history
  • Loading branch information
kuenishi committed Jun 25, 2023
1 parent 03437d8 commit efe56a7
Show file tree
Hide file tree
Showing 11 changed files with 5 additions and 144 deletions.
34 changes: 0 additions & 34 deletions .pfnci/config.pbtxt

This file was deleted.

31 changes: 0 additions & 31 deletions .pfnci/docker/Dockerfile

This file was deleted.

10 changes: 0 additions & 10 deletions .pfnci/docker/Makefile

This file was deleted.

11 changes: 0 additions & 11 deletions .pfnci/script-old.sh

This file was deleted.

11 changes: 0 additions & 11 deletions .pfnci/script.sh

This file was deleted.

10 changes: 0 additions & 10 deletions .pfnci/test-old.sh

This file was deleted.

10 changes: 0 additions & 10 deletions .pfnci/test.sh

This file was deleted.

13 changes: 3 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ learning training with batteries included. It supports
## Dependency

- HDFS client and libhdfs for HDFS access
- CPython >= 3.6
- CPython >= 3.8

## Installation and Document build

Expand All @@ -31,13 +31,6 @@ $ make html
$ open build/html/index.html
```

Test
```sh
$ cd pfio
$ pip install .[test]
$ pytest tests/
```

## How to use

Please refer to the [official document](https://pfio.readthedocs.io) for more information about the usage.
Expand All @@ -49,8 +42,8 @@ Check [the official document](https://packaging.python.org/tutorials/packaging-p
Run tests locally:

```sh
$ pip install --user -e .[test]
$ pytest
$ pip install tox
$ tox
```

Bump version numbers in `pfio/version.py` .
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@
# -- Options for intersphinx extension ---------------------------------------

# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {'https://docs.python.org/': None}
# intersphinx_mapping = {'https://docs.python.org/': None}

# -- Options for todo extension ----------------------------------------------

Expand Down
2 changes: 0 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
'Operating System :: POSIX',
'Operating System :: POSIX :: Linux',

'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
Expand All @@ -56,7 +55,6 @@
'doc': ['sphinx', 'sphinx_rtd_theme'],
'bench': ['numpy>=1.19.5', 'torch>=1.9.0', 'Pillow<=8.2.0'],
},
python_requires=">=3.7",
# When updating install requires, docs/requirements.txt should be updated too
install_requires=['pyarrow>=6.0.0', 'boto3', 'deprecation', 'urllib3'],
include_package_data=True,
Expand Down
15 changes: 1 addition & 14 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,28 +1,15 @@
[tox]
envlist = py37,py38,py39,py310,py311,doc
envlist = py38,py39,py310,py311,doc

[testenv]
deps = .[test]
skipsdist = True
setenv =
HOME = "/root"
commands =
flake8 pfio tests
autopep8 -r pfio tests --diff
isort . --check --diff
pytest -W error::deprecation.UnsupportedWarning tests -s -v

# Rule out flake8 as wrong version (2.5.5) is installed somehow
[testenv:py37]
deps = .[test]
skipsdist = True
setenv =
HOME = "/root"
commands =
autopep8 -r pfio tests --diff
isort . --check --diff
pytest -W error::deprecation.UnsupportedWarning tests -s -v

[testenv:doc]
deps = .[doc]
skipsdist = True
Expand Down

0 comments on commit efe56a7

Please sign in to comment.