Coder Social home page Coder Social logo

Comments (10)

hartwork avatar hartwork commented on July 17, 2024 1

PS: I saw you deleted release 5.0.1 on PyPI now. Please note that you cannot (and should not) re-upload different content under the same version and that removing releases from PyPI can easily break user builds — reverse dependencies —, e.g. everyone who was quick to bump their pinning to hsluv==5.0.1 already using some automated bumping solution. I would totally understand if someone came here angry, just so you know.

from hsluv-python.

boronine avatar boronine commented on July 17, 2024 1

@hartwork hurray! https://pypi.org/project/hsluv/5.0.2/
@dvzrv this release should be package-able for you as well.

from hsluv-python.

boronine avatar boronine commented on July 17, 2024 1

Oh nice one-liner!

from hsluv-python.

boronine avatar boronine commented on July 17, 2024

Hi @hartwork, I saw that yesterday too. I am using this automation to publish: https://github.com/hsluv/hsluv/blob/master/default.nix#L332-L334

I just upgraded nixpkgs (and was forced to also upgrade Haxe), now testing!

from hsluv-python.

hartwork avatar hartwork commented on July 17, 2024

Hi @hartwork, I saw that yesterday too. I am using this automation to publish: https://github.com/hsluv/hsluv/blob/master/default.nix#L332-L334

Is that nixpkgs of branch master i.e. file https://github.com/raboof/nixpkgs/blob/master/pkgs/development/python-modules/setuptools/default.nix ? I know NixOS to be rather bleeding edge but setuptools 41.2.0 is ~18 months old — I have 53.0.0 here, for comparison. I wonder if that's the problem though 🤔

I just upgraded nixpkgs (and was forced to also upgrade Haxe), now testing!

You could upload to the testing instance of PyPI, if you wanted to. (I recommend against ever installing from it for security reasons though.)

from hsluv-python.

hartwork avatar hartwork commented on July 17, 2024

PPS: Any chance that python at https://github.com/hsluv/hsluv/blob/6b279ae16a29cdeebe4705c4a16e19fc2a6a8b7e/default.nix#L128 is actually Python 2.7? I'll shut up now, let me know what you find 😃

from hsluv-python.

boronine avatar boronine commented on July 17, 2024

@hartwork yep just learned the hard way that I cannot reupload. PyPI test worked using upgraded nixpkgs automation: https://test.pypi.org/project/hsluv/

PyPI test automated here: https://github.com/hsluv/hsluv/blob/master/default.nix#L336-L338

The python binary wasn't an issue but I updated it to python3 in master anyways.

Now going to publish v5.0.2 with fixed markdown

from hsluv-python.

hartwork avatar hartwork commented on July 17, 2024

@hartwork yep just learned the hard way that I cannot reupload. PyPI test worked using upgraded nixpkgs automation: https://test.pypi.org/project/hsluv/

Was it setuptools that needed updating?

PyPI test automated here: https://github.com/hsluv/hsluv/blob/master/default.nix#L336-L338

In see!

The python binary wasn't an issue but I updated it to python3 in master anyways.

Cool! 👍

Now going to publish v5.0.2 with fixed markdown

Looks great, thank you! 🎉

from hsluv-python.

boronine avatar boronine commented on July 17, 2024

Was it setuptools that needed updating?

I believe so but I didn't actually look into the specific versions. I just know that our nixpkgs was pinned about 2 years old: NixOS/nixpkgs@3ab38ef

from hsluv-python.

hartwork avatar hartwork commented on July 17, 2024

Was it setuptools that needed updating?

I believe so but I didn't actually look into the specific versions. I just know that our nixpkgs was pinned about 2 years old: NixOS/nixpkgs@3ab38ef

Then that's the answer:

# git show 3ab38ef086947822fbe2cffea071e1c508811990:pkgs/development/python-modules/setuptools/default.nix | fgrep "version ="
  version = "38.4.0";

38.4.0 is older than the >=38.6.0 we need.

from hsluv-python.

Related Issues (18)

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.