Skip to content

Conversation

@janosh
Copy link
Collaborator

@janosh janosh commented May 25, 2022

tests/test_package.py only contains 1 test for now: test_egg_sources() which checks we're correctly packaging all JSON files under aviary/.

Should prevent issues like #45 from happening again.

@janosh janosh added testing Test all the things code quality Quality assurance packaging setup.py, pip/conda related stuff labels May 25, 2022
checks that we're correctly packaging data files
@janosh janosh force-pushed the test-pkg-includes-all-json branch from f342b74 to 8b84866 Compare May 25, 2022 14:33
@janosh janosh force-pushed the test-pkg-includes-all-json branch from 7b609d3 to 77c66f9 Compare May 25, 2022 19:01
@janosh janosh force-pushed the test-pkg-includes-all-json branch from 82a9b2b to fcd52d9 Compare June 14, 2022 10:43
@janosh janosh merged commit 59b8017 into main Jun 14, 2022
@janosh janosh deleted the test-pkg-includes-all-json branch June 14, 2022 11:56
@janosh
Copy link
Collaborator Author

janosh commented Jun 14, 2022

For later reference, there were still JSON files missing from the package after #45. This PR should have fixed it for real.

janosh added a commit that referenced this pull request Jun 16, 2022
* add module tests/test_package.py with test_egg_sources()

checks that we're correctly packaging data files

* refactor test_egg_sources() to not use glob(root_dir=str)

was only added in py3.10

* fix including JSON data files in the package (for real this time)
CompRhys pushed a commit that referenced this pull request Jun 30, 2022
* add module tests/test_package.py with test_egg_sources()

checks that we're correctly packaging data files

* refactor test_egg_sources() to not use glob(root_dir=str)

was only added in py3.10

* fix including JSON data files in the package (for real this time)
CompRhys pushed a commit that referenced this pull request Jun 30, 2022
* add module tests/test_package.py with test_egg_sources()

checks that we're correctly packaging data files

* refactor test_egg_sources() to not use glob(root_dir=str)

was only added in py3.10

* fix including JSON data files in the package (for real this time)
CompRhys pushed a commit that referenced this pull request Jul 1, 2022
* add module tests/test_package.py with test_egg_sources()

checks that we're correctly packaging data files

* refactor test_egg_sources() to not use glob(root_dir=str)

was only added in py3.10

* fix including JSON data files in the package (for real this time)
CompRhys pushed a commit that referenced this pull request Jul 1, 2022
* add module tests/test_package.py with test_egg_sources()

checks that we're correctly packaging data files

* refactor test_egg_sources() to not use glob(root_dir=str)

was only added in py3.10

* fix including JSON data files in the package (for real this time)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code quality Quality assurance packaging setup.py, pip/conda related stuff testing Test all the things

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants