diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index e6a49e39..3ded2980 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -4,7 +4,7 @@ When reporting issues please include as much detail as possible about your operating environment, schemachange version and python version. Whenever possible, please -also include a brief, self-contained code example that demonstrates the problem. +also include a brief, self-contained code example that demonstrates the problem. We have included [issue templates for reporting bugs, requesting features and seeking clarifications.](https://github.com/Snowflake-Labs/schemachange/issues/new/choose) Choose the appropriate issue template to contribute to the repository. @@ -21,50 +21,50 @@ Thanks for your interest in contributing code to schemachange! 1. If you are a first-time contributor + Go to [Snowflake-Labs/Schemachange](https://github.com/Snowflake-Labs/schemachange) and click the "fork" button to create your own copy of the project. + [Clone](https://github.com/git-guides/git-clone) the project to your local computer - + ```shell git clone https://github.com/your-username/schemachange.git - + ``` - + + Change the directory - + ```shell cd schemachange - + ``` + Add upstream repository: ```shell git remote add upstream https://github.com/Snowflake-Labs/schemachange - + ``` - + + Now, `git remote -v` will show two [remote](https://github.com/git-guides/git-remote) repositories named: + `upstream`, which refers to the `schemachange` repository - + `origin`, which refers to your personal fork + + `origin`, which refers to your personal fork + [Pull](https://github.com/git-guides/git-pull) the latest changes from upstream, including tags: - + ```shell git checkout main git pull upstream main --tags - + ``` - + 3. Develop your contribution + Create a branch for the features you want to work on. Since the branch name will appear in the merge message, use a sensible name such as 'update-build-library-dependencies': - + ```shell git checkout -b update-build-library-dependencies ``` - + + Commit locally as you progress ( [git add](https://github.com/git-guides/git-add) and [git commit](https://github.com/git-guides/git-commit) ). Use a properly formatted commit message. Be sure to document any changed behavior. 4. To submit your contribution + [Push](https://github.com/git-guides/git-push) your changes back to your fork on GitHub ```shell git push origin update-build-library-dependencies - + ``` + Go to GitHub. The new branch will show up with a green [Pull Request](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests#initiating-the-pull-request) button. Make sure the title and message are clear, concise and self explanatory. Then click the button to submit it. diff --git a/.github/workflows/dev-pytest.yml b/.github/workflows/dev-pytest.yml index 177d2f6f..215e3b67 100644 --- a/.github/workflows/dev-pytest.yml +++ b/.github/workflows/dev-pytest.yml @@ -4,9 +4,9 @@ on: push: branches: - dev - + workflow_dispatch: - + jobs: build: diff --git a/CHANGELOG.md b/CHANGELOG.md index 63e4b8fe..c707b5ef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,11 @@ All notable changes to this project will be documented in this file. *The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).* +## [3.6.2] - 2024-06-10 +### Changed +- Updated pandas version dependency +- Pinned NumPy version dependency + ## [3.6.1] - 2023-11-15 ### Added - Allow passing snowflake schema as config or CLI parameter diff --git a/requirements.txt b/requirements.txt index 5e8d0440..161d51b6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,5 @@ Jinja2~=3.0 -pandas~=1.3 +numpy=>=1.23.2,<2 +pandas>=1.5.3,<3 PyYAML~=6.0 snowflake-connector-python>=2.8,<4.0 diff --git a/setup.cfg b/setup.cfg index b3f8ec01..66a0f9bc 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = schemachange -version = 3.6.1 +version = 3.6.2 description = A Database Change Management tool for Snowflake long_description = file: README.md long_description_content_type = text/markdown @@ -18,7 +18,8 @@ classifiers = packages = schemachange install_requires = jinja2~=3.0 - pandas~=1.3 + numpy>=1.23.2,<2 + pandas>=1.5.3,<3 pyyaml~=6.0 snowflake-connector-python>=2.8,<4.0 python_requires = >=3.8