Skip to content

Commit

Permalink
Merge pull request #130 from jGaboardi/updates_
Browse files Browse the repository at this point in the history
Updates supported Py versions, etc.
  • Loading branch information
jGaboardi authored Jan 23, 2022
2 parents c7cc9ff + 5dc886c commit f60779d
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 24 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
unittests:
name: micromamba (${{ matrix.os }}, ${{ matrix.environment-file }})
runs-on: ${{ matrix.os }}
env:
RUN_TESTS: pytest -v nhgisxwalk --cov nhgisxwalk --doctest-modules --cov-config .coveragerc --cov-report xml
timeout-minutes: 10
strategy:
matrix:
Expand All @@ -46,12 +48,12 @@

- name: run tests - bash
shell: bash -l {0}
run: pytest -v nhgisxwalk --cov=nhgisxwalk --doctest-modules --cov-config=.coveragerc --cov-report=xml
run: ${{ env.RUN_TESTS }}
if: matrix.os != 'windows-latest'

- name: run tests - powershell
shell: powershell
run: pytest -v nhgisxwalk --cov=nhgisxwalk --doctest-modules --cov-config=.coveragerc --cov-report=xml
run: ${{ env.RUN_TESTS }}
if: matrix.os == 'windows-latest'

- name: codecov
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/psf/black
rev: 20.8b1
rev: 21.12b0
hooks:
- id: black
language_version: python3.9
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ This pacakge allows for the generation of temporal crosswalks of census geograph

## Installation

Currently `nhgisxwalk` officially supports Python [3.7](https://docs.python.org/3.7/), [3.8](https://docs.python.org/3.8/), and [3.9](https://docs.python.org/3.9/). Please make sure that you are operating in a Python >= 3.7 environment. Install the most current development version of `nhgisxwalk` by running:
Currently `nhgisxwalk` officially supports Python [3.8](https://docs.python.org/3.8/), [3.9](https://docs.python.org/3.9/), and [3.10](https://docs.python.org/3.10/). Please make sure that you are operating in a Python >= 3.8 environment. Install the most current development version of `nhgisxwalk` by running:

```
$ pip install git+https://github.com/ipums/nhgisxwalk
Expand Down
18 changes: 0 additions & 18 deletions ci/37.yaml

This file was deleted.

3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ def setup_package():
"Topic :: Scientific/Engineering :: GIS",
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
Expand All @@ -90,7 +89,7 @@ def setup_package():
py_modules=[package],
install_requires=reqs,
zip_safe=False,
python_requires=">=3.7",
python_requires=">=3.8",
)


Expand Down
Binary file modified testing_data_subsets/nhgis_blk1990_blk2010_gj.zip
Binary file not shown.

0 comments on commit f60779d

Please sign in to comment.