summaryrefslogtreecommitdiff
path: root/.github
Commit message (Collapse)AuthorAgeFilesLines
* CircleCI: add token for image redirector (#6695)HEADmainStefan van der Walt2023-05-171-0/+1
|
* try adding circleci artifact secret (#6679)Dan Schult2023-05-021-0/+1
|
* Remove Python 3.8 from CI (#6636)Ross Barnowski2023-04-144-7/+7
| | | | | | | | | * Drop Python 3.8 from test workflows. * Bump Pypy version to 3.9 in test workflow. * Bump Python to 3.10 in lint, mypy, randomly workflows. * Bump circleci to Python 3.10.
* Replacing codecov Python CLI with gh action. (#6635)Ross Barnowski2023-04-131-1/+3
| | | | | | | | | | | | * WIP: Try replacing codecov Python CLI with gh action. * Update .github/workflows/coverage.yml Co-authored-by: Dan Schult <dschult@colgate.edu> --------- Co-authored-by: Jarrod Millman <jarrod.millman@gmail.com> Co-authored-by: Dan Schult <dschult@colgate.edu>
* Test dispatching via nx-loopback backend (#6536)Jim Kitchen2023-03-281-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add tests for nx._dispatch decorator The dispatch functionality is used to delegate graph computations to a different backend. Because those backends are not part of NetworkX, testing the dispatching feature was not originally added, relying instead on the other backends (e.g. graphblas-algorithms) to verify the dispatch functionality is working. This change creates a "loopback" backend where NetworkX dispatches to itself for the sole purpose of exercising the dispatching machinery. In one incarnation, various tests are augmented to use the LoopbackGraph family and force loopback dispatching to occur as normal usage would. A second incarnation forces *all* tests to run in dispatch mode but use of a different _dispatch decorator. This mode is triggered for all of pytest, so it must be tested by the CI system specifically. * Update CI to hopefully run dispatching auto tests * Formatting * More formatting fixes * Better comments explaining dispatching tests
* Remove pdf latex builds of docs (#5572)Mridul Seth2023-02-281-4/+0
| | | MAINT: Remove pdf latex builds of docs
* Reset deploy-action param names for latest version. (#6451)Ross Barnowski2023-02-271-7/+7
|
* Bump gh-pages deploy bot version. (#6446)Ross Barnowski2023-02-231-1/+1
| | | | Should get rid of deprecation warning in the actions log due to GH bumping the supported node version.
* Fix documentation deployment (#6330)Jarrod Millman2023-01-041-1/+1
|
* Update GH actions (#6280)Jarrod Millman2022-12-146-12/+12
|
* Test on Python 3.11 (#6159)Jarrod Millman2022-10-311-3/+3
|
* Use org funding.ymlJarrod Millman2022-10-121-2/+0
|
* Support Python 3.11 (#6023)Jarrod Millman2022-10-081-2/+2
|
* Only run scheduled pytest-randomly job in main repo. (#5993)Ross Barnowski2022-09-221-0/+1
| | | Prevents this job from running on forks.
* Add concurrency hook to cancel jobs on new push. (#5986)Ross Barnowski2022-09-154-0/+16
| | | See: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-using-a-fallback-value
* Update precommit hooks (#5923)Jarrod Millman2022-08-096-201/+202
|
* Add direct link to github networkx org sponsorship (#5843)Mridul Seth2022-07-051-0/+1
|
* CI: add explicit path while installing pygraphviz wheels on macOS in GHA (#5805)Mridul Seth2022-06-211-3/+11
| | | Fixes installation of pygraphviz on macOS-latest in github actions
* Remove pyyaml dependency (#5763)Jarrod Millman2022-06-211-2/+0
| | | | | | | | * Remove pyyaml dependency * Make mypy happy. Co-authored-by: Ross Barnowski <rossbar@berkeley.edu> Co-authored-by: Mridul Seth <seth.mridul@gmail.com>
* CI: add pytest-randomly workflow. (#4553)Ross Barnowski2022-06-131-0/+27
| | | | | | | | | | | | | | | | * Move random test order to scheduled workflow. * Add missing jobs keyword. * bump to py3.9 and retrigger build * run the workflow in the PR * fix path to requirements * remove action run from PRs, just run on a schedule Co-authored-by: Mridul Seth <mail@mriduls.com> Co-authored-by: Mridul Seth <seth.mridul@gmail.com>
* Add durations flag to coverage run on CI. (#5718)Ross Barnowski2022-06-091-1/+1
| | | | This is the longest-running job so it'd be good to have a bit more introspection.
* Revert "Add workaround for pytest failures on 3.11b2" (#5717)Ross Barnowski2022-06-091-3/+1
| | | | | Revert "Add workaround for pytest failures on 3.11-beta2 (#5680)" This reverts commit 4564a7b9f5cafef7ec192ab50df0ec6a2ec8745c.
* Add workaround for pytest failures on 3.11-beta2 (#5680)Ross Barnowski2022-06-011-1/+3
|
* Fix doc deployJarrod Millman2022-05-181-1/+1
|
* Build docs with Py 3.9 (#5632)Jarrod Millman2022-05-121-1/+1
| | | | Rasterio doesn't have a wheel for Python 3.10 yet and we don't want to manually build it.
* Use new ubunut LTS release (#5630)Jarrod Millman2022-05-123-5/+5
|
* Update GH actions (#5622)Jarrod Millman2022-05-105-19/+18
|
* Test on 3.11-dev (#5339)Jarrod Millman2022-02-191-12/+12
|
* Use pytest-mpl (#4579)Jarrod Millman2022-02-121-3/+16
| | | | | | | | | | | | | | | | | | | | | | | * Use pytest-mpl * Try circleci * New * Fix * Fix test * Add documentation * Install default requirments on Circle CI * Install pytest on circle CI * Update python image * Test house w/ colors Co-authored-by: Mridul Seth <mail@mriduls.com>
* Add Mypy type checking infrastructure (#5127)Ross Barnowski2021-11-171-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add minimal mypy configuration file. * Add mypy workflow to GH. * Properly import sentinels from traversal.edgedfs. * mypy doesn't like variables named \"e\". * Rm annotations from single function. * Fix name collisions in test suite. Make sure all tests have unique names. * Rm unused random seed in test setup. * Rm redundant __all__ specification. * Silence mypy error from sum(). Mypy bug? * Fix tsp test instantiation nit. * \"type: ignore\" to suppress conditional fn sigature errors. * Remaining \"type: ignore\" to appease mypy. * Configure mypy to ignore inheritance issues. * Update exclude conf for CI. - Add yaml - Reformat regex containing reportviews * Rm partial annotations from lukes.py. Fixes mypy errors due to unannotated code. * Reorg defaultdict to reduce type: ignore cruft. * Homogenize signatures for fns defined in conditionals. * err as varname only in exception catching. * Fix name collision in Bellman-Ford test suite.
* Test on Python 3.10 (#4807)Jarrod Millman2021-10-241-4/+4
| | | | | * Test on Python 3.10 * Fix tests
* Drop Py37 (#5143)Jarrod Millman2021-10-232-5/+5
| | | | | | | | | | | | | | | | | | | * Drop Py37 * XML serialization issue * Use math.comb Co-authored-by: Simone Gasperini <simone.gasperini2@studio.unibo.it> * Run pyupgrade --py38-plus * Run black * More documentation * Deprecate euclidean Co-authored-by: Simone Gasperini <simone.gasperini2@studio.unibo.it>
* Update FUNDING.ymlJarrod Millman2021-10-071-1/+1
|
* Create FUNDING.ymlJarrod Millman2021-10-051-0/+1
|
* CI/MAINT: drop gdal tests (#5068)Ross Barnowski2021-09-072-8/+2
| | | | | | | | | * Unpin gdal. * Try pinning to 3.3 * Pin setuptools instead. * remove gdal from workflows
* Remove default dependencies (#4967)Jarrod Millman2021-07-233-7/+7
| | | | | * Remove default dependencies * Update release notes
* Bump release versionJarrod Millman2021-06-221-5/+1
|
* Remove decorator dependency (#4739)Kelly Boothby2021-06-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * added argmap decorator * removed most dependency on decorator * removed last reference to decorator? * Made the compilation of argmap-decorated functions lazy to reduce import time. * black * reworked try_finally to make cleanup cleaner * first pass at documentation; general cleanup * incorporated dschult's comments * rest formatted docstrings * added unit tests and fixed a few bugs that cropped up * Apply suggestions from code review Co-authored-by: Ross Barnowski <rossbar@berkeley.edu> Co-authored-by: Dan Schult <dschult@colgate.edu> * Exapnd docstrings for decorators.py * * refactored try_finally into a keyword-only argument * more tweaks to documentation re: @stefanv's comments * additional unit test for signature-clobbering decorators * spellcheck my txt and expand new test to help me grok it * rehash docstrings for sphinx * rewrite docs to provide some examples where argmap used without @argmap * doc tweak * last touches * documentation clarifications * run black * doc review * remove decorator module from github workflows and INSTALL.rst * add text to release_dev to describe highlights and improvements here Co-authored-by: Ross Barnowski <rossbar@berkeley.edu> Co-authored-by: Dan Schult <dschult@colgate.edu>
* Fix conda instructions (#4884)Jarrod Millman2021-06-091-2/+2
| | | | | | | | | | | | | | | * Fix conda instructions * New idea * fix to have conda avoid -r in requirements.txt and avoid ~=2.12 which is pip specific * Hopefully fix macos pypy loading * try again without wheel? * Avoid dependencies on PyPy Co-authored-by: Dan Schult <dschult@colgate.edu>
* Remove mayavi and cartopy dependencies (#4800)Jarrod Millman2021-05-131-8/+0
|
* Update CI to use main (#4651)Jarrod Millman2021-03-043-8/+8
|
* Pygraphviz choco (#4583)Jarrod Millman2021-02-021-10/+28
| | | | | | | | | | | * Require pygraphviz 1.7 * Test with choco on Windows * close handle before unlinking (windows). * Update to 1.7 Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
* Test Windows via GH actions (#4567)Jarrod Millman2021-01-263-29/+5
| | | | | | | * Test Windows via GH actions * Drop pointless venv creation * Fix
* use issue templates to redirect to discussions tab, add a bug report ↵Mridul Seth2021-01-062-0/+35
| | | | | | | template (#4524) * use issue templates to redirect to discussions tab, add a bug report template * issue_template config
* Setup cross-repo doc deploy via actions. (#4480)Ross Barnowski2021-01-061-10/+37
| | | | | | | | | | | | | | * Setup cross-repo doc deploy via actions. * Update deploy recipe. * Remove unused venv * Add notes about deploy key * Add git config info to deploy action. * Fix typo * Remove unnecessary nojekyll. * Fix xcb display not found error.
* Run pypy tests separately (#4512)Jarrod Millman2021-01-021-1/+29
|
* Drop Py3.6 support per NEP 29 (#4469)Jarrod Millman2020-12-171-3/+3
|
* Reorganize tests (#4467)Jarrod Millman2020-12-165-120/+106
|
* Use xetex for uft8 latex backend (#4326)Jon Crall2020-12-031-1/+2
| | | Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
* Install vtk before mayaviJarrod Millman2020-11-151-3/+1
|