Skip to content

Conversation

bskinn
Copy link
Owner

@bskinn bskinn commented Nov 23, 2022

Resolves #264.

Whole bunch of stuff to make an sdist actually testable needs to be packaged.

@bskinn bskinn added type: enhancement ✨ Something to add type: maintenance 🔧 Something administrative needs upkeep labels Nov 23, 2022
@bskinn bskinn added this to the v2.3.1 milestone Nov 23, 2022
@codecov-commenter
Copy link

codecov-commenter commented Nov 23, 2022

Codecov Report

Merging #268 (a967ce3) into main (22adc4b) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main      #268   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           20        20           
  Lines          743       743           
=========================================
  Hits           743       743           
Impacted Files Coverage Δ
src/sphobjinv/version.py 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

(1) Adding to a temporary first stage for now, for faster testing.

Later to be moved to the aux tests at the end of the pipeline.

(2) Remove 'soi' dir & change to correct dir for steps

Helps to have cwd in the right place for things to, y'know, work.

(3) Escape those dollar signs

(4) Remove up-front docs build & req'ts install

For a build, it *should* be enough just to install 'build'?

(5) Unescape $s and turn 's to "s

Nope, wasn't the dollar signs.

Something weird in how the single quotes were interacting with
Pipelines's string handling, maybe?

(6) Add a debugging step

(7) Refine the regex for finding the sdist dir
Long enough that it's worth the extra real estate in the
repo root dir, I think.
Always packaging UNIX-style line-endings this way,
when creating an sdist.

Should be the fix for:

#264 (comment)
Fixtures needed explicit updating to account for the fact that
tests/resource/objects_attrs.txt is now checked out with Unix
newlines even on Windows.
Behavior change of str/Enum mixin means that I *have* to
include the explicit .value.

This will affect the pent codebase, too.
Again, to account for bugfix/behavior change in 3.11.
@bskinn bskinn merged commit 2776bec into main Nov 28, 2022
@bskinn bskinn deleted the update-manifest branch November 28, 2022 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement ✨ Something to add type: maintenance 🔧 Something administrative needs upkeep
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consider uploading source dist (aka. "sdist") to PyPI
2 participants