Code Monkey home page Code Monkey logo

gitpython-feedstock's Introduction

About gitpython-feedstock

Feedstock license: BSD-3-Clause

Home: https://github.com/gitpython-developers/GitPython

Package license: BSD-3-Clause

Summary: Python Git Library

Documentation: http://gitpython.readthedocs.org

Current build status

All platforms:

Current release info

Name Downloads Version Platforms
Conda Recipe Conda Downloads Conda Version Conda Platforms

Installing gitpython

Installing gitpython from the conda-forge channel can be achieved by adding conda-forge to your channels with:

conda config --add channels conda-forge
conda config --set channel_priority strict

Once the conda-forge channel has been enabled, gitpython can be installed with conda:

conda install gitpython

or with mamba:

mamba install gitpython

It is possible to list all of the versions of gitpython available on your platform with conda:

conda search gitpython --channel conda-forge

or with mamba:

mamba search gitpython --channel conda-forge

Alternatively, mamba repoquery may provide more information:

# Search all versions available on your platform:
mamba repoquery search gitpython --channel conda-forge

# List packages depending on `gitpython`:
mamba repoquery whoneeds gitpython --channel conda-forge

# List dependencies of `gitpython`:
mamba repoquery depends gitpython --channel conda-forge

About conda-forge

Powered by NumFOCUS

conda-forge is a community-led conda channel of installable packages. In order to provide high-quality builds, the process has been automated into the conda-forge GitHub organization. The conda-forge organization contains one repository for each of the installable packages. Such a repository is known as a feedstock.

A feedstock is made up of a conda recipe (the instructions on what and how to build the package) and the necessary configurations for automatic building using freely available continuous integration services. Thanks to the awesome service provided by Azure, GitHub, CircleCI, AppVeyor, Drone, and TravisCI it is possible to build and upload installable packages to the conda-forge anaconda.org channel for Linux, Windows and OSX respectively.

To manage the continuous integration and simplify feedstock maintenance conda-smithy has been developed. Using the conda-forge.yml within this repository, it is possible to re-render all of this feedstock's supporting files (e.g. the CI configuration files) with conda smithy rerender.

For more information please check the conda-forge documentation.

Terminology

feedstock - the conda recipe (raw material), supporting scripts and CI configuration.

conda-smithy - the tool which helps orchestrate the feedstock. Its primary use is in the construction of the CI .yml files and simplify the management of many feedstocks.

conda-forge - the place where the feedstock and smithy live and work to produce the finished article (built conda distributions)

Updating gitpython-feedstock

If you would like to improve the gitpython recipe or build a new package version, please fork this repository and submit a PR. Upon submission, your changes will be run on the appropriate platforms to give the reviewer an opportunity to confirm that the changes result in a successful build. Once merged, the recipe will be re-built and uploaded automatically to the conda-forge channel, whereupon the built conda packages will be available for everybody to install and use from the conda-forge channel. Note that all branches in the conda-forge/gitpython-feedstock are immediately built and any created packages are uploaded, so PRs should be based on branches in forks and branches in the main repository should only be used to build distinct package versions.

In order to produce a uniquely identifiable distribution:

  • If the version of a package is not being increased, please add or increase the build/number.
  • If the version of a package is being increased, please remember to return the build/number back to 0.

Feedstock Maintainers

gitpython-feedstock's People

Contributors

beckermr avatar conda-forge-admin avatar conda-forge-curator[bot] avatar github-actions[bot] avatar igortg avatar jakirkham avatar notestaff avatar ocefpaf avatar pelson avatar regro-cf-autotick-bot avatar shadowwalkersb avatar xhochy avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

gitpython-feedstock's Issues

MNT: The gitpython recipe has some lint :(

This is the friendly conda-forge-admin automated user.

I've ran the conda-smithy linter and found some lint in this feedstock ๐Ÿ˜ข.

Here is what I have got:

  • The recipe must have a build/number section.

Thanks!

3.1.25 broke local `conda smithy rerender` on windows

Before rerendering locally, I usually update all my dependencies. Since #61 was merged, I've been running into errors where gitpython seems to lock itself out of touching git.

(builder) C:\Users\[...]\Dev\conda-forge\scipy-feedstock>conda smithy rerender
INFO:conda_smithy.configure_feedstock:Downloading conda-forge-pinning-2022.01.08.19.53.23
INFO:conda_smithy.configure_feedstock:Extracting conda-forge-pinning to C:\Users\[...]\AppData\Local\Temp\tmp8navqa9w
Traceback (most recent call last):
  File "C:\Users\[...]\.conda\envs\builder\Scripts\conda-smithy-script.py", line 9, in <module>
    sys.exit(main())
  File "C:\Users\[...]\.conda\envs\builder\lib\site-packages\conda_smithy\cli.py", line 681, in main
    args.subcommand_func(args)
  File "C:\Users\[...]\.conda\envs\builder\lib\site-packages\conda_smithy\cli.py", line 486, in __call__
    self._call(args, tmpdir)
  File "C:\Users\[...]\.conda\envs\builder\lib\site-packages\conda_smithy\cli.py", line 491, in _call
    configure_feedstock.main(
  File "C:\Users\[...]\.conda\envs\builder\lib\site-packages\conda_smithy\configure_feedstock.py", line 2164, in main
    config = _load_forge_config(forge_dir, exclusive_config_file, forge_yml)
  File "C:\Users\[...]\.conda\envs\builder\lib\site-packages\conda_smithy\configure_feedstock.py", line 1842, in _load_forge_config
    remove_file_or_dir(os.path.join(forge_dir, old_file))
  File "C:\Users\[...]\.conda\envs\builder\lib\site-packages\conda_smithy\feedstock_io.py", line 70, in remove_file_or_dir
    return remove_file(filename)
  File "C:\Users\[...]\.conda\envs\builder\lib\site-packages\conda_smithy\feedstock_io.py", line 79, in remove_file
    touch_file(filename)
  File "C:\Users\[...]\.conda\envs\builder\lib\site-packages\conda_smithy\feedstock_io.py", line 65, in touch_file
    fh.write("")
  File "C:\Users\[...]\.conda\envs\builder\lib\contextlib.py", line 126, in __exit__
    next(self.gen)
  File "C:\Users\[...]\.conda\envs\builder\lib\site-packages\conda_smithy\feedstock_io.py", line 60, in write_file
    repo.index.add([filename])
  File "C:\Users\[...]\.conda\envs\builder\lib\site-packages\git\index\base.py", line 823, in add
    self.write(ignore_extension_data=not write_extension_data)
  File "C:\Users\[...]\.conda\envs\builder\lib\site-packages\git\index\base.py", line 221, in write
    lfd.commit()
  File "C:\Users\[...]\.conda\envs\builder\lib\site-packages\gitdb\util.py", line 359, in commit
    self._end_writing(successful=True)
  File "C:\Users\[...]\.conda\envs\builder\lib\site-packages\gitdb\util.py", line 384, in _end_writing
    remove(self._filepath)
  File "C:\Users\[...]\.conda\envs\builder\lib\site-packages\gitdb\util.py", line 83, in remove
    return _retry(os.remove, *args, **kwargs)
  File "C:\Users\[...]\.conda\envs\builder\lib\site-packages\gitdb\util.py", line 77, in _retry
    return func(*args, **kwargs)
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\[...]\\Dev\\conda-forge\\scipy-feedstock\\.git\\index'

I've made sure no other processes were running (even restarted the machine), but the error persists. Reverting to 3.1.24 makes the rerender pass again.

CC @conda-forge/conda-smithy

Edit: CC @conda-forge/core (@conda-forge/conda-smithy shows 0 members; is that transitive maintainership working correctly)?

last 2 versions (3.1.22 and 3.1.23) of gitpython don't support python 3.6

The latest builds of gitpython should have python >=3.7:
https://github.com/gitpython-developers/GitPython/blob/3.1.22/setup.py#L96
https://github.com/gitpython-developers/GitPython/blob/3.1.23/setup.py#L96

This is causing trouble because these versions are using features not available in python 3.6:

$ conda create -y -n test python=3.6 gitpython
$ conda activate test
$ python -c "import git"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/xylar/miniconda3/envs/test/lib/python3.6/site-packages/git/__init__.py", line 43, in <module>
    from git.objects import *               # @NoMove @IgnorePep8
  File "/home/xylar/miniconda3/envs/test/lib/python3.6/site-packages/git/objects/__init__.py", line 9, in <module>
    from .commit import *
  File "/home/xylar/miniconda3/envs/test/lib/python3.6/site-packages/git/objects/commit.py", line 15, in <module>
    from git.diff import Diffable
  File "/home/xylar/miniconda3/envs/test/lib/python3.6/site-packages/git/diff.py", line 8, in <module>
    from git.cmd import handle_process_output
  File "/home/xylar/miniconda3/envs/test/lib/python3.6/site-packages/git/cmd.py", line 6
    from __future__ import annotations
    ^
SyntaxError: future feature annotations is not defined

Tick version?

Hey-lo,

gitpython is up to 2.0.6. Can we get a version bump, please?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.