Giter Site home page Giter Site logo

Comments (11)

weakcamel avatar weakcamel commented on July 22, 2024

Hello,
I'm happy to provide a PR if need be; just checking though - I'm not sure how active this project is; is there a chance that it would be accepted / released?

from gitlabform.

gdubicki avatar gdubicki commented on July 22, 2024

Hi @weakcamel , sorry for a late reply! Sure that PR is welcome, I will merge it and release a new version within a day or two after it is created.

from gitlabform.

gdubicki avatar gdubicki commented on July 22, 2024

gitlabform does install on my MacOS High Sierra (10.13.6 (17G65)) without issues:

(test) gdubicki@mac ~ $ pip install gitlabform
Collecting gitlabform
  Using cached https://files.pythonhosted.org/packages/cf/bb/602df59fdd89213901196ad9220eb2fc28830ff5abed520780bf9da7cf06/gitlabform-1.0.0-py3-none-any.whl
Collecting pyyaml==3.12 (from gitlabform)
Collecting requests==2.18.4 (from gitlabform)
  Using cached https://files.pythonhosted.org/packages/49/df/50aa1999ab9bde74656c2919d9c0c085fd2b3775fd3eca826012bef76d8c/requests-2.18.4-py2.py3-none-any.whl
Collecting certifi>=2017.4.17 (from requests==2.18.4->gitlabform)
  Downloading https://files.pythonhosted.org/packages/df/f7/04fee6ac349e915b82171f8e23cee63644d83663b34c539f7a09aed18f9e/certifi-2018.8.24-py2.py3-none-any.whl (147kB)
    100% |████████████████████████████████| 153kB 2.8MB/s
Collecting urllib3<1.23,>=1.21.1 (from requests==2.18.4->gitlabform)
  Using cached https://files.pythonhosted.org/packages/63/cb/6965947c13a94236f6d4b8223e21beb4d576dc72e8130bd7880f600839b8/urllib3-1.22-py2.py3-none-any.whl
Collecting chardet<3.1.0,>=3.0.2 (from requests==2.18.4->gitlabform)
  Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Collecting idna<2.7,>=2.5 (from requests==2.18.4->gitlabform)
  Using cached https://files.pythonhosted.org/packages/27/cc/6dd9a3869f15c2edfab863b992838277279ce92663d334df9ecf5106f5c6/idna-2.6-py2.py3-none-any.whl
Installing collected packages: pyyaml, certifi, urllib3, chardet, idna, requests, gitlabform
Successfully installed certifi-2018.8.24 chardet-3.0.4 gitlabform-1.0.0 idna-2.6 pyyaml-3.12 requests-2.18.4 urllib3-1.22
(test) gdubicki@mac ~ $ python -V
Python 3.6.5
(test) gdubicki@mac ~ $ gitlabform -h
usage: gitlabform [-h] [-c CONFIG] [-v | -d] [--strict]
                  [--start-from START_FROM] [-n]
                  project_or_group

Easy configuration as code tool for GitLab using config in plain YAML.

(...)

..but if upgrade of pyyaml will help you and won't break anything then that PR is still very welcome.

from gitlabform.

gdubicki avatar gdubicki commented on July 22, 2024

Fixed in v1.0.1.

from gitlabform.

weakcamel avatar weakcamel commented on July 22, 2024

Oops, sorry - I lost this one out of my sight for a while.
Many thanks for the fix and I can confirm it's solving the problem!

A side quesion: while pinning the dependencies on specific versions improves stability of gitlabform, it also freezes them for the user forever.

It's not a big deal of course, one can alsways use virtualenv but it might be a bit of an issue for OS-installed or global pip packages.

What do you think about loosening it a bit and requiring minimum versions of the dependencies?

from gitlabform.

gdubicki avatar gdubicki commented on July 22, 2024

I could do that but this could cause me dealing with reports of bugs related to various, incompatible sets of dependencies installed on users machines.

I think that a better solution would be to provide a package with gitlabform for a few Linux distros, Mac and maybe Windows.

I'll create myself a ticket for that, but as usual help would be most welcome. Perhaps you could create a package for homebrew, @weakcamel ?

from gitlabform.

weakcamel avatar weakcamel commented on July 22, 2024

That's fair enough.

I'm sure a package for Linux would be welcome by many.

If you mean it as alternative for relaxing dependencies, I'm not sure I follow. If the same dependencies to specific versions are repeated in e.g. an RPM, wouldn't it lock users to those versions even further?

from gitlabform.

gdubicki avatar gdubicki commented on July 22, 2024

I am thinking about RPM that would use virtualenv to not use system wide Python packages.

from gitlabform.

weakcamel avatar weakcamel commented on July 22, 2024

Yes, that would work however at a cost of size and making packages per arch/platform, unless you mean to skip the binaries somehow.

Dunno :) Might help some people, personally I'm happy with the lightweight pip version.

from gitlabform.

gdubicki avatar gdubicki commented on July 22, 2024

I have just released v. 1.0.2 with requests version set to >=2.20.0 because of a security issue in <2.20.0 GitHub notified me about.

I hope that this will solve problems, not create new ones.

from gitlabform.

gsemet avatar gsemet commented on July 22, 2024

Hi. Always install in a virtualenv. You can use pipenv to manage it automatically. Work great

from gitlabform.

Related Issues (20)

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.