{"id":22144028,"url":"https://github.com/pytask-dev/pytask-environment","last_synced_at":"2025-07-26T01:31:02.757Z","repository":{"id":40558891,"uuid":"297162461","full_name":"pytask-dev/pytask-environment","owner":"pytask-dev","description":"Detect changes in your pytask environment and abort a project build.","archived":false,"fork":false,"pushed_at":"2024-11-18T19:43:52.000Z","size":105,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-11-18T20:44:28.855Z","etag":null,"topics":["pytask"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pytask-dev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-20T20:58:30.000Z","updated_at":"2021-11-27T14:24:36.000Z","dependencies_parsed_at":"2023-12-25T20:24:51.480Z","dependency_job_id":"6e00591f-cc66-4ba6-ac4e-b043fef73496","html_url":"https://github.com/pytask-dev/pytask-environment","commit_stats":{"total_commits":24,"total_committers":3,"mean_commits":8.0,"dds":0.5,"last_synced_commit":"2a60aa451f11533d7a2df1f77318bfbb3b9cbf34"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pytask-dev%2Fpytask-environment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pytask-dev%2Fpytask-environment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pytask-dev%2Fpytask-environment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pytask-dev%2Fpytask-environment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pytask-dev","download_url":"https://codeload.github.com/pytask-dev/pytask-environment/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227635409,"owners_count":17796972,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["pytask"],"created_at":"2024-12-01T22:18:08.874Z","updated_at":"2024-12-01T22:18:09.677Z","avatar_url":"https://github.com/pytask-dev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pytask-environment\n\n[![PyPI](https://img.shields.io/pypi/v/pytask-environment?color=blue)](https://pypi.org/project/pytask-environment)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pytask-environment)](https://pypi.org/project/pytask-environment)\n[![image](https://img.shields.io/conda/vn/conda-forge/pytask-environment.svg)](https://anaconda.org/conda-forge/pytask-environment)\n[![image](https://img.shields.io/conda/pn/conda-forge/pytask-environment.svg)](https://anaconda.org/conda-forge/pytask-environment)\n[![PyPI - License](https://img.shields.io/pypi/l/pytask-environment)](https://pypi.org/project/pytask-environment)\n[![image](https://img.shields.io/github/actions/workflow/status/pytask-dev/pytask-environment/main.yml?branch=main)](https://github.com/pytask-dev/pytask-environment/actions?query=branch%3Amain)\n[![image](https://codecov.io/gh/pytask-dev/pytask-environment/branch/main/graph/badge.svg)](https://codecov.io/gh/pytask-dev/pytask-environment)\n[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/pytask-dev/pytask-environment/main.svg)](https://results.pre-commit.ci/latest/github/pytask-dev/pytask-environment/main)\n[![image](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n\n______________________________________________________________________\n\npytask-environment allows you to detect changes in your pytask environment and abort a\nproject build.\n\n## Installation\n\npytask-environment is available on [PyPI](https://pypi.org/project/pytask-environment)\nand [Anaconda.org](https://anaconda.org/conda-forge/pytask-environment). Install it with\n\n```console\n$ pip install pytask-environment\n\n# or\n\n$ conda install -c conda-forge pytask-environment\n```\n\n## Usage\n\nIf the user attempts to build the project with `pytask build` and the Python version has\nbeen cached in the database in a previous run, an invocation with a different\nenvironment will produce the following command line output.\n\n![image](_static/error.png)\n\nRunning\n\n```console\n$ pytask --update-environment\n```\n\nwill update the information on the environment.\n\nTo disable either checking the path or the version, set the following configuration to a\nfalsy value.\n\n```toml\n[tool.pytask.ini_options]\ncheck_python_version = false  # true by default\n\ncheck_environment = false  # true by default\n```\n\n## Future development\n\nThe plugin might be further extended to compare the current environment against an\n`environment.yml` or a list of packages and versions to ensure that the environment is\nnot altered.\n\n## Changes\n\nConsult the [release notes](CHANGES.md) to find out about what is new.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpytask-dev%2Fpytask-environment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpytask-dev%2Fpytask-environment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpytask-dev%2Fpytask-environment/lists"}