Skip to content

Commit

Permalink
Update repo config and support 3.8 (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
csala committed Oct 7, 2020
1 parent 1e5177a commit cc27962
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 51 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/docs.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [3.6, 3.7]
python-version: [3.6, 3.7, 3.8]
os: [ubuntu-latest, macos-latest]

steps:
Expand Down
9 changes: 5 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
# Config file for automatic testing at travis-ci.org
dist: xenial
dist: bionic
language: python
python:
- 3.6
- 3.8
- 3.7
- 3.6

# Command to install dependencies
install:
- pip install -U tox-travis codecov

after_success: codecov

# Command to run tests
script: tox

after_success: codecov
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ test-readme: ## run the readme snippets
test: test-unit test-readme # test-tutorials ## test everything that needs test dependencies

.PHONY: test-devel
test-devel: lint docs ## test everything that needs development dependencies
test-devel: lint ## test everything that needs development dependencies

.PHONY: test-all
test-all: ## test using tox
Expand Down
17 changes: 9 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@
history = history_file.read()

install_requires = [
'matplotlib>=3.1.0,<4',
'numpy>=1.16.3,<1.18',
'pandas>=0.24.2,<0.26',
'pomegranate>=0.11.0,<0.12',
'scikit-learn>=0.21.1,<0.22',
'numpy>=1.15.4,<2',
'pandas>=0.23.4,<2',
'pomegranate>=0.13.0,<0.14',
'scikit-learn>=0.20,<0.24',
'scipy>=1.3.0,<2',
'torch>=1.1.0,<2',
'torchvision>=0.3.0',
Expand Down Expand Up @@ -77,11 +76,13 @@
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
],
description=(
'A framework to benchmark the performance of synthetic data generators '
'for non-temporal tabular data'),
'for non-temporal tabular data'
),
extras_require={
'dev': development_requires + tests_require,
'test': tests_require,
Expand All @@ -91,10 +92,10 @@
license='MIT license',
long_description=readme + '\n\n' + history,
long_description_content_type='text/markdown',
keywords='machine learning synthetic data benchmark generative models',
keywords='machine learning synthetic data generation benchmark generative models',
name='sdgym',
packages=find_packages(include=['sdgym', 'sdgym.*']),
python_requires='>=3.6,<3.8',
python_requires='>=3.6,<3.9',
setup_requires=setup_requires,
test_suite='tests',
tests_require=tests_require,
Expand Down
18 changes: 9 additions & 9 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
[tox]
envlist = py{36,37}, test-devel
envlist = py3{6,7,8}, test-devel

[travis]
python =
3.7: py37, test-devel
3.8: py38, test-devel
3.7: py37
3.6: py36

[gh-actions]
python =
3.7: py37, test-devel
3.8: py38, test-devel
3.7: py37
3.6: py36

[testenv]
passenv = CI TRAVIS TRAVIS_*
skipsdist = true
skip_install = true
commands_pre =
/usr/bin/env pip install .[test]
skipsdist = false
skip_install = false
extras = test
commands =
/usr/bin/env make test

[testenv:test-devel]
commands_pre =
/usr/bin/env pip install .[dev]
extras = dev
commands =
/usr/bin/env make test-devel

0 comments on commit cc27962

Please sign in to comment.