Skip to content

Commit

Permalink
Merge pull request #1361 from martinholmer/update-env
Browse files Browse the repository at this point in the history
Update Tax-Calculator testing/build environments
  • Loading branch information
martinholmer authored May 12, 2017
2 parents 1819427 + fcf6096 commit a8cde66
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 64 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ sudo: false

language: python
python:
- "3.6"
- "3.5"
- "3.4"
- "2.7"

install:
Expand Down
4 changes: 1 addition & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@ environment:

matrix:
# Since appveyor is quite slow, we only use a single configuration
- PYTHON: "3.5"
- PYTHON: "3.6"
ARCH: "64"
NUMPY: "1.10"
PANDAS: "0.18"
CONDA_ENV: taxcalc-dev

init:
Expand Down
12 changes: 4 additions & 8 deletions conda.recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,16 @@ build:

requirements:
build:
- pytest
- setuptools
- python
- numpy >=1.11.2
- pandas >=0.18.0
- numpy >=1.12.1
- pandas >=0.20.1
- numba
- toolz
- six
run:
- pytest
- setuptools
- python
- numpy >=1.11.2
- pandas >=0.18.0
- numpy >=1.12.1
- pandas >=0.20.1
- numba
- toolz
- six
Expand Down
8 changes: 0 additions & 8 deletions distribution/upload.sh

This file was deleted.

26 changes: 0 additions & 26 deletions distribution/version_and_release.sh

This file was deleted.

10 changes: 4 additions & 6 deletions environment.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: taxcalc-dev
dependencies:
- pytest
- setuptools
- numpy >=1.11.2
- pandas >=0.18.0
- numpy >=1.12.1
- pandas >=0.20.1
- numba
- toolz
- six
Expand All @@ -12,5 +10,5 @@ dependencies:
- pep8
- pylint
- coverage
- pip:
- pytest-pep8
- pytest-pep8

1 change: 0 additions & 1 deletion read-the-docs/source/contributor_guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ Setup Git
.. code-block:: python
tax-calculator$ conda update conda
tax-calculator$ conda update anaconda
tax-calculator$ conda env update
If you've made it this far, you've successfully made a remote copy (a
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Software Development :: Libraries :: Python Modules'],
'tests_require': ['pytest']
}
Expand Down
10 changes: 0 additions & 10 deletions taxcalc/tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
# pylint: disable=missing-docstring

import os
import sys
import math
import filecmp
import tempfile
Expand Down Expand Up @@ -303,9 +302,6 @@ def test_weighted_share_of_total():
EPSILON = 1e-5


@pytest.mark.skipif((sys.version_info.major == 3 and
sys.version_info.minor == 4),
reason="name is string (not interval) in Python 3.4")
def test_add_income_bins():
dta = np.arange(1, 1e6, 5000)
dfx = pd.DataFrame(data=dta, columns=['expanded_income'])
Expand All @@ -327,9 +323,6 @@ def test_add_income_bins():
idx += 1


@pytest.mark.skipif((sys.version_info.major == 3 and
sys.version_info.minor == 4),
reason="name is string (not interval) in Python 3.4")
def test_add_income_bins_soi():
dta = np.arange(1, 1e6, 5000)
dfx = pd.DataFrame(data=dta, columns=['expanded_income'])
Expand All @@ -352,9 +345,6 @@ def test_add_income_bins_soi():
idx += 1


@pytest.mark.skipif((sys.version_info.major == 3 and
sys.version_info.minor == 4),
reason="name is string (not interval) in Python 3.4")
def test_add_exp_income_bins():
dta = np.arange(1, 1e6, 5000)
dfx = pd.DataFrame(data=dta, columns=['expanded_income'])
Expand Down

0 comments on commit a8cde66

Please sign in to comment.