GithubHelp home page GithubHelp logo

Comments (13)

ib-lundgren avatar ib-lundgren commented on July 24, 2024

It would be nice to have docs in general but if available on readthedocs
that mustnโ€™t necessarily be in 0.4. I'd say making sure the libraries play
nicely together encoding wise in both 2-3. That might be the case but just
to confirm.

Unfortunately I won't have much time over the next week or two =(

On Thu, Apr 25, 2013 at 8:58 PM, Cory Benfield [email protected]:

The current 0.3.0 release is pretty old and we've fixed a few bugs, as
well as added a massive amount of functionality. I want to get this library
into a shape where we can pass it to Kenneth all he has to do is tag it and
go. @ib-lundgren https://github.com/ib-lundgren, @sigmavirus24https://github.com/sigmavirus24,
is there anything we need to do?

โ€”
Reply to this email directly or view it on GitHubhttps://github.com//issues/36
.

from requests-oauthlib.

michaelhelmick avatar michaelhelmick commented on July 24, 2024

Hiiiii, I just wanted to let you guys know that that pesky UnicodeDecodeError: 'ascii' codec can't decode byte 0x89 in position 259: ordinal not in range(128) is back with the latest pushes to master :(

I can confirm it works at this commit: 156543b

I pulled a clone and am resetting to every commit after that to see where it broke.

Edit

It indeed breaks after the next commit 925d9ae

Which I don't get because nothing in 925d9ae effected 156543b as far as I can see...

from requests-oauthlib.

koobs avatar koobs commented on July 24, 2024

I'm about to land a FreeBSD port for requests-oauthlib, the following helps us OS packagers/porters:

  • zip_safe=False in setup.py to avoid EGG_CACHE foo on installs or patching setup.py in our trees
  • Hook the unit tests into python setup.py test command

Also, setup.py says install_requires oauthlib, but requirements.txt also mentions request, which is the canonical reference?

from requests-oauthlib.

Lukasa avatar Lukasa commented on July 24, 2024

@michaelhelmick: Thanks for pointing that out, I'll take another look at it this evening.
@koobs: I'm pretty sure we could actually install the library without either. It won't do anything without both requests and oauthlib, though. I'll take a look at the setup.py changes too.

from requests-oauthlib.

koobs avatar koobs commented on July 24, 2024

I've always taken install_requires to mean 'required to function', but my note above was more about having a canonical (single) place for clarity. Thanks for taking a look :)

from requests-oauthlib.

ib-lundgren avatar ib-lundgren commented on July 24, 2024

I don't see any harm in having both requests & oauthlib in both
requirments.txt and setup.py.

On Tue, Apr 30, 2013 at 1:40 PM, koobs [email protected] wrote:

I've always taken install_requires to mean 'required to function', but my
note above was more about having a canonical (single) place for clarity

โ€”
Reply to this email directly or view it on GitHubhttps://github.com//issues/36#issuecomment-17222257
.

from requests-oauthlib.

Lukasa avatar Lukasa commented on July 24, 2024

@michaelhelmick: I've got a fix over in #37, do you want to give it a test? I'm sorry we managed to break this again. =( Can't be helping you downstream.

from requests-oauthlib.

michaelhelmick avatar michaelhelmick commented on July 24, 2024

@Lukasa I'll test it in a few, thanks for your work on fixing the issue!

from requests-oauthlib.

koobs avatar koobs commented on July 24, 2024

Diff against 0.3.1 to hook in unit tests and requirements & zip_safe=False to assist us OS packagers/porters:

--- ./setup.py.orig     2013-05-04 16:37:49.000000000 +1000
+++ ./setup.py  2013-05-04 17:04:12.135652732 +1000
@@ -43,6 +43,9 @@
         'Programming Language :: Python :: 2.6',
         'Programming Language :: Python :: 2.7',
     ),
+    zip_safe=False,
+    tests_require = ['mock'],
+    test_suite="tests",
 )

from requests-oauthlib.

Lukasa avatar Lukasa commented on July 24, 2024

@koobs: Is this still something you want?

from requests-oauthlib.

koobs avatar koobs commented on July 24, 2024

@Lukasa Absolutely, as long as it makes sense to you as well

from requests-oauthlib.

Lukasa avatar Lukasa commented on July 24, 2024

@koobs: Ok, I've done that. I'm closing this issue now because it's totally out of date. =P

from requests-oauthlib.

koobs avatar koobs commented on July 24, 2024

<3 thanks!

from requests-oauthlib.

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.