From db094b25137641a505b4c4086fadfe58f46f7115 Mon Sep 17 00:00:00 2001 From: Konstantin Malanchev Date: Thu, 19 Dec 2024 13:57:48 -0500 Subject: [PATCH] copier update PPT 2.0.5 --- .copier-answers.yml | 3 ++- .github/ISSUE_TEMPLATE/README.md | 9 +++++++++ .github/workflows/README.md | 9 +++++++++ .github/workflows/asv-main.yml | 2 +- .github/workflows/asv-nightly.yml | 2 +- .github/workflows/asv-pr.yml | 2 +- .github/workflows/build-documentation.yml | 4 ++-- .github/workflows/pre-commit-ci.yml | 4 ++-- .github/workflows/publish-benchmarks-pr.yml | 2 +- .github/workflows/publish-to-pypi.yml | 2 +- .github/workflows/smoke-test.yml | 2 +- .github/workflows/testing-and-coverage.yml | 4 ++-- .pre-commit-config.yaml | 2 +- .readthedocs.yml | 2 +- benchmarks/asv.conf.json | 2 +- docs/index.rst | 5 +++++ 16 files changed, 40 insertions(+), 16 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/README.md create mode 100644 .github/workflows/README.md diff --git a/.copier-answers.yml b/.copier-answers.yml index 46199b6..8686887 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier -_commit: v2.0.3 +_commit: v2.0.5 _src_path: gh:lincc-frameworks/python-project-template author_email: brantd@uw.edu author_name: LINCC Frameworks @@ -22,3 +22,4 @@ python_versions: - '3.10' - '3.11' - '3.12' +- '3.13' diff --git a/.github/ISSUE_TEMPLATE/README.md b/.github/ISSUE_TEMPLATE/README.md new file mode 100644 index 0000000..46dc08e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/README.md @@ -0,0 +1,9 @@ +# Configurations + +Templates for various different issue types are defined in this directory +and a pull request template is defined as ``../pull_request_template.md``. Adding, +removing, and modifying these templates to suit the needs of your project is encouraged. + +For more information about these templates, look here: https://lincc-ppt.readthedocs.io/en/latest/practices/issue_pr_templating.html + +Or if you still have questions contact us: https://lincc-ppt.readthedocs.io/en/latest/source/contact.html \ No newline at end of file diff --git a/.github/workflows/README.md b/.github/workflows/README.md new file mode 100644 index 0000000..e34a71f --- /dev/null +++ b/.github/workflows/README.md @@ -0,0 +1,9 @@ +# Workflows + +The .yml files in this directory are used to define the various continuous +integration scripts that will be run on your behalf e.g. nightly as a smoke check, +or when you create a new PR. + +For more information about CI and workflows, look here: https://lincc-ppt.readthedocs.io/en/latest/practices/ci.html + +Or if you still have questions contact us: https://lincc-ppt.readthedocs.io/en/latest/source/contact.html \ No newline at end of file diff --git a/.github/workflows/asv-main.yml b/.github/workflows/asv-main.yml index 32c25cf..477ba59 100644 --- a/.github/workflows/asv-main.yml +++ b/.github/workflows/asv-main.yml @@ -8,7 +8,7 @@ on: branches: [ main ] env: - PYTHON_VERSION: "3.10" + PYTHON_VERSION: "3.11" ASV_VERSION: "0.6.4" WORKING_DIR: ${{github.workspace}}/benchmarks diff --git a/.github/workflows/asv-nightly.yml b/.github/workflows/asv-nightly.yml index 28b270a..ad6d162 100644 --- a/.github/workflows/asv-nightly.yml +++ b/.github/workflows/asv-nightly.yml @@ -9,7 +9,7 @@ on: workflow_dispatch: env: - PYTHON_VERSION: "3.10" + PYTHON_VERSION: "3.11" ASV_VERSION: "0.6.4" WORKING_DIR: ${{github.workspace}}/benchmarks NIGHTLY_HASH_FILE: nightly-hash diff --git a/.github/workflows/asv-pr.yml b/.github/workflows/asv-pr.yml index 4499eb9..e78bf42 100644 --- a/.github/workflows/asv-pr.yml +++ b/.github/workflows/asv-pr.yml @@ -15,7 +15,7 @@ concurrency: cancel-in-progress: true env: - PYTHON_VERSION: "3.10" + PYTHON_VERSION: "3.11" ASV_VERSION: "0.6.4" WORKING_DIR: ${{github.workspace}}/benchmarks ARTIFACTS_DIR: ${{github.workspace}}/artifacts diff --git a/.github/workflows/build-documentation.yml b/.github/workflows/build-documentation.yml index f19c5ef..fb7139e 100644 --- a/.github/workflows/build-documentation.yml +++ b/.github/workflows/build-documentation.yml @@ -21,10 +21,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up Python 3.10 + - name: Set up Python 3.11 uses: actions/setup-python@v5 with: - python-version: '3.10' + python-version: '3.11' - name: Install dependencies run: | sudo apt-get update diff --git a/.github/workflows/pre-commit-ci.yml b/.github/workflows/pre-commit-ci.yml index 533fca3..9875bbf 100644 --- a/.github/workflows/pre-commit-ci.yml +++ b/.github/workflows/pre-commit-ci.yml @@ -20,7 +20,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.10' + python-version: '3.11' - name: Install dependencies run: | sudo apt-get update @@ -32,5 +32,5 @@ jobs: extra_args: --all-files --verbose env: SKIP: "check-lincc-frameworks-template-version,no-commit-to-branch,check-added-large-files,validate-pyproject,sphinx-build,pytest-check" - - uses: pre-commit-ci/lite-action@v1.0.3 + - uses: pre-commit-ci/lite-action@v1.1.0 if: failure() && github.event_name == 'pull_request' && github.event.pull_request.draft == false \ No newline at end of file diff --git a/.github/workflows/publish-benchmarks-pr.yml b/.github/workflows/publish-benchmarks-pr.yml index 4a2311e..88947cc 100644 --- a/.github/workflows/publish-benchmarks-pr.yml +++ b/.github/workflows/publish-benchmarks-pr.yml @@ -27,7 +27,7 @@ jobs: echo "Conclusion: ${{ github.event.workflow_run.conclusion }}" echo "Event: ${{ github.event.workflow_run.event }}" - name: Download artifact - uses: dawidd6/action-download-artifact@v6 + uses: dawidd6/action-download-artifact@v7 with: name: benchmark-artifacts run_id: ${{ github.event.workflow_run.id }} diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index 2cbf586..ce18ecf 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -27,7 +27,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.10' + python-version: '3.11' - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/.github/workflows/smoke-test.yml b/.github/workflows/smoke-test.yml index 95c085c..9ddef99 100644 --- a/.github/workflows/smoke-test.yml +++ b/.github/workflows/smoke-test.yml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.9', '3.10', '3.11', '3.12'] + python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/testing-and-coverage.yml b/.github/workflows/testing-and-coverage.yml index 77ab6ea..a4fd914 100644 --- a/.github/workflows/testing-and-coverage.yml +++ b/.github/workflows/testing-and-coverage.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.9', '3.10', '3.11', '3.12'] + python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] steps: - uses: actions/checkout@v4 @@ -33,6 +33,6 @@ jobs: run: | python -m pytest --cov=nested_pandas --cov-report=xml - name: Upload coverage report to codecov - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 98297ab..34410d4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,7 +18,7 @@ repos: description: Clear output from Jupyter notebooks. files: \.ipynb$ exclude: ^docs/pre_executed - stages: [commit] + stages: [pre-commit] language: system entry: jupyter nbconvert --clear-output # Prevents committing directly branches named 'main' and 'master'. diff --git a/.readthedocs.yml b/.readthedocs.yml index b58534b..132adfa 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -9,7 +9,7 @@ version: 2 build: os: ubuntu-22.04 tools: - python: "3.10" + python: "3.11" # Build documentation in the docs/ directory with Sphinx sphinx: diff --git a/benchmarks/asv.conf.json b/benchmarks/asv.conf.json index 6d9df1b..1618d18 100644 --- a/benchmarks/asv.conf.json +++ b/benchmarks/asv.conf.json @@ -37,7 +37,7 @@ // The Pythons you'd like to test against. If not provided, defaults // to the current version of Python used to run `asv`. "pythons": [ - "3.10" + "3.11" ], // The matrix of dependencies to test. Each key is the name of a // package (in PyPI) and the values are version numbers. An empty diff --git a/docs/index.rst b/docs/index.rst index b46bfe2..a40d24a 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -19,10 +19,15 @@ is used internally to aid in scalability and performance. :align: center :alt: Example NestedFrame +<<<<<<< before updating Nested-Pandas is motivated by time-domain astronomy use cases, where we see typically two levels of information, information about astronomical objects and then an associated set of `N` measurements of those objects. Nested-Pandas offers a performant and memory-efficient package for working with these types of datasets. +======= + >> conda create env -n python=3.11 + >> conda activate +>>>>>>> after updating Core advantages being: