3rd-party-integrations / github-team-sync

Sync GitHub teams to groups in Active Directory, LDAP, Okta, OneLogin or AzureAD when using any authentication method for GitHub.
MIT License
201 stars 67 forks source link

Dependencies fail to install when `allow_prereleases = true` #161

Closed primetheus closed 1 year ago

primetheus commented 1 year ago

In earlier releases, some of the dependencies required were pre-releases. This setting is no longer necessary, and causes the install to fail.

 => ERROR [7/7] RUN pipenv install                                                                                                                                                                              31.2s
------
 > [7/7] RUN pipenv install:
#11 1.022 Creating a virtualenv for this project...
#11 1.022 Pipfile: /opt/github-team-sync/Pipfile
#11 1.039 Using /usr/local/bin/python3.9 (3.9.16) to create virtualenv...
#11 2.215 created virtual environment CPython3.9.16.final.0-64 in 954ms
#11 2.215   creator CPython3Posix(dest=/root/.local/share/virtualenvs/github-team-sync-2hTjop5Y, clear=False, no_vcs_ignore=False, global=False)
#11 2.215   seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/root/.local/share/virtualenv)
#11 2.215     added seed packages: pip==23.0.1, setuptools==67.4.0, wheel==0.38.4
#11 2.215   activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
#11 2.215
#11 2.219 ✔ Successfully created virtual environment!
#11 2.261 Virtualenv location: /root/.local/share/virtualenvs/github-team-sync-2hTjop5Y
#11 2.326 Installing dependencies from Pipfile.lock (fbde65)...
#11 23.72 An error occurred while installing aenum==3.1.11 --
...
...
'sha256:da65c3f263729e47351261351b8679c6429151ef9649bba08ef2528ff2c423b2'}), extras=(), abstract_dep=None, _line_instance=<Line (editable=False, name=yarl, path=None, uri=None, extras=(), markers=python_version >= '3.7', vcs=None, specifier===1.8.2, pyproject=None, pyproject_requires=None, pyproject_backend=None, ireq=yarl==1.8.2)>, _ireq=None), Requirement(_name='zipp', vcs=None, req=NamedRequirement(name='zipp', version='==3.14.0', req=Requirement.parse('zipp==3.14.0; python_version >= "3.7"'), extras=[], editable=False, _parsed_line=<Line (editable=False, name=zipp, path=None, uri=None, extras=(), markers=python_version >= '3.7', vcs=None, specifier===3.14.0, pyproject=None, pyproject_requires=None, pyproject_backend=None, ireq=zipp==3.14.0)>), markers='python_version >= "3.7"', _specifiers='==3.14.0', index=None, editable=False, hashes=frozenset({'sha256:9e5421e176ef5ab4c0ad896624e87a7b2f07aca746c9b2aa305952800cb8eecb', 'sha256:188834565033387710d046e3fe96acfc9b5e86cbca7f39ff69cf21a4128198b7'}), extras=(), abstract_dep=None, _line_instance=<Line (editable=False, name=zipp, path=None, uri=None, extras=(), markers=python_version >= '3.7', vcs=None, specifier===3.14.0, pyproject=None, pyproject_requires=None, pyproject_backend=None, ireq=zipp==3.14.0)>, _ireq=None)]
------
executor failed running [/bin/sh -c pipenv install]: exit code: 1