Coder Social home page Coder Social logo

Comments (10)

bretterer avatar bretterer commented on July 3, 2024

Thanks for the report! Were investigating now

from okta-sdk-python.

bretterer avatar bretterer commented on July 3, 2024

@estein9825, We have updated the package to version 1.0.1

Could you please try to re-install okta through pip and try again?

from okta-sdk-python.

estein9825 avatar estein9825 commented on July 3, 2024

Same issue
pipenv install okta==1.0.1

āœ˜ Locking Failed! 
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/pipenv/resolver.py", line 807, in <module>
    main()
  File "/usr/local/lib/python3.8/site-packages/pipenv/resolver.py", line 802, in main
    _main(parsed.pre, parsed.clear, parsed.verbose, parsed.system, parsed.write,
  File "/usr/local/lib/python3.8/site-packages/pipenv/resolver.py", line 785, in _main
    resolve_packages(pre, clear, verbose, system, write, requirements_dir, packages)
  File "/usr/local/lib/python3.8/site-packages/pipenv/resolver.py", line 746, in resolve_packages
    results, resolver = resolve(
  File "/usr/local/lib/python3.8/site-packages/pipenv/resolver.py", line 728, in resolve
    return resolve_deps(
  File "/usr/local/lib/python3.8/site-packages/pipenv/utils.py", line 1378, in resolve_deps
    results, hashes, markers_lookup, resolver, skipped = actually_resolve_deps(
  File "/usr/local/lib/python3.8/site-packages/pipenv/utils.py", line 1095, in actually_resolve_deps
    resolver.resolve_constraints()
  File "/usr/local/lib/python3.8/site-packages/pipenv/utils.py", line 847, in resolve_constraints
    marker = marker_from_specifier(candidate.requires_python)
  File "/usr/local/lib/python3.8/site-packages/pipenv/vendor/requirementslib/models/markers.py", line 719, in marker_from_specifier
    for marker_segment in cleanup_pyspecs(spec):
  File "/usr/local/lib/python3.8/site-packages/pipenv/vendor/requirementslib/models/markers.py", line 288, in cleanup_pyspecs
    for op_and_version_type, versions in _group_by_op(tuple(specs)):
  File "/usr/local/lib/python3.8/site-packages/pipenv/vendor/requirementslib/models/markers.py", line 203, in _group_by_op
    specs = [_get_specs(x) for x in list(specs)]
  File "/usr/local/lib/python3.8/site-packages/pipenv/vendor/requirementslib/models/markers.py", line 203, in <listcomp>
    specs = [_get_specs(x) for x in list(specs)]
  File "/usr/local/lib/python3.8/site-packages/pipenv/vendor/requirementslib/models/markers.py", line 187, in _get_specs
    for spec in set(specset):
TypeError: 'LegacySpecifier' object is not iterable

Incidentally, I looked at that commit and all it seemed to do was increment the version number and add info to the CHANGELOG. I don't see a related fix though.

from okta-sdk-python.

gabrielsroka avatar gabrielsroka commented on July 3, 2024

@estein9825 i had to

pip uninstall okta
pip install okta

but then it worked for me. (note, i'm not using pipenv, just pip)

from okta-sdk-python.

bretterer avatar bretterer commented on July 3, 2024

Glad that worked.

So, are you not using pipenv anymore? The initial issue was pipenv wouldn't install okta. Is that still an issue?

Edit: Sorry @estein9825. My eyes made it seem that you said that was resolved, didn't realize that comment wasn't from you. If you do a full uninstall from pipenv and reinstall, does that help you?

from okta-sdk-python.

estein9825 avatar estein9825 commented on July 3, 2024

@bretterer yeah no idea about that other person. But to answer your question a pipenv uninstall/reinstall did not help. Have you tried with pipenv? Iā€™m using 2020.8.13

from okta-sdk-python.

bretterer avatar bretterer commented on July 3, 2024

@estein9825 I think we may have found the bug here. Our setup.py file had python_requires=">=3.6'", which contains a rogue '. I am working on getting a fix published as 1.0.2 and will update here when it is released

from okta-sdk-python.

bretterer avatar bretterer commented on July 3, 2024

@estein9825 we just released version 1.0.2 of the SDK which should fix the bug for pipenv installs... could you please try to see if its resolved for you now?

from okta-sdk-python.

estein9825 avatar estein9825 commented on July 3, 2024

@bretterer install was successful this time.

from okta-sdk-python.

bretterer avatar bretterer commented on July 3, 2024

Awesome to hear @estein9825. Sorry for the troubles here.

If there are any other issues, please let us know!

from okta-sdk-python.

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.